Skip to content

Commit 919c1d4

Browse files
committed
Merge tag 'renesas-arm-soc-for-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into arm/fixes
Renesas ARM Based SoC Updates for v5.1 * Correct shared IRQ handling of R-Car Gen2 Regulator quirk * Add missing dts files to MAINTAINERS * tag 'renesas-arm-soc-for-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: ARM: shmobile: Fix R-Car Gen2 regulator quirk ARM: shmobile: Add missing dts files to MAINTAINERS Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents e61c920 + 5347a02 commit 919c1d4

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

MAINTAINERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2102,6 +2102,8 @@ Q: http://patchwork.kernel.org/project/linux-renesas-soc/list/
21022102
T: git git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git next
21032103
S: Supported
21042104
F: arch/arm/boot/dts/emev2*
2105+
F: arch/arm/boot/dts/gr-peach*
2106+
F: arch/arm/boot/dts/iwg20d-q7*
21052107
F: arch/arm/boot/dts/r7s*
21062108
F: arch/arm/boot/dts/r8a*
21072109
F: arch/arm/boot/dts/r9a*

arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
struct regulator_quirk {
4141
struct list_head list;
4242
const struct of_device_id *id;
43+
struct device_node *np;
4344
struct of_phandle_args irq_args;
4445
struct i2c_msg i2c_msg;
4546
bool shared; /* IRQ line is shared */
@@ -101,6 +102,9 @@ static int regulator_quirk_notify(struct notifier_block *nb,
101102
if (!pos->shared)
102103
continue;
103104

105+
if (pos->np->parent != client->dev.parent->of_node)
106+
continue;
107+
104108
dev_info(&client->dev, "clearing %s@0x%02x interrupts\n",
105109
pos->id->compatible, pos->i2c_msg.addr);
106110

@@ -165,6 +169,7 @@ static int __init rcar_gen2_regulator_quirk(void)
165169
memcpy(&quirk->i2c_msg, id->data, sizeof(quirk->i2c_msg));
166170

167171
quirk->id = id;
172+
quirk->np = np;
168173
quirk->i2c_msg.addr = addr;
169174

170175
ret = of_irq_parse_one(np, 0, argsa);

0 commit comments

Comments
 (0)