[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFp+6iFcMGTBQDcdK0cbcu0s9a3022nogaUvbPA2ZsCN80hRSA@mail.gmail.com>
Date: Fri, 28 Nov 2014 09:05:36 +0530
From: Vivek Gautam <gautamvivek1987@...il.com>
To: Alim Akhtar <alim.akhtar@...il.com>,
Linus Walleij <linus.walleij@...aro.org>
Cc: Vivek Gautam <gautam.vivek@...sung.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-samsung-soc@...r.kernel.org"
<linux-samsung-soc@...r.kernel.org>,
linux-usb <linux-usb@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Tomasz Figa <tomasz.figa@...il.com>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
"robh+dt" <robh+dt@...nel.org>, kgene <kgene@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>
Subject: Re: [PATCH V2 1/2] pinctrl: exynos: Add BUS1 pin controller for exynos7
Hi Alim,
On Wed, Nov 26, 2014 at 7:03 PM, Alim Akhtar <alim.akhtar@...il.com> wrote:
> Hi Vivek,
>
> On Mon, Nov 24, 2014 at 6:32 PM, Vivek Gautam <gautam.vivek@...sung.com> wrote:
>> USB and Power regulator on Exynos7 require gpios available
>> in BUS1 pin controller block.
>> So adding the BUS1 pinctrl support.
>>
>> Signed-off-by: Naveen Krishna Ch <naveenkrishna.ch@...il.com>
>> Signed-off-by: Vivek Gautam <gautam.vivek@...sung.com>
>> Cc: Linus Walleij <linus.walleij@...aro.org>
>> ---
> Looks good to me.
> Thanks!
>
> Reviewed-by: Alim Akhtar <alim.akhtar@...sung.com>
Thanks for the review.
>
>>
>> This patch was part of series:
>> "[PATCH 00/11] Exynos7: Adding USB 3.0 support"
>> https://lkml.org/lkml/2014/11/21/247
>>
>> Changes since V1:
>> - Added support for all pin banks which are part of BUS1 pin controller.
>>
>> drivers/pinctrl/samsung/pinctrl-exynos.c | 19 +++++++++++++++++++
>> 1 file changed, 19 insertions(+)
>>
>> diff --git a/drivers/pinctrl/samsung/pinctrl-exynos.c b/drivers/pinctrl/samsung/pinctrl-exynos.c
>> index d5d4cfc..44e60dc 100644
>> --- a/drivers/pinctrl/samsung/pinctrl-exynos.c
>> +++ b/drivers/pinctrl/samsung/pinctrl-exynos.c
>> @@ -1300,6 +1300,20 @@ static const struct samsung_pin_bank_data exynos7_pin_banks7[] __initconst = {
>> EXYNOS_PIN_BANK_EINTG(8, 0x060, "gpr3", 0x0c),
>> };
>>
>> +/* pin banks of exynos7 pin-controller - BUS1 */
>> +static const struct samsung_pin_bank_data exynos7_pin_banks8[] __initconst = {
>> + EXYNOS_PIN_BANK_EINTG(8, 0x020, "gpf0", 0x00),
>> + EXYNOS_PIN_BANK_EINTG(8, 0x040, "gpf1", 0x04),
>> + EXYNOS_PIN_BANK_EINTG(4, 0x060, "gpf2", 0x08),
>> + EXYNOS_PIN_BANK_EINTG(5, 0x080, "gpf3", 0x0c),
>> + EXYNOS_PIN_BANK_EINTG(8, 0x0a0, "gpf4", 0x10),
>> + EXYNOS_PIN_BANK_EINTG(8, 0x0c0, "gpf5", 0x14),
>> + EXYNOS_PIN_BANK_EINTG(5, 0x0e0, "gpg1", 0x18),
>> + EXYNOS_PIN_BANK_EINTG(5, 0x100, "gpg2", 0x1c),
>> + EXYNOS_PIN_BANK_EINTG(6, 0x120, "gph1", 0x20),
>> + EXYNOS_PIN_BANK_EINTG(3, 0x140, "gpv6", 0x24),
>> +};
>> +
>> const struct samsung_pin_ctrl exynos7_pin_ctrl[] __initconst = {
>> {
>> /* pin-controller instance 0 Alive data */
>> @@ -1342,5 +1356,10 @@ const struct samsung_pin_ctrl exynos7_pin_ctrl[] __initconst = {
>> .pin_banks = exynos7_pin_banks7,
>> .nr_banks = ARRAY_SIZE(exynos7_pin_banks7),
>> .eint_gpio_init = exynos_eint_gpio_init,
>> + }, {
>> + /* pin-controller instance 8 BUS1 data */
>> + .pin_banks = exynos7_pin_banks8,
>> + .nr_banks = ARRAY_SIZE(exynos7_pin_banks8),
>> + .eint_gpio_init = exynos_eint_gpio_init,
>> },
>> };
>> --
>> 1.7.10.4
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
>> the body of a message to majordomo@...r.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
> --
> Regards,
> Alim
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best Regards
Vivek Gautam
Samsung R&D Institute, Bangalore
India
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists