From: Marek Vasut <marek.vasut@gmail.com> To: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Marek Vasut <marek.vasut+renesas@gmail.com>, Geert Uytterhoeven <geert+renesas@glider.be>, Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>, Simon Horman <horms+renesas@verge.net.au>, Wolfram Sang <wsa+renesas@sang-engineering.com> Subject: [PATCH 2/2] ARM: shmobile: porter: enable R-Car Gen2 regulator quirk Date: Sat, 17 Feb 2018 03:06:42 +0100 [thread overview] Message-ID: <20180217020642.21375-2-marek.vasut+renesas@gmail.com> (raw) In-Reply-To: <20180217020642.21375-1-marek.vasut+renesas@gmail.com> Porter needs the regulator quirk, just like the other boards, the DA9063 and DA9210 IRQ line is connected to CPU IRQ2 . But unlike the other boards, the DA9063 is at 0x5a on Porter. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Cc: Simon Horman <horms+renesas@verge.net.au> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com> --- arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c index 862f7757ef5d..7963f0eea9e1 100644 --- a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c +++ b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c @@ -132,11 +132,16 @@ static int __init rcar_gen2_regulator_quirk(void) u32 mon; if (!of_machine_is_compatible("renesas,koelsch") && + !of_machine_is_compatible("renesas,porter") && !of_machine_is_compatible("renesas,lager") && !of_machine_is_compatible("renesas,stout") && !of_machine_is_compatible("renesas,gose")) return -ENODEV; + /* DA9063 on M2W Porter is at 0x5a */ + if (of_machine_is_compatible("renesas,porter")) + da9xxx_msgs[0].addr = 0x5a; + irqc = ioremap(IRQC_BASE, PAGE_SIZE); if (!irqc) return -ENOMEM; -- 2.15.1
WARNING: multiple messages have this Message-ID (diff)
From: marek.vasut@gmail.com (Marek Vasut) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: shmobile: porter: enable R-Car Gen2 regulator quirk Date: Sat, 17 Feb 2018 03:06:42 +0100 [thread overview] Message-ID: <20180217020642.21375-2-marek.vasut+renesas@gmail.com> (raw) In-Reply-To: <20180217020642.21375-1-marek.vasut+renesas@gmail.com> Porter needs the regulator quirk, just like the other boards, the DA9063 and DA9210 IRQ line is connected to CPU IRQ2 . But unlike the other boards, the DA9063 is at 0x5a on Porter. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Cc: Simon Horman <horms+renesas@verge.net.au> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com> --- arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c index 862f7757ef5d..7963f0eea9e1 100644 --- a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c +++ b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c @@ -132,11 +132,16 @@ static int __init rcar_gen2_regulator_quirk(void) u32 mon; if (!of_machine_is_compatible("renesas,koelsch") && + !of_machine_is_compatible("renesas,porter") && !of_machine_is_compatible("renesas,lager") && !of_machine_is_compatible("renesas,stout") && !of_machine_is_compatible("renesas,gose")) return -ENODEV; + /* DA9063 on M2W Porter is at 0x5a */ + if (of_machine_is_compatible("renesas,porter")) + da9xxx_msgs[0].addr = 0x5a; + irqc = ioremap(IRQC_BASE, PAGE_SIZE); if (!irqc) return -ENOMEM; -- 2.15.1
next prev parent reply other threads:[~2018-02-17 2:06 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-02-17 2:06 [PATCH 1/2] ARM: shmobile: Factor out complex condition Marek Vasut 2018-02-17 2:06 ` Marek Vasut 2018-02-17 2:06 ` Marek Vasut [this message] 2018-02-17 2:06 ` [PATCH 2/2] ARM: shmobile: porter: enable R-Car Gen2 regulator quirk Marek Vasut 2018-02-19 8:42 ` Geert Uytterhoeven 2018-02-19 8:42 ` Geert Uytterhoeven 2018-02-19 8:51 ` Marek Vasut 2018-02-19 8:51 ` Marek Vasut 2018-02-17 8:18 ` [PATCH 1/2] ARM: shmobile: Factor out complex condition Wolfram Sang 2018-02-17 8:18 ` Wolfram Sang 2018-02-17 11:46 ` Marek Vasut 2018-02-17 11:46 ` Marek Vasut 2018-02-19 8:53 ` Geert Uytterhoeven 2018-02-19 8:53 ` Geert Uytterhoeven 2018-02-19 8:58 ` Simon Horman 2018-02-19 8:58 ` Simon Horman 2018-02-21 19:59 ` Marek Vasut 2018-02-21 19:59 ` Marek Vasut
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180217020642.21375-2-marek.vasut+renesas@gmail.com \ --to=marek.vasut@gmail.com \ --cc=geert+renesas@glider.be \ --cc=horms+renesas@verge.net.au \ --cc=kuninori.morimoto.gx@renesas.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-renesas-soc@vger.kernel.org \ --cc=marek.vasut+renesas@gmail.com \ --cc=wsa+renesas@sang-engineering.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.