Re: [PATCH 03/15] kbuild: move non-boot builtin DTBs to .init.rodata section

2024-09-05 Thread Rob Herring
dtb.init.rodata > under the arch/ directory, and .init.rodata section otherwise. This will > be refactored later. > > Signed-off-by: Masahiro Yamada > --- > > drivers/of/unittest.c | 2 +- > scripts/Makefile.dtbs | 4 +++- > 2 files changed, 4 insertions(+), 2 dele

Re: [PATCH 14/15] kbuild: rename CONFIG_GENERIC_BUILTIN_DTB to CONFIG_BUILTIN_DTB

2024-09-05 Thread Rob Herring
On Thu, Sep 05, 2024 at 08:47:50AM +0900, Masahiro Yamada wrote: > Now that all architectures have migrated to the generic built-in > DTB support, the GENERIC_ prefix is no longer necessary. > > Signed-off-by: Masahiro Yamada > --- > > Makefile | 2 +- > arch/arc/Kco

Re: [PATCH 04/15] kbuild: add generic support for built-in boot DTBs

2024-09-05 Thread Rob Herring
On Thu, Sep 05, 2024 at 08:47:40AM +0900, Masahiro Yamada wrote: > Some architectures embed boot DTBs in vmlinux. A potential issue for > these architectures is a race condition during parallel builds because > Kbuild descends into arch/*/boot/dts/ twice. > > One build thread is initiated by the '

Re: [PATCH 02/15] kbuild: split device tree build rules into scripts/Makefile.dtbs

2024-09-05 Thread Rob Herring
+++ > scripts/Makefile.lib | 115 - > 5 files changed, 153 insertions(+), 135 deletions(-) > create mode 100644 scripts/Makefile.dtbs Reviewed-by: Rob Herring (Arm) ___ linux-snps-arc m

Re: [RFC PATCH] dt-bindings: arc: convert archs-pct.txt to yaml

2024-08-18 Thread Rob Herring (Arm)
On Sat, 17 Aug 2024 08:56:29 +0530, Aryabhatta Dey wrote: > Convert dt-binding archs-pct from txt to yaml format. > > Signed-off-by: Aryabhatta Dey > --- > .../devicetree/bindings/arc/archs-pct.txt | 17 -- > .../bindings/arc/snps,archs-pct.yaml | 33 +++ >

Re: [PATCH] dt-bindings: pct: Convert to dtschema

2024-03-07 Thread Rob Herring
On Fri, 08 Mar 2024 02:18:42 +, Dorine Tipo wrote: > convert the PCT Arc Performance Counter bindings to DT schema > > Signed-off-by: Dorine Tipo > --- > .../devicetree/bindings/arc/pct.yaml | 36 +++ > 1 file changed, 36 insertions(+) > create mode 100644 Documen

Re: [PATCH RFC 01/17] iommu: Remove struct iommu_ops *iommu from arch_setup_dma_ops()

2023-11-08 Thread Rob Herring
| 4 ++-- > arch/mips/mm/dma-noncoherent.c | 2 +- > arch/riscv/mm/dma-noncoherent.c | 2 +- > drivers/acpi/scan.c | 3 +-- > drivers/hv/hv_common.c | 2 +- > drivers/of/device.c | 2 +- Acked-by: Rob Herring > include/linux/dma-map-ops.h

Re: [PATCH RFC 02/17] of: Do not return struct iommu_ops from of_iommu_configure()

2023-11-08 Thread Rob Herring
rivers/iommu/of_iommu.c | 29 ++--- > drivers/of/device.c | 22 +++++++++++--- Acked-by: Rob Herring > include/linux/of_iommu.h | 13 ++--- > 3 files changed, 39 insertions(+), 25 deletions(-) ___ linux

Re: [PATCH RFC 03/17] of: Use -ENODEV consistently in of_iommu_configure()

2023-11-08 Thread Rob Herring
On Fri, Nov 03, 2023 at 01:44:48PM -0300, Jason Gunthorpe wrote: > Instead of returning 1 and trying to handle positive error codes just > stick to the convention of returning -ENODEV. Remove references to ops > from of_iommu_configure(), a NULL ops will already generate an error code. nit: "iommu

Re: [PATCH] arc: Explicitly include correct DT includes

2023-08-23 Thread Rob Herring
On Fri, Jul 14, 2023 at 11:39:49AM -0600, Rob Herring wrote: > The DT of_device.h and of_platform.h date back to the separate > of_platform_bus_type before it as merged into the regular platform bus. > As part of that merge prepping Arm DT support 13 years ago, they > "temporar

[PATCH] arc: Explicitly include correct DT includes

2023-07-14 Thread Rob Herring
s a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Signed-off-by: Rob Herring --- arch/arc/plat-axs10x/ax

Re: [PATCH] serial: arc_uart: fix of_iomap leak in `arc_serial_probe`

2023-04-27 Thread Rob Herring
On Tue, Apr 25, 2023 at 8:27 PM Ke Zhang wrote: > > Smatch reports: > > drivers/tty/serial/arc_uart.c:631 arc_serial_probe() warn: > 'port->membase' from of_iomap() not released on lines: 631. > > In arc_serial_probe(), if uart_add_one_port() fails, > port->membase is not released, which would cau

Re: [PATCH v2 0/2] Fix console probe delay when stdout-path isn't set

2022-09-26 Thread Rob Herring
On Mon, Sep 19, 2022 at 5:56 PM Olof Johansson wrote: > > On Mon, Sep 19, 2022 at 1:44 AM Greg Kroah-Hartman > wrote: > > > > On Sun, Sep 18, 2022 at 08:44:27PM -0700, Olof Johansson wrote: > > > On Tue, Aug 23, 2022 at 8:37 AM Greg Kroah-Hartman > > > wrote: > > > > > > > > On Thu, Jun 30, 2022

Re: [PATCH 0/2] of: remove reserved regions count restriction

2021-11-29 Thread Rob Herring
On Sun, Nov 21, 2021 at 08:43:47AM +0200, Mike Rapoport wrote: > On Fri, Nov 19, 2021 at 03:58:17PM +0800, Calvin Zhang wrote: > > The count of reserved regions in /reserved-memory was limited because > > the struct reserved_mem array was defined statically. This series sorts > > out reserved memor

Re: [PATCH 1/2] of: Sort reserved_mem related code

2021-11-29 Thread Rob Herring
On Fri, Nov 19, 2021 at 03:58:18PM +0800, Calvin Zhang wrote: > Move code about parsing /reserved-memory and initializing of > reserved_mems array to of_reserved_mem.c for better modularity. > > Rename array name from reserved_mem to reserved_mems to distinguish > from type definition. > > Signed

Re: [PATCH v5 12/19] dt-bindings: usb: dwc3: Add synopsys, dwc3 compatible string

2020-12-09 Thread Rob Herring
t; Changelog v4: > - Get the patch back, since we can't discard the deprecated prefix from the > driver. > --- > Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring

Re: [PATCH v5 01/19] dt-bindings: usb: usb-hcd: Detach generic USB controller properties

2020-12-09 Thread Rob Herring
gs/usb/usb-hcd.yaml | 14 ++--- > .../devicetree/bindings/usb/usb.yaml | 29 +++ > 2 files changed, 31 insertions(+), 12 deletions(-) > create mode 100644 Documentation/devicetree/bindings/usb/usb.yaml > Reviewed-by: Rob Herring __

Re: [PATCH v5 10/19] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-12-08 Thread Rob Herring
dwc3.txt | 128 --- > .../devicetree/bindings/usb/snps,dwc3.yaml| 312 ++ > 2 files changed, 312 insertions(+), 128 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/usb/dwc3.txt > create mode 100644 Documentation/devicetree/bindings/usb/sn

Re: [PATCH v5 19/19] dt-bindings: usb: intel, keembay-dwc3: Validate DWC3 sub-node

2020-12-07 Thread Rob Herring
gt; - This is a new patch created for the new Intel Keem Bay bindings file, > which has been added just recently. > --- > .../devicetree/bindings/usb/intel,keembay-dwc3.yaml | 9 +++-- > 1 file changed, 3 insertions(+), 6 deletions(-) > Reviewed-by: Rob Herring __

Re: [PATCH v5 01/19] dt-bindings: usb: usb-hcd: Detach generic USB controller properties

2020-12-07 Thread Rob Herring
On Sat, 05 Dec 2020 18:24:08 +0300, Serge Semin wrote: > There can be three distinctive types of the USB controllers: USB hosts, > USB peripherals/gadgets and USB OTG, which can switch from one role to > another. In order to have that hierarchy handled in the DT binding files, > we need to collect

Re: [PATCH v5 10/19] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-12-07 Thread Rob Herring
On Sat, 05 Dec 2020 18:24:17 +0300, Serge Semin wrote: > DWC USB3 DT node is supposed to be compliant with the Generic xHCI > Controller schema, but with additional vendor-specific properties, the > controller-specific reference clocks and PHYs. So let's convert the > currently available legacy tex

Re: [PATCH v4 10/18] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-11-30 Thread Rob Herring
On Wed, Nov 25, 2020 at 1:32 AM Serge Semin wrote: > > On Sat, Nov 21, 2020 at 06:42:28AM -0600, Rob Herring wrote: > > On Thu, Nov 12, 2020 at 01:29:46PM +0300, Serge Semin wrote: > > > On Wed, Nov 11, 2020 at 02:14:23PM -0600, Rob Herring wrote: > > > > On Wed,

Re: [PATCH v4 10/18] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-11-21 Thread Rob Herring
On Thu, Nov 12, 2020 at 01:29:46PM +0300, Serge Semin wrote: > On Wed, Nov 11, 2020 at 02:14:23PM -0600, Rob Herring wrote: > > On Wed, Nov 11, 2020 at 12:08:45PM +0300, Serge Semin wrote: > > > DWC USB3 DT node is supposed to be compliant with the Generic xHCI > > >

Re: [PATCH v4 02/18] dt-bindings: usb: Convert generic USB properties to DT schemas

2020-11-21 Thread Rob Herring
gt; 4 files changed, 104 insertions(+), 57 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/usb/generic.txt > create mode 100644 Documentation/devicetree/bindings/usb/usb-drd.yaml > Reviewed-by: Rob Herring ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH v4 10/18] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-11-11 Thread Rob Herring
On Wed, Nov 11, 2020 at 12:08:45PM +0300, Serge Semin wrote: > DWC USB3 DT node is supposed to be compliant with the Generic xHCI > Controller schema, but with additional vendor-specific properties, the > controller-specific reference clocks and PHYs. So let's convert the > currently available lega

Re: [PATCH v4 01/18] dt-bindings: usb: usb-hcd: Detach generic USB controller properties

2020-11-11 Thread Rob Herring
On Wed, 11 Nov 2020 12:08:36 +0300, Serge Semin wrote: > There can be three distinctive types of the USB controllers: USB hosts, > USB peripherals/gadgets and USB OTG, which can switch from one role to > another. In order to have that hierarchy handled in the DT binding files, > we need to collect

Re: [PATCH v3 09/16] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-10-20 Thread Rob Herring
gt; as either host or otg. > --- > .../devicetree/bindings/usb/dwc3.txt | 125 > .../devicetree/bindings/usb/snps,dwc3.yaml| 302 ++ > 2 files changed, 302 insertions(+), 125 deletions(-) > delete mode 100644 Documentat

Re: [PATCH 15/20] dt-bindings: usb: meson-g12a-usb: Validate DWC2/DWC3 sub-nodes

2020-10-16 Thread Rob Herring
tatement. > --- > .../devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH 17/20] dt-bindings: usb: qcom, dwc3: Validate DWC3 sub-node

2020-10-16 Thread Rob Herring
t; Changelog v2: > - Discard the "^dwc3@[0-9a-f]+$" nodes from being acceptable as sub-nodes. > --- > Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) > Reviewed-by: Rob Herring

Re: [PATCH 16/20] dt-bindings: usb: keystone-dwc3: Validate DWC3 sub-node

2020-10-16 Thread Rob Herring
TI Keystone DWC3 sub-node passes validation against it. > > Signed-off-by: Serge Semin > > --- > > Changelog v2: > - Grammar fix: "s/it'/its" > --- > Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml | 4 +--- > 1 file change

Re: [PATCH 14/20] dt-bindings: usb: meson-g12a-usb: Fix FL-adj property value

2020-10-16 Thread Rob Herring
he same problem is in the DT source file > arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi . > --- > .../devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml| 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Rob Herring

Re: [PATCH 13/20] dt-bindings: usb: dwc3: Add Frame Length Adj restrictions

2020-10-16 Thread Rob Herring
ned-off-by: Serge Semin > --- > Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by: Rob Herring ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH 12/20] dt-bindings: usb: dwc3: Add Tx De-emphasis restrictions

2020-10-16 Thread Rob Herring
is equipped with correct value. > > Signed-off-by: Serge Semin > > --- > > Changelog v2: > - Grammar fix: "s/tunned/tuned" > - Grammar fix: remove redundant "or" conjunction. > --- > Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 4 +

Re: [PATCH 11/20] dt-bindings: usb: dwc3: Add synopsys,dwc3 compatible string

2020-10-16 Thread Rob Herring
On Thu, Oct 15, 2020 at 12:35:54AM +0300, Serge Semin wrote: > On Wed, Oct 14, 2020 at 10:18:18PM +0200, Krzysztof Kozlowski wrote: > > On Wed, Oct 14, 2020 at 01:13:53PM +0300, Serge Semin wrote: > > > The DWC USB3 driver and some DTS files like Exynos 5250, Keystone k2e, etc > > > expects the DWC

Re: [PATCH 10/20] dt-bindings: usb: dwc3: Add interrupt-names property support

2020-10-16 Thread Rob Herring
by: Serge Semin > > --- > > Changelog v2: > - Grammar fix: "s/both of these cases support/support for both these cases" > - Drop quotes from around the string constants. > --- > Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 11 +++ > 1 file ch

Re: [PATCH 08/20] dt-bindings: usb: renesas-xhci: Refer to the usb-xhci.yaml file

2020-10-16 Thread Rob Herring
Generic xHCI DT schema. > > Signed-off-by: Serge Semin > --- > Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Rob Herring ___ linux-snps-a

Re: [PATCH 06/20] dt-bindings: usb: Convert xHCI bindings to DT schema

2020-10-16 Thread Rob Herring
ric-xhci.yaml > delete mode 100644 Documentation/devicetree/bindings/usb/usb-xhci.txt > create mode 100644 Documentation/devicetree/bindings/usb/usb-xhci.yaml > Reviewed-by: Rob Herring ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH 07/20] dt-bindings: usb: xhci: Add Broadcom STB v2 compatible device

2020-10-16 Thread Rob Herring
> Signed-off-by: Serge Semin > --- > Documentation/devicetree/bindings/usb/generic-xhci.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring ___ linux-snps-arc mailing list linux-snps-arc@lists.inf

Re: [PATCH 04/20] dt-bindings: usb: usb-hcd: Add "tpl-support" property

2020-10-16 Thread Rob Herring
t; --- > > Changelog v2: > - Grammar fix: "s/it'/its" > - Discard '|' from the property description, since we don't need to preserve > the text formatting. > --- > Documentation/devicetree/bindings/usb/usb-hcd.yaml |

Re: [PATCH 05/20] dt-bindings: usb: usb-hcd: Add generic "usb-phy" property

2020-10-16 Thread Rob Herring
t; Signed-off-by: Serge Semin > > --- > > Changelog v2: > - Discard '|' from the property description, since we don't need to preserve > the text formatting. > --- > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 7 +++ > 1 file changed, 7 insertio

Re: [PATCH 03/20] dt-bindings: usb: usb-hcd: Add "ulpi/serial/hsic" PHY types

2020-10-16 Thread Rob Herring
--- > > Changelog v2: > - Grammar fix: "s/PHY types can be/PHY types that can be" > - Drop quotes from around the string constants. > --- > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 10 ++ > 1 file changed, 6 insert

Re: [PATCH 02/20] dt-bindings: usb: usb-hcd: Add "otg-rev" property restriction

2020-10-16 Thread Rob Herring
tree/bindings/usb/usb-hcd.yaml | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Rob Herring ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH 01/20] dt-bindings: usb: usb-hcd: Convert generic USB properties to DT schema

2020-10-16 Thread Rob Herring
> 2 files changed, 88 insertions(+), 57 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/usb/generic.txt > Reviewed-by: Rob Herring ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH 04/20] dt-bindings: usb: usb-hcd: Add "tpl-support" property

2020-10-16 Thread Rob Herring
On Wed, Oct 14, 2020 at 08:27:10PM +0300, Serge Semin wrote: > On Wed, Oct 14, 2020 at 08:27:56AM -0500, Rob Herring wrote: > > On Wed, 14 Oct 2020 13:13:46 +0300, Serge Semin wrote: > > > The host controller device might be designed to work for the particular > > > p

Re: [PATCH 20/20] arch: dts: Fix DWC USB3 DT nodes name

2020-10-14 Thread Rob Herring
On Wed, Oct 14, 2020 at 9:37 AM Serge Semin wrote: > > On Wed, Oct 14, 2020 at 05:09:37PM +0300, Felipe Balbi wrote: > > > > Hi Serge, > > > > Serge Semin writes: > > > In accordance with the DWC USB3 bindings the corresponding node name is > > > suppose to comply with Generic USB HCD DT schema,

Re: [PATCH 09/20] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-10-14 Thread Rob Herring
On Wed, 14 Oct 2020 13:13:51 +0300, Serge Semin wrote: > DWC USB3 DT node is supposed to be compliant with the Generic xHCI > Controller schema, but with additional vendor-specific properties, the > controller-specific reference clocks and PHYs. So let's convert the > currently available legacy tex

Re: [PATCH 04/20] dt-bindings: usb: usb-hcd: Add "tpl-support" property

2020-10-14 Thread Rob Herring
On Wed, 14 Oct 2020 13:13:46 +0300, Serge Semin wrote: > The host controller device might be designed to work for the particular > products or applications. In that case its DT node is supposed to be > equipped with the tpl-support property. > > Signed-off-by: Serge Semin > > --- > > Changelog

Re: [PATCH v6 5/6] dt-bindings: dw-apb-ictl: convert to json-schema

2020-09-28 Thread Rob Herring
On Thu, Sep 24, 2020 at 03:17:53PM +0800, Zhen Lei wrote: > Convert the Synopsys DesignWare APB interrupt controller (dw_apb_ictl) > binding to DT schema format using json-schema. > > Signed-off-by: Zhen Lei > --- > .../interrupt-controller/snps,dw-apb-ictl.txt | 43 - > .../int

Re: [PATCH v5 4/6] dt-bindings: dw-apb-ictl: support hierarchy irq domain

2020-09-23 Thread Rob Herring
rtions(+), 1 deletion(-) > Reviewed-by: Rob Herring ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH v5 5/6] dt-bindings: dw-apb-ictl: convert to json-schema

2020-09-23 Thread Rob Herring
On Fri, Sep 18, 2020 at 07:22:01PM +0800, Zhen Lei wrote: > Convert the Synopsys DesignWare APB interrupt controller (dw_apb_ictl) > binding to DT schema format using json-schema. > > Signed-off-by: Zhen Lei > --- > .../interrupt-controller/snps,dw-apb-ictl.txt | 43 - > .../int

Re: [PATCH v2 3/4] ARC: [plat-hsdk-4xd] initial port for HSDK-4xD board

2020-06-04 Thread Rob Herring
ntouched. That's why HSDK-4xD DTS is > created as an separate file. > > Cc: Rob Herring > Signed-off-by: Eugeniy Paltsev > --- > arch/arc/boot/dts/hsdk-4xd.dts | 322 Please check this using W=1 and also build 'dtbs_check' (w

Re: [PATCH v3 2/2] dt-bindings: Document the Synopsys ARC HDMI TX bindings

2020-04-20 Thread Rob Herring
On Wed, Apr 15, 2020 at 02:29:29AM +0300, Eugeniy Paltsev wrote: > This patch adds documentation of device tree bindings for the Synopsys > HDMI 2.0 TX encoder driver for ARC SoCs. You're going to need to base this on top of Laurent's conversion of dw_hdmi.txt to schema. > > Acked-by: Sam Ravnb

Re: [PATCH v2 2/2] dt-bindings: Document the Synopsys ARC HDMI TX bindings

2020-04-14 Thread Rob Herring
On Tue, 14 Apr 2020 17:44:02 +0300, Eugeniy Paltsev wrote: > This patch adds documentation of device tree bindings for the Synopsys > HDMI 2.0 TX encoder driver for ARC SoCs. > > Signed-off-by: Eugeniy Paltsev > --- > .../display/bridge/snps,arc-dw-hdmi.yaml | 131 ++ > 1 fi

Re: [PATCH 4/7] dt-bindings: chosen: Add clocksource and clockevent selection

2019-09-30 Thread Rob Herring
On Wed, Sep 11, 2019 at 07:18:07AM +, claudiu.bez...@microchip.com wrote: > > > On 11.09.2019 03:03, Linus Walleij wrote: > > External E-Mail > > > > > > On Tue, Sep 10, 2019 at 4:11 PM Alexandre Belloni > > wrote: > >> On 10/09/2019 16:08:26+0100, Sudeep Holla wrote: > >>> On Tue, Sep 10,

Re: [PATCH v2 3/3] dt-bindings: IDU-intc: Add support for edge-triggered interrupts

2019-08-16 Thread Rob Herring
intc.txt | 19 > ++- > 1 file changed, 14 insertions(+), 5 deletions(-) > Reviewed-by: Rob Herring

Re: [PATCH v2 2/3] dt-bindings: IDU-intc: Clean up documentation

2019-08-16 Thread Rob Herring
> 1 file changed, 5 insertions(+), 4 deletions(-) > Reviewed-by: Rob Herring

Re: [PATCH 06/12] dma-mapping: improve selection of dma_declare_coherent availability

2019-02-13 Thread Rob Herring
On Wed, Feb 13, 2019 at 12:24 PM Christoph Hellwig wrote: > > On Tue, Feb 12, 2019 at 02:40:23PM -0600, Rob Herring wrote: > > > diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig > > > index 3607fd2810e4..f8c66a9472a4 100644 > > > --- a/drivers/of/Kconf

Re: [PATCH 06/12] dma-mapping: improve selection of dma_declare_coherent availability

2019-02-12 Thread Rob Herring
On Mon, Feb 11, 2019 at 7:37 AM Christoph Hellwig wrote: > > This API is primarily used through DT entries, but two architectures > and two drivers call it directly. So instead of selecting the config > symbol for random architectures pull it in implicitly for the actual > users. Also rename the

Re: [PATCH 03/12] of: mark early_init_dt_alloc_reserved_memory_arch static

2019-02-12 Thread Rob Herring
d_mem.h | 7 --- > 2 files changed, 1 insertion(+), 8 deletions(-) Reviewed-by: Rob Herring Looks like this one isn't a dependency, so I can take it if you want. Rob ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org ht

Re: [PATCH 04/12] of: select OF_RESERVED_MEM automatically

2019-02-12 Thread Rob Herring
/powerpc/Kconfig | 1 - > arch/xtensa/Kconfig | 1 - > drivers/of/Kconfig | 5 ++--- > 7 files changed, 2 insertions(+), 9 deletions(-) Reviewed-by: Rob Herring ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH v2] ARC: [scripted] fix node name and address spelling

2019-01-24 Thread Rob Herring
> --->8 > > Inspired by [1] and the like. > > [1] http://kisskb.ellerman.id.au/kisskb/buildresult/13612017/ > > Signed-off-by: Alexey Brodkin > Cc: Rob Herring > --- > > Changes v1 -> v2: > > * Convert all he

Re: [PATCH v2 19/21] treewide: add checks for the return value of memblock_alloc*()

2019-01-21 Thread Rob Herring
3 +++ > arch/x86/platform/olpc/olpc_dt.c | 3 +++ > arch/x86/xen/p2m.c| 11 +-- > arch/xtensa/mm/kasan_init.c | 4 > arch/xtensa/mm/mmu.c | 3 +++ > drivers/clk/ti/clk.c | 3 +++ > driv

Re: [PATCH 19/21] treewide: add checks for the return value of memblock_alloc*()

2019-01-16 Thread Rob Herring
/xtensa/mm/kasan_init.c | 4 > arch/xtensa/mm/mmu.c | 3 +++ > drivers/clk/ti/clk.c | 3 +++ > drivers/macintosh/smu.c | 3 +++ > drivers/of/fdt.c | 8 ++

Re: [PATCH 08/21] memblock: drop __memblock_alloc_base()

2019-01-16 Thread Rob Herring
de/linux/memblock.h | 2 -- > mm/memblock.c | 9 ++--- > 6 files changed, 11 insertions(+), 24 deletions(-) Acked-by: Rob Herring ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH] ARC: Remove 0x prefix from unit-address of node names

2018-12-10 Thread Rob Herring
red by [1] and the like. > > [1] http://kisskb.ellerman.id.au/kisskb/buildresult/13612017/ > > Signed-off-by: Alexey Brodkin > Cc: Rob Herring > > Signed-off-by: Alexey Brodkin > --- > arch/arc/boot/dts/abilis_tb10x.dtsi | 4 ++-- > arch/arc/boot/dts/axc001.dts

Re: [PATCH v4 0/6] arm64: Get rid of __early_init_dt_declare_initrd()

2018-11-26 Thread Rob Herring
On Mon, Nov 12, 2018 at 06:22:16PM -0600, Rob Herring wrote: > On Mon, Nov 12, 2018 at 12:32:50PM -0800, Florian Fainelli wrote: > > On 11/6/18 6:06 AM, Mike Rapoport wrote: > > > On Mon, Nov 05, 2018 at 02:54:25PM -0800, Florian Fainelli wrote: > > >> Hi al

Re: [PATCH v4 0/6] arm64: Get rid of __early_init_dt_declare_initrd()

2018-11-12 Thread Rob Herring
On Mon, Nov 12, 2018 at 12:32:50PM -0800, Florian Fainelli wrote: > On 11/6/18 6:06 AM, Mike Rapoport wrote: > > On Mon, Nov 05, 2018 at 02:54:25PM -0800, Florian Fainelli wrote: > >> Hi all, > >> > >> Changes in v4: > >> > >> - dropped initrd_below_start_ok assignment in ARM64, not necessary at >

Re: [PATCH v3 0/6] arm64: Get rid of __early_init_dt_declare_initrd()

2018-11-05 Thread Rob Herring
On Wed, Oct 31, 2018 at 12:28:37PM -0700, Florian Fainelli wrote: > Hi all, > > Changes in v3: > > - use C conditionals in drivers/of/fdt.c > - added check on phys_initrd_size in arch/arm64/mm/init.c to determine > whether initrd_start must be populated > - fixed a build warning with ARC that w

Re: [PATCH v3 4/6] arm64: Utilize phys_initrd_start/phys_initrd_size

2018-11-05 Thread Rob Herring
On Wed, Oct 31, 2018 at 12:28:41PM -0700, Florian Fainelli wrote: > ARM64 is the only architecture that re-defines > __early_init_dt_declare_initrd() in order for that function to populate > initrd_start/initrd_end with physical addresses instead of virtual > addresses. Instead of having an overrid

Re: [PATCH v2 5/6] of/fdt: Remove custom __early_init_dt_declare_initrd() implementation

2018-10-31 Thread Rob Herring
On Tue, Oct 30, 2018 at 6:07 PM Florian Fainelli wrote: > > Now that ARM64 uses phys_initrd_start/phys_initrd_size, we can get rid > of its custom __early_init_dt_declare_initrd() which causes a fair > amount of objects rebuild when changing CONFIG_BLK_DEV_INITRD. In order > to make sure ARM64 doe

Re: [PATCH v2 0/2] arm64: Cut rebuild time when changing CONFIG_BLK_DEV_INITRD

2018-10-25 Thread Rob Herring
On Thu, Oct 25, 2018 at 12:30 PM Mike Rapoport wrote: > > On Thu, Oct 25, 2018 at 08:15:15AM -0500, Rob Herring wrote: > > +Ard > > > > On Thu, Oct 25, 2018 at 4:38 AM Mike Rapoport wrote: > > > > > > On Wed, Oct 24, 2018 at 02:55:17PM -0500, Rob Herrin

Re: [PATCH v2 0/2] arm64: Cut rebuild time when changing CONFIG_BLK_DEV_INITRD

2018-10-25 Thread Rob Herring
+Ard On Thu, Oct 25, 2018 at 4:38 AM Mike Rapoport wrote: > > On Wed, Oct 24, 2018 at 02:55:17PM -0500, Rob Herring wrote: > > On Wed, Oct 24, 2018 at 2:33 PM Florian Fainelli > > wrote: > > > > > > Hi all, > > > > > > While investiga

Re: [PATCH v2 0/2] arm64: Cut rebuild time when changing CONFIG_BLK_DEV_INITRD

2018-10-24 Thread Rob Herring
On Wed, Oct 24, 2018 at 3:01 PM Florian Fainelli wrote: > > On 10/24/18 12:55 PM, Rob Herring wrote: > > On Wed, Oct 24, 2018 at 2:33 PM Florian Fainelli > > wrote: > >> > >> Hi all, > >> > >> While investigating why ARM64 requ

Re: [PATCH v2 0/2] arm64: Cut rebuild time when changing CONFIG_BLK_DEV_INITRD

2018-10-24 Thread Rob Herring
On Wed, Oct 24, 2018 at 2:33 PM Florian Fainelli wrote: > > Hi all, > > While investigating why ARM64 required a ton of objects to be rebuilt > when toggling CONFIG_DEV_BLK_INITRD, it became clear that this was > because we define __early_init_dt_declare_initrd() differently and we do > that in ar

[PATCH v4 6/9] kbuild: consolidate Devicetree dtb build rules

2018-10-01 Thread Rob Herring
s.ozlabs.org Cc: linux-xte...@linux-xtensa.org Signed-off-by: Rob Herring --- v4: - Make dtbs and %.dtb rules depend on arch/$ARCH/boot/dts path rather than CONFIG_OF_EARLY_FLATTREE - Fix install path missing kernel version for dtbs_install - Fix "make CONFIG_OF_ALL_DTBS=y" for arches l

[PATCH v4 0/9] Devicetree build consolidation

2018-10-01 Thread Rob Herring
encies - Drop %.dtb.S and %.dtb.o as top-level targets - PPC: remove duplicate mpc5200 dtbs from image-y targets v2: - Fix $arch/boot/dts path check for out of tree builds - Fix dtc dependency for building built-in dtbs - Fix microblaze built-in dtb building - Add dtbs target for microblaz

Re: [PATCH v3 6/9] kbuild: consolidate Devicetree dtb build rules

2018-10-01 Thread Rob Herring
On Mon, Oct 1, 2018 at 12:49 AM Masahiro Yamada wrote: > > Hi Rob, > > > 2018年9月29日(土) 0:43 Rob Herring : > > > +# > > --- > > +# Devicetree files > > + > > +ifneq

Re: [PATCH v3 6/9] kbuild: consolidate Devicetree dtb build rules

2018-09-28 Thread Rob Herring
On Fri, Sep 28, 2018 at 12:21 PM Andreas Färber wrote: > > Hi Geert, > > Am 13.09.18 um 17:51 schrieb Geert Uytterhoeven: > > On Wed, Sep 12, 2018 at 3:02 AM Masahiro Yamada > > wrote: > >> Even x86 can enable OF and OF_UNITTEST. > >> > >> Another solution might be, > >> guard it by 'depends on A

Re: [PATCH v3 6/9] kbuild: consolidate Devicetree dtb build rules

2018-09-28 Thread Rob Herring
On Sun, Sep 23, 2018 at 06:31:14AM -0400, Masahiro Yamada wrote: > 2018-09-13 11:51 GMT-04:00 Geert Uytterhoeven : > > Hi Yamada-san, > > > > On Wed, Sep 12, 2018 at 3:02 AM Masahiro Yamada > > wrote: > >> 2018-09-12 0:40 GMT+09:00 Rob Herring : > >> &

Re: [PATCH v3 2/2] dt-bindings: Document the Synopsys GPIO via CREG bindings

2018-09-26 Thread Rob Herring
+++ > 1 file changed, 18 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpio/snps,creg-gpio.txt > Reviewed-by: Rob Herring ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.o

Re: [PATCH] ARC: Get rid of toolchain check

2018-09-13 Thread Rob Herring
dkin > --- > arch/arc/Makefile | 14 -- > 1 file changed, 14 deletions(-) +1 for this. Removing it also helps with my work to be able to build all the .dts files with only a host compiler. That also needs the hunk setting CROSS_COMPILE removed and not having a built-in

Re: [PATCH v3 6/9] kbuild: consolidate Devicetree dtb build rules

2018-09-11 Thread Rob Herring
On Mon, Sep 10, 2018 at 10:04 AM Rob Herring wrote: > > There is nothing arch specific about building dtb files other than their > location under /arch/*/boot/dts/. Keeping each arch aligned is a pain. > The dependencies and supported targets are all slightly different. > Also, a

[PATCH v3 6/9] kbuild: consolidate Devicetree dtb build rules

2018-09-10 Thread Rob Herring
s.ozlabs.org Cc: linux-xte...@linux-xtensa.org Signed-off-by: Rob Herring --- Makefile | 35 ++- arch/arc/Makefile | 6 -- arch/arm/Makefile | 20 +- arch/arm64/Makefile | 17

[PATCH v3 0/9] Devicetree build consolidation

2018-09-10 Thread Rob Herring
C: remove duplicate mpc5200 dtbs from image-y targets v2: - Fix $arch/boot/dts path check for out of tree builds - Fix dtc dependency for building built-in dtbs - Fix microblaze built-in dtb building - Add dtbs target for microblaze Rob Herring (9): powerpc: build .dtb files in dts directory nio

Re: [PATCH v2 6/9] kbuild: consolidate Devicetree dtb build rules

2018-09-10 Thread Rob Herring
On Sun, Sep 9, 2018 at 6:28 PM Masahiro Yamada wrote: > > 2018-09-06 8:53 GMT+09:00 Rob Herring : > > There is nothing arch specific about building dtb files other than their > > location under /arch/*/boot/dts/. Keeping each arch aligned is a pain. > > The dependencies a

Re: [PATCH v2 6/9] kbuild: consolidate Devicetree dtb build rules

2018-09-07 Thread Rob Herring
On Fri, Sep 7, 2018 at 5:33 AM Masahiro Yamada wrote: > > 2018-09-06 8:53 GMT+09:00 Rob Herring : > > There is nothing arch specific about building dtb files other than their > > location under /arch/*/boot/dts/. Keeping each arch aligned is a pain. > > The dependencies a

[PATCH v2 6/9] kbuild: consolidate Devicetree dtb build rules

2018-09-05 Thread Rob Herring
-xte...@linux-xtensa.org Signed-off-by: Rob Herring --- Please ack so I can take the whole series via the DT tree. v2: - Fix $arch/boot/dts path check for out of tree builds - Fix dtc dependency for building built-in dtbs - Fix microblaze built-in dtb building Mak

[PATCH v2 0/9] Devicetree build consolidation

2018-09-05 Thread Rob Herring
- Fix $arch/boot/dts path check for out of tree builds - Fix dtc dependency for building built-in dtbs - Fix microblaze built-in dtb building - Add dtbs target for microblaze Rob Herring (9): powerpc: build .dtb files in dts directory nios2: build .dtb files in dts directory nios2: use commo

Re: [PATCH v2 2/2] dt-bindings: Document the Synopsys GPIO via CREG bindings

2018-08-28 Thread Rob Herring
On Tue, Aug 28, 2018 at 02:27:21PM +0300, Eugeniy Paltsev wrote: > This patch adds documentation of device tree bindings for the Synopsys > GPIO via CREG driver. > > Signed-off-by: Eugeniy Paltsev > --- > .../devicetree/bindings/gpio/snps,creg-gpio.txt| 49 > ++ > 1 file

Re: [PATCH 6/8] kbuild: consolidate Devicetree dtb build rules

2018-08-26 Thread Rob Herring
On Sat, Aug 25, 2018 at 9:06 PM Masahiro Yamada wrote: > > Hi Rob, > > > 2018-08-22 6:55 GMT+09:00 Rob Herring : > > There is nothing arch specific about building dtb files other than their > > location under /arch/*/boot/dts/. Keeping each arch aligned is a pai

[PATCH 6/8] kbuild: consolidate Devicetree dtb build rules

2018-08-21 Thread Rob Herring
-xte...@linux-xtensa.org Signed-off-by: Rob Herring --- Makefile | 30 ++ arch/arc/Makefile| 6 -- arch/arm/Makefile| 20 +--- arch/arm64/Makefile | 17 + arch/c6x/Makefile|

[PATCH 0/8] Devicetree build consolidation

2018-08-21 Thread Rob Herring
blems, but kept finding small differences such as target dependencies and dtbs_install support across architectures. Instead of trying to align all these, I've consolidated the build targets moving them out of the arch makefiles. I'd like to take the series via the DT tree. Rob Rob Herr

Re: [PATCH v3 2/2] dt-bindings: Document the Synopsys DW AXI DMA bindings

2018-03-07 Thread Rob Herring
dings/dma/snps,dw-axi-dmac.txt | 41 > ++ > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt Reviewed-by: Rob Herring ___ linux-snps-arc mailing list

Re: [PATCH v2 2/2] dt-bindings: Document the Synopsys DW AXI DMA bindings

2018-03-05 Thread Rob Herring
On Mon, Mar 05, 2018 at 11:02:56AM +0530, Vinod Koul wrote: > On Fri, Mar 02, 2018 at 08:32:20AM +, Alexey Brodkin wrote: > > Hi Vinod, > > > > On Fri, 2018-03-02 at 13:44 +0530, Vinod Koul wrote: > > > On Mon, Feb 26, 2018 at 05:56:28PM +0300, Eugeniy Paltsev wrote: > > > > This patch adds do

Re: [PATCH] arc: dts: Remove leading 0x and 0s from bindings notation

2017-12-14 Thread Rob Herring
the > the opening curly brace: > > https://elinux.org/Device_Tree_Linux#Linux_conventions > > This is a follow up to commit 4c9847b7375a ("dt-bindings: Remove leading 0x > from bindings notation") > > Reported-by: David Daney > Suggested-by: Rob Herring >

Re: Setting CPU clock frequency on early boot

2017-09-06 Thread Rob Herring
On Wed, Sep 6, 2017 at 11:22 AM, Alexey Brodkin wrote: > Hi Rob, > > On Wed, 2017-09-06 at 10:25 -0500, Rob Herring wrote: >> On Wed, Sep 6, 2017 at 8:51 AM, Alexey Brodkin >> wrote: >> > >> > Hi Vineet, Rob, >> > >> > On Tue, 2017-09-05 a

Re: Setting CPU clock frequency on early boot

2017-09-06 Thread Rob Herring
On Wed, Sep 6, 2017 at 8:51 AM, Alexey Brodkin wrote: > Hi Vineet, Rob, > > On Tue, 2017-09-05 at 16:40 -0700, Vineet Gupta wrote: >> On 09/05/2017 03:04 PM, Rob Herring wrote: >> > >> > On Tue, Sep 5, 2017 at 10:37 AM, Alexey Brodkin >> > wrote: >

Re: Setting CPU clock frequency on early boot

2017-09-05 Thread Rob Herring
On Tue, Sep 5, 2017 at 10:37 AM, Alexey Brodkin wrote: > Hello, > > I'd like to get some feedback on our idea as well as check > if somebody faces similar situations and if so what would be the best > way to implement some generic solution that suits everyone. > > So that's our problem: > 1. On po

Re: [PATCH v2] OF: move extern declarations of of_stdout inside ifdef

2017-08-25 Thread Rob Herring
off-by: Eugeniy Paltsev > --- > For example see: https://lkml.org/lkml/2017/8/25/337 > > Changes v1->v2: > * Move only "of_stdout" declarations instead of all entry pointers >declarations > > include/linux/of.h | 4 +++- > 1 file changed, 3 insertions(+), 1

Re: [PATCH] OF: move extern declarations of entry pointers inside ifdef

2017-08-25 Thread Rob Herring
On Fri, Aug 25, 2017 at 10:00 AM, Eugeniy Paltsev wrote: > Move extern declarations of "of_root", "of_chosen", "of_aliases", > "of_stdout" pointers inside "CONFIG_OF" ifdef to be able to get rid > of "CONFIG_OF" ifdef in their usage places. > > Suggested-by: Steven Rostedt > > Signed-off-by: Euge

  1   2   >