Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373849
b: refs/heads/master
c: f365bfc
h: refs/heads/master
i:
  373847: e5667a0
v: v3
  • Loading branch information
Magnus Damm authored and Simon Horman committed Apr 3, 2013
1 parent 797647f commit 342badb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c98f6c21afaf4692886cea0f5b63ead9945d85cc
refs/heads/master: f365bfcc8723e41b9110c5e7eb292a39b26ad8ba
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-shmobile/include/mach/r8a73a4.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ enum {
GPIO_PORT325, GPIO_PORT326, GPIO_PORT327, GPIO_PORT328, GPIO_PORT329,

/* Port0 */
GPIO_FN_LCDD0,
GPIO_FN_LCDD0 = 330,
GPIO_FN_PDM2_CLK_0,
GPIO_FN_DU0_DR0,
GPIO_FN_IRQ0,
Expand Down
16 changes: 16 additions & 0 deletions trunk/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c
Original file line number Diff line number Diff line change
Expand Up @@ -1424,6 +1424,20 @@ static struct sh_pfc_pin pinmux_pins[] = {
GPIO_PORT_ALL(),
};

static const struct pinmux_range pinmux_ranges[] = {
{.begin = 0, .end = 30,},
{.begin = 32, .end = 40,},
{.begin = 64, .end = 85,},
{.begin = 96, .end = 126,},
{.begin = 128, .end = 134,},
{.begin = 160, .end = 178,},
{.begin = 192, .end = 222,},
{.begin = 224, .end = 250,},
{.begin = 256, .end = 283,},
{.begin = 288, .end = 308,},
{.begin = 320, .end = 329,},
};

#define PINMUX_FN_BASE ARRAY_SIZE(pinmux_pins)

static const struct pinmux_func pinmux_func_gpios[] = {
Expand Down Expand Up @@ -2815,6 +2829,8 @@ const struct sh_pfc_soc_info r8a73a4_pinmux_info = {

.pins = pinmux_pins,
.nr_pins = ARRAY_SIZE(pinmux_pins),
.ranges = pinmux_ranges,
.nr_ranges = ARRAY_SIZE(pinmux_ranges),
.func_gpios = pinmux_func_gpios,
.nr_func_gpios = ARRAY_SIZE(pinmux_func_gpios),

Expand Down

0 comments on commit 342badb

Please sign in to comment.