pinctrl: k210: Rename power domains to match datasheet
This renames power domains to match the names on the k210 datasheet. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reported-by: Damien Le Moal <Damien.LeMoal@wdc.com> Reviewed-by: Rick Chen <rick@andestech.com>
This commit is contained in:
parent
82b838f8dd
commit
6e35c1cb12
|
|
@ -18,7 +18,7 @@ Pin configuration nodes are documented in pinctrl-bindings.txt
|
||||||
Required properties for pin-configuration nodes or sub-nodes are:
|
Required properties for pin-configuration nodes or sub-nodes are:
|
||||||
- groups: list of power groups to which the configuration applies. Valid groups
|
- groups: list of power groups to which the configuration applies. Valid groups
|
||||||
are:
|
are:
|
||||||
A0, A1, A2, B0, B1, B2, C0, C1
|
A0, A1, A2, B3, B4, B5, C6, C7
|
||||||
(either this or "pinmux" must be specified)
|
(either this or "pinmux" must be specified)
|
||||||
- pinmux: integer array representing pin multiplexing configuration. In addition
|
- pinmux: integer array representing pin multiplexing configuration. In addition
|
||||||
to the 256 standard functions, each pin can also output the direction
|
to the 256 standard functions, each pin can also output the direction
|
||||||
|
|
|
||||||
|
|
@ -153,11 +153,11 @@ static const char k210_pc_group_names[][3] = {
|
||||||
[0] = "A0",
|
[0] = "A0",
|
||||||
[1] = "A1",
|
[1] = "A1",
|
||||||
[2] = "A2",
|
[2] = "A2",
|
||||||
[3] = "B0",
|
[3] = "B3",
|
||||||
[4] = "B1",
|
[4] = "B4",
|
||||||
[5] = "B2",
|
[5] = "B5",
|
||||||
[6] = "C0",
|
[6] = "C6",
|
||||||
[7] = "C1",
|
[7] = "C7",
|
||||||
};
|
};
|
||||||
|
|
||||||
static int k210_pc_get_groups_count(struct udevice *dev)
|
static int k210_pc_get_groups_count(struct udevice *dev)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue