* [version 2] amba uarts - arm type uarts fifo size provided by device tree [not found] <amba uarts - arm type uarts fifo size provided by device tree> @ 2015-02-18 20:07 ` Jorge Ramirez-Ortiz [not found] ` <1424290069-8760-1-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Jorge Ramirez-Ortiz @ 2015-02-18 20:07 UTC (permalink / raw) To: jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-lFZ/pmaqli7XmaaqVzeoHQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r [PATCH 1/2] Documentation: bindings: add optional fifo size property [PATCH 2/2] drivers/tty: pl011: read fifo size from OF if present [updated] These patches aim at resolving an issue present on some of the amba pl011 uarts. They were developed for the Hisilicon Hi6220 SoC where the fifo size on the uarts is 64 despite the amba revision having been set to 1. This makes the current way of detecting the fifo size based on the value of the amba_rev non usable. A mechanism for those uarts to retrieve the fifo sizes using the optional property "fifo-size" in the device tree declared in PATCH1/2 is implemented under PATCH2/2. This device tree setting shall take precedence over any other calculated values. -- 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] 11+ messages in thread
[parent not found: <1424290069-8760-1-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>]
* [PATCH 1/2] Documentation: bindings: add optional fifo size property to AMBA UARTs [not found] ` <1424290069-8760-1-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> @ 2015-02-18 20:07 ` Jorge Ramirez-Ortiz [not found] ` <1424290069-8760-2-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2015-02-18 20:07 ` [PATCH 2/2] drivers/tty: pl011: read fifo size from OF if present Jorge Ramirez-Ortiz 2015-03-03 16:55 ` [version 2] amba uarts - arm type uarts fifo size provided by device tree Mark Rutland 2 siblings, 1 reply; 11+ messages in thread From: Jorge Ramirez-Ortiz @ 2015-02-18 20:07 UTC (permalink / raw) To: jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-lFZ/pmaqli7XmaaqVzeoHQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> --- Documentation/devicetree/bindings/serial/pl011.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/serial/pl011.txt b/Documentation/devicetree/bindings/serial/pl011.txt index 5d2e840..05d1adb 100644 --- a/Documentation/devicetree/bindings/serial/pl011.txt +++ b/Documentation/devicetree/bindings/serial/pl011.txt @@ -13,5 +13,6 @@ Optional properties: - dmas: When present, may have one or two dma channels. The first one must be named "rx", the second one must be named "tx". +- fifo-size: When present, must have the fifo size. See also bindings/arm/primecell.txt -- 1.9.1 -- 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 related [flat|nested] 11+ messages in thread
[parent not found: <1424290069-8760-2-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>]
* Re: [PATCH 1/2] Documentation: bindings: add optional fifo size property to AMBA UARTs [not found] ` <1424290069-8760-2-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> @ 2015-02-18 21:17 ` Rob Herring 0 siblings, 0 replies; 11+ messages in thread From: Rob Herring @ 2015-02-18 21:17 UTC (permalink / raw) To: Jorge Ramirez-Ortiz Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Russell King - ARM Linux, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org On Wed, Feb 18, 2015 at 2:07 PM, Jorge Ramirez-Ortiz <jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> wrote: > Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> > --- > Documentation/devicetree/bindings/serial/pl011.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/serial/pl011.txt b/Documentation/devicetree/bindings/serial/pl011.txt > index 5d2e840..05d1adb 100644 > --- a/Documentation/devicetree/bindings/serial/pl011.txt > +++ b/Documentation/devicetree/bindings/serial/pl011.txt > @@ -13,5 +13,6 @@ Optional properties: > - dmas: When present, may have one or two dma channels. > The first one must be named "rx", the second one > must be named "tx". > +- fifo-size: When present, must have the fifo size. > > See also bindings/arm/primecell.txt > -- > 1.9.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- 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] 11+ messages in thread
* [PATCH 2/2] drivers/tty: pl011: read fifo size from OF if present [not found] ` <1424290069-8760-1-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2015-02-18 20:07 ` [PATCH 1/2] Documentation: bindings: add optional fifo size property to AMBA UARTs Jorge Ramirez-Ortiz @ 2015-02-18 20:07 ` Jorge Ramirez-Ortiz [not found] ` <1424290069-8760-3-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2015-03-03 16:55 ` [version 2] amba uarts - arm type uarts fifo size provided by device tree Mark Rutland 2 siblings, 1 reply; 11+ messages in thread From: Jorge Ramirez-Ortiz @ 2015-02-18 20:07 UTC (permalink / raw) To: jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-lFZ/pmaqli7XmaaqVzeoHQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> --- drivers/tty/serial/amba-pl011.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 02016fc..c6a2dd8 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -84,6 +84,11 @@ struct vendor_data { static unsigned int get_fifosize_arm(struct amba_device *dev) { + u32 val; + + if (!of_property_read_u32(dev->dev.of_node, "fifo-size", &val)) + return val; + return amba_rev(dev) < 3 ? 16 : 32; } -- 1.9.1 -- 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 related [flat|nested] 11+ messages in thread
[parent not found: <1424290069-8760-3-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>]
* Re: [PATCH 2/2] drivers/tty: pl011: read fifo size from OF if present [not found] ` <1424290069-8760-3-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> @ 2015-03-03 15:39 ` Jorge Ramirez-Ortiz 0 siblings, 0 replies; 11+ messages in thread From: Jorge Ramirez-Ortiz @ 2015-03-03 15:39 UTC (permalink / raw) To: jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-lFZ/pmaqli7XmaaqVzeoHQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On 02/18/2015 03:07 PM, Jorge Ramirez-Ortiz wrote: > Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> > --- > drivers/tty/serial/amba-pl011.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c > index 02016fc..c6a2dd8 100644 > --- a/drivers/tty/serial/amba-pl011.c > +++ b/drivers/tty/serial/amba-pl011.c > @@ -84,6 +84,11 @@ struct vendor_data { > > static unsigned int get_fifosize_arm(struct amba_device *dev) > { > + u32 val; > + > + if (!of_property_read_u32(dev->dev.of_node, "fifo-size", &val)) > + return val; > + > return amba_rev(dev) < 3 ? 16 : 32; > } > just following up on this patch. is anything else required? -- 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] 11+ messages in thread
* Re: [version 2] amba uarts - arm type uarts fifo size provided by device tree [not found] ` <1424290069-8760-1-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2015-02-18 20:07 ` [PATCH 1/2] Documentation: bindings: add optional fifo size property to AMBA UARTs Jorge Ramirez-Ortiz 2015-02-18 20:07 ` [PATCH 2/2] drivers/tty: pl011: read fifo size from OF if present Jorge Ramirez-Ortiz @ 2015-03-03 16:55 ` Mark Rutland 2015-03-04 20:52 ` Jorge Ramirez-Ortiz 2015-03-09 12:25 ` Jorge Ramirez-Ortiz 2 siblings, 2 replies; 11+ messages in thread From: Mark Rutland @ 2015-03-03 16:55 UTC (permalink / raw) To: Jorge Ramirez-Ortiz Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org On Wed, Feb 18, 2015 at 08:07:47PM +0000, Jorge Ramirez-Ortiz wrote: > [PATCH 1/2] Documentation: bindings: add optional fifo size property > [PATCH 2/2] drivers/tty: pl011: read fifo size from OF if present [updated] > > These patches aim at resolving an issue present on some of the amba pl011 uarts. > > They were developed for the Hisilicon Hi6220 SoC where the fifo size on the > uarts is 64 despite the amba revision having been set to 1. Are we certain that the FIFO length is the only difference between the HI6220 PL011 and a regular PL011? It may be worth adding a compatible string in addition, just in case. Mark. -- 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] 11+ messages in thread
* Re: [version 2] amba uarts - arm type uarts fifo size provided by device tree 2015-03-03 16:55 ` [version 2] amba uarts - arm type uarts fifo size provided by device tree Mark Rutland @ 2015-03-04 20:52 ` Jorge Ramirez-Ortiz 2015-03-09 12:25 ` Jorge Ramirez-Ortiz 1 sibling, 0 replies; 11+ messages in thread From: Jorge Ramirez-Ortiz @ 2015-03-04 20:52 UTC (permalink / raw) To: Mark Rutland Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org On 03/03/2015 11:55 AM, Mark Rutland wrote: > On Wed, Feb 18, 2015 at 08:07:47PM +0000, Jorge Ramirez-Ortiz wrote: >> [PATCH 1/2] Documentation: bindings: add optional fifo size property >> [PATCH 2/2] drivers/tty: pl011: read fifo size from OF if present [updated] >> >> These patches aim at resolving an issue present on some of the amba pl011 uarts. >> >> They were developed for the Hisilicon Hi6220 SoC where the fifo size on the >> uarts is 64 despite the amba revision having been set to 1. > Are we certain that the FIFO length is the only difference between the > HI6220 PL011 and a regular PL011? I am trying to get an answer from the hardware designers. > > It may be worth adding a compatible string in addition, just in case. > > Mark. -- 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] 11+ messages in thread
* Re: [version 2] amba uarts - arm type uarts fifo size provided by device tree 2015-03-03 16:55 ` [version 2] amba uarts - arm type uarts fifo size provided by device tree Mark Rutland 2015-03-04 20:52 ` Jorge Ramirez-Ortiz @ 2015-03-09 12:25 ` Jorge Ramirez-Ortiz [not found] ` <54FD912F.8080403-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 1 sibling, 1 reply; 11+ messages in thread From: Jorge Ramirez-Ortiz @ 2015-03-09 12:25 UTC (permalink / raw) To: Mark Rutland Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org On 03/03/2015 11:55 AM, Mark Rutland wrote: > On Wed, Feb 18, 2015 at 08:07:47PM +0000, Jorge Ramirez-Ortiz wrote: >> [PATCH 1/2] Documentation: bindings: add optional fifo size property >> [PATCH 2/2] drivers/tty: pl011: read fifo size from OF if present [updated] >> >> These patches aim at resolving an issue present on some of the amba pl011 uarts. >> >> They were developed for the Hisilicon Hi6220 SoC where the fifo size on the >> uarts is 64 despite the amba revision having been set to 1. > Are we certain that the FIFO length is the only difference between the > HI6220 PL011 and a regular PL011? you were right. I just confirmed that there are a number of differences on top of the fifo size requiring many additional software changes. This is not great news since the uart announces itself as vendor_arm version 1. so please discard this patch. > > It may be worth adding a compatible string in addition, just in case. > > Mark. -- 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] 11+ messages in thread
[parent not found: <54FD912F.8080403-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>]
* Re: [version 2] amba uarts - arm type uarts fifo size provided by device tree [not found] ` <54FD912F.8080403-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> @ 2015-03-09 12:29 ` Russell King - ARM Linux 0 siblings, 0 replies; 11+ messages in thread From: Russell King - ARM Linux @ 2015-03-09 12:29 UTC (permalink / raw) To: Jorge Ramirez-Ortiz Cc: Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org On Mon, Mar 09, 2015 at 08:25:19AM -0400, Jorge Ramirez-Ortiz wrote: > I just confirmed that there are a number of differences on top of the > fifo size requiring many additional software changes. > This is not great news since the uart announces itself as vendor_arm > version 1. And that is a _very_ bad thing. The IP is claiming to be created by ARM, but it isn't - that probably puts this PL011 in a sticky situation from a legal point of view. (We've had a CPU which identified itself as an ARM Ltd ARM926, but it wasn't - the silicon vendor was forced to re-spin their silicon to change the ID... I wouldn't be surprised if that happens here too.) -- 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] 11+ messages in thread
* amba uarts - arm type uarts fifo size provided by device tree @ 2015-02-18 18:53 Jorge Ramirez-Ortiz [not found] ` <1424285593-2886-1-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Jorge Ramirez-Ortiz @ 2015-02-18 18:53 UTC (permalink / raw) To: jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-lFZ/pmaqli7XmaaqVzeoHQ [PATCH 1/2] Documentation: bindings: add optional fifo size property [PATCH 2/2] drivers/tty: pl011: read fifo size from OF if present These patches aim at resolving an issue present on some of the amba pl011 uarts. Some of these arm type uarts have their fifo sizes not defined in terms of the amba_rev register. Those uarts should be able to declare their fifo sizes using the optional property "fifo-size" in the device tree. This device tree setting shall take precedence over any other values. -- 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] 11+ messages in thread
[parent not found: <1424285593-2886-1-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>]
* [PATCH 2/2] drivers/tty: pl011: read fifo size from OF if present [not found] ` <1424285593-2886-1-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> @ 2015-02-18 18:53 ` Jorge Ramirez-Ortiz [not found] ` <1424285593-2886-3-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Jorge Ramirez-Ortiz @ 2015-02-18 18:53 UTC (permalink / raw) To: jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-lFZ/pmaqli7XmaaqVzeoHQ Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> --- drivers/tty/serial/amba-pl011.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 02016fc..23fef63 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -84,6 +84,12 @@ struct vendor_data { static unsigned int get_fifosize_arm(struct amba_device *dev) { + const void *prop; + + prop = of_get_property(dev->dev.of_node, "fifo-size", NULL); + if (prop) + return of_read_ulong(prop, 1); + return amba_rev(dev) < 3 ? 16 : 32; } -- 1.9.1 -- 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 related [flat|nested] 11+ messages in thread
[parent not found: <1424285593-2886-3-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>]
* Re: [PATCH 2/2] drivers/tty: pl011: read fifo size from OF if present [not found] ` <1424285593-2886-3-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> @ 2015-02-18 19:08 ` Mark Rutland 0 siblings, 0 replies; 11+ messages in thread From: Mark Rutland @ 2015-02-18 19:08 UTC (permalink / raw) To: Jorge Ramirez-Ortiz Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On Wed, Feb 18, 2015 at 06:53:13PM +0000, Jorge Ramirez-Ortiz wrote: > Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> > --- > drivers/tty/serial/amba-pl011.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c > index 02016fc..23fef63 100644 > --- a/drivers/tty/serial/amba-pl011.c > +++ b/drivers/tty/serial/amba-pl011.c > @@ -84,6 +84,12 @@ struct vendor_data { > > static unsigned int get_fifosize_arm(struct amba_device *dev) > { > + const void *prop; > + > + prop = of_get_property(dev->dev.of_node, "fifo-size", NULL); > + if (prop) > + return of_read_ulong(prop, 1); Use of_property_read_u32. You will need to sanity check the result, also. What value do you need for your platform? Mark. > + > return amba_rev(dev) < 3 ? 16 : 32; > } > > -- > 1.9.1 > > -- > 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 > -- 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] 11+ messages in thread
end of thread, other threads:[~2015-03-09 12:29 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <amba uarts - arm type uarts fifo size provided by device tree> 2015-02-18 20:07 ` [version 2] amba uarts - arm type uarts fifo size provided by device tree Jorge Ramirez-Ortiz [not found] ` <1424290069-8760-1-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2015-02-18 20:07 ` [PATCH 1/2] Documentation: bindings: add optional fifo size property to AMBA UARTs Jorge Ramirez-Ortiz [not found] ` <1424290069-8760-2-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2015-02-18 21:17 ` Rob Herring 2015-02-18 20:07 ` [PATCH 2/2] drivers/tty: pl011: read fifo size from OF if present Jorge Ramirez-Ortiz [not found] ` <1424290069-8760-3-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2015-03-03 15:39 ` Jorge Ramirez-Ortiz 2015-03-03 16:55 ` [version 2] amba uarts - arm type uarts fifo size provided by device tree Mark Rutland 2015-03-04 20:52 ` Jorge Ramirez-Ortiz 2015-03-09 12:25 ` Jorge Ramirez-Ortiz [not found] ` <54FD912F.8080403-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2015-03-09 12:29 ` Russell King - ARM Linux 2015-02-18 18:53 Jorge Ramirez-Ortiz [not found] ` <1424285593-2886-1-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2015-02-18 18:53 ` [PATCH 2/2] drivers/tty: pl011: read fifo size from OF if present Jorge Ramirez-Ortiz [not found] ` <1424285593-2886-3-git-send-email-jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2015-02-18 19:08 ` Mark Rutland
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).