* gpio-syscon for Keystone 2 - DT bindings mismatch code expectation?
@ 2015-03-23 21:55 ` Russell King - ARM Linux
0 siblings, 0 replies; 6+ messages in thread
From: Russell King - ARM Linux @ 2015-03-23 21:55 UTC (permalink / raw)
To: Linus Walleij, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, Grygorii Strashko
Linus, Grygorii,
I'm trying to understand what's happening to make Keystone2 print
this at boot:
gpio-syscon soc:keystone_dsp_gpio@02620240: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio@2620244: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio@2620248: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio@262024c: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio@2620250: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio@2620254: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio@2620258: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio@262025c: can't read the dir register offset!
>From what I can see in DT, these are defined as:
dspgpio0: keystone_dsp_gpio@02620240 {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x240>;
};
However, the patch set which introduced the code included:
commit 5a3e3f88b0a10f8b5baf224ebda5916195fb8745
Author: Grygorii Strashko <grygorii.strashko-l0cyMroinI0@public.gmane.org>
Date: Wed Sep 3 20:05:33 2014 +0300
gpio: syscon: retrive syscon node and regs offsets from dt
which wants gpio,syscon-dev to contain a phandle and two offsets, not
a single offset. Moreover, the following patch:
commit 2134cb997f2f1b2d960ad8705d67dc8d690ba59c
Author: Grygorii Strashko <grygorii.strashko-l0cyMroinI0@public.gmane.org>
Date: Wed Sep 3 20:05:34 2014 +0300
gpio: syscon: reuse for keystone 2 socs
added documentation which indicates that for keystone 2, only one
offset is necessary in gpio,syscon-dev, yet there is no "compatible"
string to stop the code requiring two offsets.
This looks like a complete trainwreck. What's going on here?
Please can this get fixed... Thanks.
--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* gpio-syscon for Keystone 2 - DT bindings mismatch code expectation?
@ 2015-03-23 21:55 ` Russell King - ARM Linux
0 siblings, 0 replies; 6+ messages in thread
From: Russell King - ARM Linux @ 2015-03-23 21:55 UTC (permalink / raw)
To: linux-arm-kernel
Linus, Grygorii,
I'm trying to understand what's happening to make Keystone2 print
this at boot:
gpio-syscon soc:keystone_dsp_gpio at 02620240: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio at 2620244: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio at 2620248: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio at 262024c: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio at 2620250: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio at 2620254: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio at 2620258: can't read the dir register offset!
gpio-syscon soc:keystone_dsp_gpio at 262025c: can't read the dir register offset!
>From what I can see in DT, these are defined as:
dspgpio0: keystone_dsp_gpio at 02620240 {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x240>;
};
However, the patch set which introduced the code included:
commit 5a3e3f88b0a10f8b5baf224ebda5916195fb8745
Author: Grygorii Strashko <grygorii.strashko@ti.com>
Date: Wed Sep 3 20:05:33 2014 +0300
gpio: syscon: retrive syscon node and regs offsets from dt
which wants gpio,syscon-dev to contain a phandle and two offsets, not
a single offset. Moreover, the following patch:
commit 2134cb997f2f1b2d960ad8705d67dc8d690ba59c
Author: Grygorii Strashko <grygorii.strashko@ti.com>
Date: Wed Sep 3 20:05:34 2014 +0300
gpio: syscon: reuse for keystone 2 socs
added documentation which indicates that for keystone 2, only one
offset is necessary in gpio,syscon-dev, yet there is no "compatible"
string to stop the code requiring two offsets.
This looks like a complete trainwreck. What's going on here?
Please can this get fixed... Thanks.
--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gpio-syscon for Keystone 2 - DT bindings mismatch code expectation?
2015-03-23 21:55 ` Russell King - ARM Linux
@ 2015-03-27 10:12 ` Linus Walleij
-1 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2015-03-27 10:12 UTC (permalink / raw)
To: Russell King - ARM Linux, Grygorii Strashko
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
On Mon, Mar 23, 2015 at 10:55 PM, Russell King - ARM Linux
<linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org> wrote:
> Linus, Grygorii,
>
> I'm trying to understand what's happening to make Keystone2 print
> this at boot:
>
> gpio-syscon soc:keystone_dsp_gpio@02620240: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio@2620244: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio@2620248: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio@262024c: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio@2620250: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio@2620254: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio@2620258: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio@262025c: can't read the dir register offset!
Grygorii are you looking into this?
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* gpio-syscon for Keystone 2 - DT bindings mismatch code expectation?
@ 2015-03-27 10:12 ` Linus Walleij
0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2015-03-27 10:12 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Mar 23, 2015 at 10:55 PM, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:
> Linus, Grygorii,
>
> I'm trying to understand what's happening to make Keystone2 print
> this at boot:
>
> gpio-syscon soc:keystone_dsp_gpio at 02620240: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio at 2620244: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio at 2620248: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio at 262024c: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio at 2620250: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio at 2620254: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio at 2620258: can't read the dir register offset!
> gpio-syscon soc:keystone_dsp_gpio at 262025c: can't read the dir register offset!
Grygorii are you looking into this?
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gpio-syscon for Keystone 2 - DT bindings mismatch code expectation?
2015-03-27 10:12 ` Linus Walleij
@ 2015-03-27 10:21 ` Grygorii Strashko
-1 siblings, 0 replies; 6+ messages in thread
From: Grygorii Strashko @ 2015-03-27 10:21 UTC (permalink / raw)
To: Linus Walleij, Russell King - ARM Linux
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
On 03/27/2015 12:12 PM, Linus Walleij wrote:
> On Mon, Mar 23, 2015 at 10:55 PM, Russell King - ARM Linux
> <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org> wrote:
>
>> Linus, Grygorii,
>>
>> I'm trying to understand what's happening to make Keystone2 print
>> this at boot:
>>
>> gpio-syscon soc:keystone_dsp_gpio@02620240: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio@2620244: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio@2620248: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio@262024c: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio@2620250: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio@2620254: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio@2620258: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio@262025c: can't read the dir register offset!
>
> Grygorii are you looking into this?
Yes. Seems you've found the patch already )
https://lkml.org/lkml/2015/3/24/908
regards,
-grygorii
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* gpio-syscon for Keystone 2 - DT bindings mismatch code expectation?
@ 2015-03-27 10:21 ` Grygorii Strashko
0 siblings, 0 replies; 6+ messages in thread
From: Grygorii Strashko @ 2015-03-27 10:21 UTC (permalink / raw)
To: linux-arm-kernel
On 03/27/2015 12:12 PM, Linus Walleij wrote:
> On Mon, Mar 23, 2015 at 10:55 PM, Russell King - ARM Linux
> <linux@arm.linux.org.uk> wrote:
>
>> Linus, Grygorii,
>>
>> I'm trying to understand what's happening to make Keystone2 print
>> this at boot:
>>
>> gpio-syscon soc:keystone_dsp_gpio at 02620240: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio at 2620244: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio at 2620248: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio at 262024c: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio at 2620250: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio at 2620254: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio at 2620258: can't read the dir register offset!
>> gpio-syscon soc:keystone_dsp_gpio at 262025c: can't read the dir register offset!
>
> Grygorii are you looking into this?
Yes. Seems you've found the patch already )
https://lkml.org/lkml/2015/3/24/908
regards,
-grygorii
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-03-27 10:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-23 21:55 gpio-syscon for Keystone 2 - DT bindings mismatch code expectation? Russell King - ARM Linux
2015-03-23 21:55 ` Russell King - ARM Linux
[not found] ` <20150323215545.GT8656-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2015-03-27 10:12 ` Linus Walleij
2015-03-27 10:12 ` Linus Walleij
[not found] ` <CACRpkdYVkdLEEae8JHSsBEtMyhMx0yqN8RLhP2reoV+r5gA+JA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-27 10:21 ` Grygorii Strashko
2015-03-27 10:21 ` Grygorii Strashko
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.