Re: [PATCH v5 1/2] ASoC: dt-bindings: fsl_asrc: add compatible string for imx8qm & imx8qxp

2019-12-16 Thread Rob Herring
k-map". > > changes in v4 > -add "fsl,imx8qxp-asrc" > > changes in v5 > -refine the comments for compatible > > Documentation/devicetree/bindings/sound/fsl,asrc.txt | 12 +++- > 1 file changed, 11 insertions(+), 1 deletion(-) > Acked-by: Rob Herring

Re: [v5 3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr1-alt-addr' property

2019-12-16 Thread Rob Herring
ings/soc/fsl/rcpm.txt | 21 +++++++ > 1 file changed, 21 insertions(+) > Reviewed-by: Rob Herring

Re: [PATCH] powerpc/devicetrees: Change 'gpios' to 'cs-gpios' on fsl,spi nodes

2019-12-13 Thread Rob Herring
On Thu, Nov 28, 2019 at 12:16:35PM +, Christophe Leroy wrote: > Since commit 0f0581b24bd0 ("spi: fsl: Convert to use CS GPIO > descriptors"), the prefered way to define chipselect GPIOs is using > 'cs-gpios' property instead of the legacy 'gpios' property. This will break using a new dtb on a

Re: [RFC] Efficiency of the phandle_cache on ppc64/SLOF

2019-12-11 Thread Rob Herring
On Tue, Dec 10, 2019 at 2:17 AM Frank Rowand wrote: > > On 12/9/19 7:51 PM, Rob Herring wrote: > > On Mon, Dec 9, 2019 at 7:35 AM Sebastian Andrzej Siewior > > wrote: > >> > >> On 2019-12-05 20:01:41 [-0600], Frank Rowand wrote: > >>> Is the

Re: [RFC] Efficiency of the phandle_cache on ppc64/SLOF

2019-12-09 Thread Rob Herring
On Mon, Dec 9, 2019 at 7:35 AM Sebastian Andrzej Siewior wrote: > > On 2019-12-05 20:01:41 [-0600], Frank Rowand wrote: > > Is there a memory usage issue for the systems that led to this thread? > > No, no memory issue led to this thread. I was just testing my patch and > I assumed that I did

Re: [PATCH 01/14] powerpc/vas: Describe vas-port and interrupts properties

2019-12-05 Thread Rob Herring
On Tue, Nov 26, 2019 at 05:02:03PM -0800, Haren Myneni wrote: > [PATCH 01/14] powerpc/vas: Describe vas-port and interrupts properties Something wrong here with the subject in the body. > > Signed-off-by: Haren Myneni > --- > Documentation/devicetree/bindings/powerpc/ibm,vas.txt | 5 + >

Re: [RFC] Efficiency of the phandle_cache on ppc64/SLOF

2019-12-03 Thread Rob Herring
On Mon, Dec 2, 2019 at 10:28 PM Frank Rowand wrote: > > On 12/2/19 10:12 PM, Michael Ellerman wrote: > > Frank Rowand writes: > >> On 11/29/19 9:10 AM, Sebastian Andrzej Siewior wrote: > >>> I've been looking at phandle_cache and noticed the following: The raw > >>> phandle value as generated by

Re: [PATCH v3] libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h

2019-11-26 Thread Rob Herring
On Wed, Nov 13, 2019 at 04:12:02PM +0900, Masahiro Yamada wrote: > The DTC v1.5.1 added references to (U)INT32_MAX. > > This is no problem for user-space programs since defines > (U)INT32_MAX along with (u)int32_t. > > For the kernel space, libfdt_env.h needs to be adjusted before we > pull in

Re: [PATCH v2] of: unittest: fix memory leak in attach_node_and_children

2019-11-26 Thread Rob Herring
On Tue, 26 Nov 2019 02:48:04 +0100, Erhard Furtner wrote: > In attach_node_and_children memory is allocated for full_name via > kasprintf. If the condition of the 1st if is not met the function > returns early without freeing the memory. Add a kfree() to fix that. > > This has been detected with

Re: [PATCH V3 1/2] ASoC: dt-bindings: fsl_asrc: add compatible string for imx8qm

2019-11-14 Thread Rob Herring
On Mon, Nov 11, 2019 at 05:18:22PM +0800, Shengjiu Wang wrote: > Add compatible string "fsl,imx8qm-asrc" for imx8qm platform. > > There are two asrc modules in imx8qm, the clock mapping is > different for each other, so add new property "fsl,asrc-clk-map" > to distinguish them. What's the clock

Re: [PATCH V2 1/2] ASoC: dt-bindings: fsl_asrc: add compatible string for imx8qm

2019-11-05 Thread Rob Herring
On Wed, Oct 30, 2019 at 07:41:26PM +0800, Shengjiu Wang wrote: > In order to support the two asrc modules in imx8qm, we need to > add compatible string "fsl,imx8qm-asrc0" and "fsl,imx8qm-asrc1" Are the blocks different in some way? If not, why do you need to distinguish them? > Signed-off-by:

Re: [PATCH v2 2/3] ARM: decompressor: simplify libfdt builds

2019-11-04 Thread Rob Herring
On Fri, Nov 1, 2019 at 3:12 AM Masahiro Yamada wrote: > > Copying source files during the build time may not end up with > as clean code as you expect. > > lib/fdt*.c simply wrap scripts/dtc/libfdt/fdt*.c, and it works > nicely. Let's follow that approach for the arm decompressor, too. > > Add

Re: [PATCH 1/3] libfdt: add SPDX-License-Identifier to libfdt wrappers

2019-11-04 Thread Rob Herring
On Fri, Nov 1, 2019 at 1:19 AM Masahiro Yamada wrote: > > These are kernel source code even though they are just two-line wrappers. > > Files without explicit license information fall back to GPL-2.0-only, > which is the project default. That is true and these are kernel only files, but given

Re: Onboard SD card doesn't work anymore after the 'mmc-v5.4-2' updates

2019-10-25 Thread Rob Herring
On Wed, Oct 23, 2019 at 9:32 AM Russell King - ARM Linux admin wrote: > > On Wed, Oct 23, 2019 at 08:52:33AM -0500, Rob Herring wrote: > > > I think this should have been done the other way around and default to > > > coherent since most traditional OF platforms are coher

Re: Onboard SD card doesn't work anymore after the 'mmc-v5.4-2' updates

2019-10-23 Thread Rob Herring
On Wed, Oct 23, 2019 at 1:41 AM Benjamin Herrenschmidt wrote: > > On Wed, 2019-10-23 at 16:42 +1100, Michael Ellerman wrote: > > > > Right, it seems of_dma_is_coherent() has baked in the assumption that > > devices are non-coherent unless explicitly marked as coherent. > > > > Which is wrong on

Re: [PATCH v6 1/9] dt-bindings: ibm, secureboot: secure boot specific properties for PowerNV

2019-10-01 Thread Rob Herring
On Fri, Sep 27, 2019 at 10:25:52AM -0400, Nayna Jain wrote: > PowerNV represents both the firmware and Host OS secureboot state of the > system via device tree. This patch adds the documentation to give > the definition of the nodes and the properties. > > Signed-off-by: Nayna Jain > --- >

Re: [PATCH V2 1/2] ASoC: fsl_mqs: add DT binding documentation

2019-09-30 Thread Rob Herring
++ > 1 file changed, 36 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/fsl,mqs.txt > Reviewed-by: Rob Herring

Re: [v3,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr-alt-addr' property

2019-09-27 Thread Rob Herring
On Wed, Sep 25, 2019 at 03:34:47AM +, Leo Li wrote: > > > > -Original Message- > > From: Biwen Li > > Sent: Tuesday, September 24, 2019 10:30 PM > > To: Leo Li ; shawn...@kernel.org; > > robh...@kernel.org; mark.rutl...@arm.com; Ran Wang > > > > Cc: linuxppc-dev@lists.ozlabs.org;

Re: [v4,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr1-alt-addr' property

2019-09-27 Thread Rob Herring
On Thu, Sep 26, 2019 at 10:41:18AM +0800, Biwen Li wrote: > The 'fsl,ippdexpcr1-alt-addr' property is used to handle an errata A-008646 > on LS1021A > > Signed-off-by: Biwen Li > --- > Change in v4: > - rename property name > fsl,ippdexpcr-alt-addr -> fsl,ippdexpcr1-alt-addr > >

Re: [PATCH v4 05/11] dt-bindings: pci: layerscape-pci: Add compatible strings for ls1088a and ls2088a

2019-09-27 Thread Rob Herring
ompatible. > > Documentation/devicetree/bindings/pci/layerscape-pci.txt | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring

Re: [PATCH v2 04/10] dt-bindings: pci: layerscape-pci: add compatible strings for ls1088a and ls2088a

2019-08-27 Thread Rob Herring
On Thu, Aug 22, 2019 at 07:22:36PM +0800, Xiaowei Bao wrote: > Add compatible strings for ls1088a and ls2088a. > > Signed-off-by: Xiaowei Bao > --- > v2: > - No change. > > Documentation/devicetree/bindings/pci/layerscape-pci.txt | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) >

Re: [PATCH 08/10] dt-bindings: PCI: Add the pf-offset property

2019-08-27 Thread Rob Herring
On Thu, 15 Aug 2019 16:37:14 +0800, Xiaowei Bao wrote: > Add the pf-offset property for multiple PF. > > Signed-off-by: Xiaowei Bao > --- > Documentation/devicetree/bindings/pci/designware-pcie.txt | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Rob Herring

Re: [PATCHv3 1/3] dt-bindings: pci: layerscape-pci: add compatible strings "fsl,ls1028a-pcie"

2019-08-21 Thread Rob Herring
ayerscape-pci.txt | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Rob Herring

Re: [PATCH v4 2/3] Documentation: dt: binding: fsl: Add 'little-endian' and update Chassis define

2019-06-13 Thread Rob Herring
- None. > > Documentation/devicetree/bindings/soc/fsl/rcpm.txt |8 +++- > 1 files changed, 7 insertions(+), 1 deletions(-) > Reviewed-by: Rob Herring

Re: [PATCH 2/3] Documentation: dt: binding: fsl: Add 'little-endian' and update Chassis define

2019-06-13 Thread Rob Herring
yerscapes won't totally follow Chassis > 2.1, so separate them from powerpc SoC. > > Signed-off-by: Ran Wang > --- > Documentation/devicetree/bindings/soc/fsl/rcpm.txt |8 +++- > 1 files changed, 7 insertions(+), 1 deletions(-) > Reviewed-by: Rob Herring

Re: [PATCH 1/3] dt-bindings: pci: layerscape-pci: add compatible strings "fsl,ls1028a-pcie"

2019-06-13 Thread Rob Herring
On Wed, 15 May 2019 15:27:45 +0800, Xiaowei Bao wrote: > Add the PCIe compatible string for LS1028A > > Signed-off-by: Xiaowei Bao > --- > .../devicetree/bindings/pci/layerscape-pci.txt |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > Reviewed-by: Rob Herring

Re: [PATCH v3 4/6] dt-bindings: soc/fsl: qe: document new fsl,qe-snums binding

2019-05-13 Thread Rob Herring
changed, 12 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring

Re: [PATCH v2 4/6] dt-bindings: soc/fsl: qe: document new fsl,qe-snums binding

2019-05-01 Thread Rob Herring
indings/soc/fsl/cpm_qe/qe.txt | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring

Re: [PATCH v10 15/18] dt-bindings: counter: ftm-quaddec

2019-04-26 Thread Rob Herring
On Tue, Apr 02, 2019 at 03:30:50PM +0900, William Breathitt Gray wrote: > From: Patrick Havelange > > FlexTimer quadrature decoder driver. > > Reviewed-by: Esben Haabendal > Signed-off-by: Patrick Havelange > Signed-off-by: William Breathitt Gray > --- > .../bindings/counter/ftm-quaddec.txt

Re: [PATCH v2 4/7] dt-bindings: counter: ftm-quaddec

2019-03-26 Thread Rob Herring
On Tue, Mar 26, 2019 at 10:43 AM Arnout Vandecappelle wrote: > > [Full disclosure: I'm a colleague of Patrick.] > > On 2019-03-16 14:21:38, Jonathan Cameron wrote: > > > On Tue, 12 Mar 2019 14:09:52 -0500 > > Rob Herring wrote: > > > > > On Wed,

Re: [PATCH v2 4/7] dt-bindings: counter: ftm-quaddec

2019-03-12 Thread Rob Herring
On Wed, Mar 06, 2019 at 12:12:05PM +0100, Patrick Havelange wrote: > FlexTimer quadrature decoder driver. > > Signed-off-by: Patrick Havelange > Reviewed-by: Esben Haabendal > --- > Changes v2 > - None > --- > .../bindings/counter/ftm-quaddec.txt | 18 ++ > 1

Re: [PATCH 7/8] dt-bindings: iio/counter: ftm-quaddec: add poll-interval parameter

2019-02-28 Thread Rob Herring
changed, 7 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring

Re: [PATCH v4 1/2] dt-bindings: soc: fsl: Document Qixis FPGA usage

2019-02-13 Thread Rob Herring
On Tue, Feb 05, 2019 at 10:14:40AM +, Pankaj Bansal wrote: > an FPGA-based system controller, called “Qixis”, which > manages several critical system features, including: > • Reset sequencing > • Power supply configuration > • Board configuration > • hardware configuration > > The qixis

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

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

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

2019-02-12 Thread Rob Herring
rpc/Kconfig | 1 - > arch/xtensa/Kconfig | 1 - > drivers/of/Kconfig | 5 ++--- > 7 files changed, 2 insertions(+), 9 deletions(-) Reviewed-by: Rob Herring

Re: [PATCH v4 2/3] ASoC: add fsl_audmix DT binding documentation

2019-01-30 Thread Rob Herring
ch will configure > > + and instantiate the appropriate audio card. > > I don't feel this is necessary for DT node. The driver should be > able to figure out a proper name for the machine driver: it could > use the compatible string to get "imx8qm-audmix" as the name like > fsl_ssi; Or it could have built-in "imx-audmix" of_device_id data > corresponding to "fsl,imx8qm-audmix" compatible string -- for any > non-imx compatible in the future, use something else. I tend to agree, but either way: Rob Herring

Re: [PATCH v4] kbuild: Add support for DT binding schema checks

2019-01-28 Thread Rob Herring
On Mon, Jan 28, 2019 at 2:59 AM Geert Uytterhoeven wrote: > > Hi Rob, > > On Sun, Jan 27, 2019 at 4:00 AM Rob Herring wrote: > > On Wed, Jan 23, 2019 at 9:33 AM Geert Uytterhoeven > > wrote: > > > On Tue, Dec 11, 2018 at 9:24 PM Rob Herring wrote: > >

Re: [PATCH v4] kbuild: Add support for DT binding schema checks

2019-01-28 Thread Rob Herring
On Mon, Jan 28, 2019 at 3:43 AM Geert Uytterhoeven wrote: > > Hi Rob, > > On Tue, Dec 11, 2018 at 9:24 PM Rob Herring wrote: > > This adds the build infrastructure for checking DT binding schema > > documents and validating dts files using the binding schema. > &g

Re: [PATCH v4] kbuild: Add support for DT binding schema checks

2019-01-26 Thread Rob Herring
On Wed, Jan 23, 2019 at 9:33 AM Geert Uytterhoeven wrote: > > Hi Rob, > > On Tue, Dec 11, 2018 at 9:24 PM Rob Herring wrote: > > This adds the build infrastructure for checking DT binding schema > > documents and validating dts files using the binding schema. > &g

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 v2 3/4] kbuild: add real-prereqs shorthand for $(filter-out FORCE,$^)

2019-01-21 Thread Rob Herring
> > > Changes in v2: > - clean up arch/s390/boot/Makefile as well > > Documentation/devicetree/bindings/Makefile | 2 +- Acked-by: Rob Herring > arch/mips/boot/Makefile| 2 +- > arch/powerpc/boot/Makefile | 2 +- > arch

Re: [PATCH v3 0/4] Add NXP AUDMIX device and machine drivers

2019-01-21 Thread Rob Herring
On Fri, Jan 18, 2019 at 11:46:42AM -0800, Nicolin Chen wrote: > On Fri, Jan 18, 2019 at 01:16:24PM +, Viorel Suman wrote: > > > > 1. Moved "dais" node from machine driver DTS node to device driver > > > > DTS node > > > >   as suggested by Rob. > > > That was not what I suggested. You still

Re: [PATCHv5 1/4] dt-bindings: add DT binding for the layerscape PCIe controller with EP mode

2019-01-21 Thread Rob Herring
On Mon, Jan 21, 2019 at 05:44:57PM +0800, Xiaowei Bao wrote: > Add the documentation for the Device Tree binding for the layerscape PCIe > controller with EP mode. > > Signed-off-by: Xiaowei Bao > Reviewed-by: Minghuan Lian > Reviewed-by: Zhiqiang Hou > --- > v2: > - Add the SoC specific

Re: [PATCH v2] powerpc: chrp: Use device_type helpers to access the node type

2019-01-19 Thread Rob Herring
hrp/setup.c:541:33: error: > ‘struct device_node’ has no member named ‘type’ > > Fixes: 8ce5f8415753 ("of: Remove struct device_node.type pointer") > Cc: Rob Herring > Signed-off-by: Guenter Roeck > --- > v2: of_node_is_type() checks if the node pointer is N

[PATCH] powerpc: chrp: Use of_node_is_type to access device_type

2019-01-18 Thread Rob Herring
build test robot Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Rob Herring --- Michael, I see you just sent a PR of fixes. I can send this to Linus if you prefer. arch/powerpc/platforms/chrp/setup.c | 3 +-- 1 file change

Re: [PATCH v3 0/4] Add NXP AUDMIX device and machine drivers

2019-01-17 Thread Rob Herring
On Thu, Jan 17, 2019 at 12:46:25PM +, Viorel Suman wrote: > The patchset adds NXP Audio Mixer (AUDMIX) device and machine > drivers and related DT bindings documentation. > > Changes since V2: > 1. Moved "dais" node from machine driver DTS node to device driver DTS node > as suggested by

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

Re: [alsa-devel] [PATCH v2 4/4] ASoC: add imx-audmix DT binding documentation

2019-01-16 Thread Rob Herring
On Wed, Jan 16, 2019 at 2:22 AM Daniel Baluta wrote: > > On Tue, Jan 15, 2019 at 10:58 PM Rob Herring wrote: > > > > On Tue, Jan 08, 2019 at 01:05:51PM +, Viorel Suman wrote: > > > Add the DT binding documentation for Audio Mixer > > > machine driver. >

Re: [PATCH v2 4/4] ASoC: add imx-audmix DT binding documentation

2019-01-15 Thread Rob Herring
On Tue, Jan 08, 2019 at 01:05:51PM +, Viorel Suman wrote: > Add the DT binding documentation for Audio Mixer > machine driver. > > Signed-off-by: Viorel Suman > --- > .../devicetree/bindings/sound/imx-audmix.txt | 24 > ++ > 1 file changed, 24 insertions(+) >

Re: [PATCH v2 2/4] ASoC: add fsl_audmix DT binding documentation

2019-01-15 Thread Rob Herring
insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/fsl,audmix.txt > Reviewed-by: Rob Herring

Re: [PATCHv4 1/4] dt-bindings: add DT binding for the layerscape PCIe controller with EP mode

2019-01-11 Thread Rob Herring
On Tue, 8 Jan 2019 11:09:19 +0800, Xiaowei Bao wrote: > Add the documentation for the Device Tree binding for the layerscape PCIe > controller with EP mode. > > Signed-off-by: Xiaowei Bao > --- > v2: > - Add the SoC specific compatibles. > v3: > - modify the commit message. > v4: > - no

Re: [PATCH v2 13/34] dt-bindings: arm: amlogic: Move 'amlogic,meson-gx-ao-secure' binding to its own file

2019-01-09 Thread Rob Herring
On Tue, Dec 4, 2018 at 10:18 PM Rob Herring wrote: > > On Tue, Dec 4, 2018 at 7:01 PM Kevin Hilman wrote: > > > > Rob Herring writes: > > > > > It is best practice to have 1 binding per file, so board level bindings > > > should be separate for vario

Re: [PATCH] powerpc: build dtb even without COMPILE_TEST

2019-01-04 Thread Rob Herring
On Fri, Jan 4, 2019 at 3:58 AM Corentin Labbe wrote: > > I wanted to test the virtex440-ml507 qemu machine and found that the dtb > for it was not builded. Just do: make virtex440-ml507.dtb > All powerpc DTB are only built when CONFIG_OF_ALL_DTBS is set which depend on > COMPILE_TEST. > But

Re: [RFC PATCH] ASoC: fsl: Add Audio Mixer CPU DAI driver

2019-01-03 Thread Rob Herring
On Thu, Jan 3, 2019 at 9:59 AM Viorel Suman wrote: > > Hi Nicolin, > > Thank you for your feedback, same here - just back from vacation. > > On Jo, 2018-12-27 at 01:24 +0800, Nicolin Chen wrote: > > Hi Viorel, > > > > Sorry for the late response, having been on a long vacation. > > > > The code

Re: [RFC PATCH] ASoC: fsl: Add Audio Mixer CPU DAI driver

2018-12-28 Thread Rob Herring
On Tue, Dec 18, 2018 at 04:30:01PM +, Viorel Suman wrote: > This patch implements Audio Mixer CPU DAI driver for NXP iMX8 SOCs. > The Audio Mixer is a on-chip functional module that allows mixing of > two audio streams into a single audio stream. > > Audio Mixer datasheet is available here: >

Re: [PATCH v2 2/2] of: __of_detach_node() - remove node from phandle cache

2018-12-18 Thread Rob Herring
On Tue, Dec 18, 2018 at 2:33 PM Frank Rowand wrote: > > On 12/18/18 12:09 PM, Frank Rowand wrote: > > On 12/18/18 12:01 PM, Rob Herring wrote: > >> On Tue, Dec 18, 2018 at 12:57 PM Frank Rowand > >> wrote: > >>> > >>> On 12/

Re: [PATCH v2 2/2] of: __of_detach_node() - remove node from phandle cache

2018-12-18 Thread Rob Herring
On Tue, Dec 18, 2018 at 12:57 PM Frank Rowand wrote: > > On 12/17/18 2:52 AM, Michael Ellerman wrote: > > Hi Frank, > > > > frowand.l...@gmail.com writes: > >> From: Frank Rowand > >> > >> Non-overlay dynamic devicetree node removal may leave the node in > >> the phandle cache. Subsequent calls

Re: [PATCH v2 0/2] of: phandle_cache, fix refcounts, remove stale entry

2018-12-18 Thread Rob Herring
On Mon, Dec 17, 2018 at 1:56 AM wrote: > > From: Frank Rowand > > Non-overlay dynamic devicetree node removal may leave the node in > the phandle cache. Subsequent calls to of_find_node_by_phandle() > will incorrectly find the stale entry. This bug exposed the foloowing > phandle cache

Re: [PATCH 2/2] of: __of_detach_node() - remove node from phandle cache

2018-12-14 Thread Rob Herring
On Fri, Dec 14, 2018 at 12:43 AM wrote: > > From: Frank Rowand > > Non-overlay dynamic devicetree node removal may leave the node in > the phandle cache. Subsequent calls to of_find_node_by_phandle() > will incorrectly find the stale entry. Remove the node from the > cache. > > Add paranoia

Re: [PATCH 1/2] of: of_node_get()/of_node_put() nodes held in phandle cache

2018-12-14 Thread Rob Herring
On Fri, Dec 14, 2018 at 12:43 AM wrote: > > From: Frank Rowand > > The phandle cache contains struct device_node pointers. The refcount > of the pointers was not incremented while in the cache, allowing use > after free error after kfree() of the node. Add the proper increment > and decrement

[PATCH v4] kbuild: Add support for DT binding schema checks

2018-12-11 Thread Rob Herring
. Cc: Jonathan Corbet Cc: Mark Rutland Cc: Masahiro Yamada Cc: Michal Marek Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-kbu...@vger.kernel.org Signed-off-by: Rob Herring --- v4: - Rework libyaml check and error message with Masahiro's version - Simplify build rules

Re: [PATCH v3] kbuild: Add support for DT binding schema checks

2018-12-11 Thread Rob Herring
On Tue, Dec 11, 2018 at 10:03 AM Masahiro Yamada wrote: > > On Wed, Dec 12, 2018 at 12:13 AM Rob Herring wrote: > > > > > > > +$(obj)/%.example.dts: $(src)/%.yaml FORCE > > > > + $(call if_changed,chk_binding) > > > > + > > > >

Re: [PATCH v03] powerpc/mobility: Fix node detach/rename problem

2018-12-11 Thread Rob Herring
On Tue, Dec 11, 2018 at 7:29 AM Michael Ellerman wrote: > > Hi Michael, > > Please Cc the device tree folks on device tree patches, and also the > original author of the patch that added the code you're modifying. > > So I've added: > robh...@kernel.org > frowand.l...@gmail.com >

Re: [PATCH v2.2 24/34] dt-bindings: arm: Convert Rockchip board/soc bindings to json-schema

2018-12-11 Thread Rob Herring
On Mon, Dec 10, 2018 at 4:45 PM Heiko Stuebner wrote: > > From: Rob Herring > > Convert Rockchip SoC bindings to DT schema format using json-schema. > > Cc: Mark Rutland > Cc: Heiko Stuebner > Cc: devicet...@vger.kernel.org > Cc: linux-arm-ker...@lists.infr

Re: [PATCH v3] kbuild: Add support for DT binding schema checks

2018-12-11 Thread Rob Herring
On Mon, Dec 10, 2018 at 10:39 PM Masahiro Yamada wrote: > > Hi Rob, > > On Tue, Dec 11, 2018 at 5:50 AM Rob Herring wrote: > > > > This adds the build infrastructure for checking DT binding schema > > documents and validating dts files using the binding schema. &

Re: [PATCHv3 1/4] dt-bindings: add DT binding for the layerscape PCIe controller with EP mode

2018-12-10 Thread Rob Herring
- modify the commit message. > > .../devicetree/bindings/pci/layerscape-pci.txt |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > Reviewed-by: Rob Herring

[PATCH v3] kbuild: Add support for DT binding schema checks

2018-12-10 Thread Rob Herring
. Cc: Jonathan Corbet Cc: Mark Rutland Cc: Masahiro Yamada Cc: Michal Marek Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-kbu...@vger.kernel.org Signed-off-by: Rob Herring --- v3: - Fix error causing only 1st schema file to get used. - Add a more useful error message when

Re: [PATCH v2 01/34] kbuild: Add support for DT binding schema checks

2018-12-10 Thread Rob Herring
On Fri, Dec 7, 2018 at 10:47 PM Masahiro Yamada wrote: > > Hi Rob, > > > On Tue, Dec 4, 2018 at 6:32 AM Rob Herring wrote: > > > > This adds the build infrastructure for checking DT binding schema > > documents and validating dts files using the binding schema

Re: [PATCH v2.1 24/34] dt-bindings: arm: Convert Rockchip board/soc bindings to json-schema

2018-12-10 Thread Rob Herring
s.infradead.org > Signed-off-by: Rob Herring > [move to per-board entries and added recently added boards] > Signed-off-by: Heiko Stuebner > --- > Hi Rob, > > there are boards where the description adds much value and on others > it is maybe less, but personally I'd like

Re: [PATCH v2 18/34] dt-bindings: arm: Convert FSL board/soc bindings to json-schema

2018-12-06 Thread Rob Herring
On Wed, Dec 5, 2018 at 8:32 PM Shawn Guo wrote: > > On Mon, Dec 03, 2018 at 03:32:07PM -0600, Rob Herring wrote: > > Convert Freescale SoC bindings to DT schema format using json-schema. > > > > Cc: Shawn Guo > > Cc: Mark Rutland > > Cc: devicet...@vger.kerne

Re: [PATCH v2 30/34] dt-bindings: arm: Convert Tegra board/soc bindings to json-schema

2018-12-06 Thread Rob Herring
On Tue, Dec 4, 2018 at 2:50 AM Thierry Reding wrote: > > On Mon, Dec 03, 2018 at 03:32:19PM -0600, Rob Herring wrote: > > Convert Tegra SoC bindings to DT schema format using json-schema. > > > > Cc: Mark Rutland > > Cc: Thierry Reding > > Cc: Jonathan Hunter

Re: [PATCH v2 14/34] dt-bindings: arm: Convert Amlogic board/soc bindings to json-schema

2018-12-06 Thread Rob Herring
On Tue, Dec 4, 2018 at 8:44 AM Rob Herring wrote: > > On Tue, Dec 4, 2018 at 2:39 AM Neil Armstrong wrote: > > > > Hi Rob, > > > > You forgot linux-amlogic in CC... > > > > On 03/12/2018 22:32, Rob Herring wrote: > > > Convert Amlogic

Re: [PATCH v2 26/34] dt-bindings: arm: Convert Renesas board/soc bindings to json-schema

2018-12-06 Thread Rob Herring
On Wed, Dec 5, 2018 at 1:44 PM Simon Horman wrote: > > On Tue, Dec 04, 2018 at 09:08:57AM -0600, Rob Herring wrote: > > On Tue, Dec 4, 2018 at 8:57 AM Geert Uytterhoeven > > wrote: > > > > > > Hi Simon, > > > > > > On Tue, Dec 4, 2018 at 3:4

Re: [PATCH] ASoC: Use of_node_name_eq for node name comparisons

2018-12-06 Thread Rob Herring
On Wed, Dec 5, 2018 at 7:53 PM Nicolin Chen wrote: > > Hi Rob, > > On Thu, Dec 6, 2018 at 3:51 AM Rob Herring wrote: > > > > Convert string compares of DT node names to use of_node_name_eq helper > > instead. This removes direct access to the node name pointer.

[PATCH] ASoC: Use of_node_name_eq for node name comparisons

2018-12-05 Thread Rob Herring
de_name_eq can be used instead. Cc: Timur Tabi Cc: Nicolin Chen Cc: Xiubo Li Cc: Fabio Estevam Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: alsa-de...@alsa-project.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Rob Herring --- sound/soc/fsl/fsl-asoc-card

[PATCH] ALSA: soundbus: Remove direct OF name and type accesses

2018-12-05 Thread Rob Herring
-dev@lists.ozlabs.org Cc: alsa-de...@alsa-project.org Signed-off-by: Rob Herring --- sound/aoa/soundbus/core.c | 2 +- sound/aoa/soundbus/sysfs.c | 34 +- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/sound/aoa/soundbus/core.c b/sound/aoa

[PATCH] ALSA: Use of_node_name_eq for node name comparisons

2018-12-05 Thread Rob Herring
: Takashi Iwai Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Cc: alsa-de...@alsa-project.org Signed-off-by: Rob Herring --- sound/aoa/fabrics/layout.c | 2 +- sound/aoa/soundbus/i2sbus/core.c | 6 +++--- sound/ppc/pmac.c | 4

[PATCH] tty: Use of_node_name_{eq,prefix} for node name comparisons

2018-12-05 Thread Rob Herring
Cc: Michael Ellerman Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: "David S. Miller" Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-ser...@vger.kernel.org Cc: sparcli...@vger.kernel.org Signed-off-by: Rob Herring --- drivers/tty/hvc/hvc_opal.c | 2 +- drivers/tty/hvc/hvc_vio.c

[PATCH] PCI: Use of_node_name_eq for node name comparisons

2018-12-05 Thread Rob Herring
-by: Rob Herring --- drivers/pci/hotplug/rpaphp_core.c | 2 +- drivers/pci/of.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/hotplug/rpaphp_core.c b/drivers/pci/hotplug/rpaphp_core.c index bcd5d357ca23..7697d9c92b98 100644 --- a/drivers/pci

[PATCH] macintosh: Use of_node_name_{eq, prefix} for node name comparisons

2018-12-05 Thread Rob Herring
chmidt Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Rob Herring --- drivers/macintosh/ans-lcd.c | 2 +- drivers/macintosh/macio_asic.c| 33 +++ drivers/macintosh/rack-meter.c| 13 - drivers/macintosh/via-pmu.c

[PATCH] ide: Use of_node_name_eq for node name comparisons

2018-12-05 Thread Rob Herring
org Signed-off-by: Rob Herring --- drivers/ide/pmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ide/pmac.c b/drivers/ide/pmac.c index c5b902b86b44..ec46aa84d18d 100644 --- a/drivers/ide/pmac.c +++ b/drivers/ide/pmac.c @@ -1045,7 +1045,7 @@ static int pmac_ide_se

[PATCH] i2c: powermac: Use of_node_name_eq for node name comparisons

2018-12-05 Thread Rob Herring
Convert string compares of DT node names to use of_node_name_eq helper instead. This removes direct access to the node name pointer. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: linux-...@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Rob Herring

[PATCH] powerpc: Use of_node_name_eq for node name comparisons

2018-12-05 Thread Rob Herring
Cc: Michael Ellerman Cc: Alistair Popple Cc: Matt Porter Cc: Anatolij Gustschin Cc: Arnd Bergmann Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Rob Herring --- arch/powerpc/kernel/legacy_serial.c | 7 +++-- arch/powerpc/platforms/44x/warp.c| 4 +-- arch/powerpc

[PATCH] powerpc: pseries: pmem: Convert to using %pOFn instead of device_node.name

2018-12-05 Thread Rob Herring
Signed-off-by: Rob Herring --- arch/powerpc/platforms/pseries/pmem.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/platforms/pseries/pmem.c b/arch/powerpc/platforms/pseries/pmem.c index a27f40eb57b1..27f0a915c8a9 100644 --- a/arch/powerpc/platforms/pseries

[PATCH v2] misc: cxl: Use device_type helpers to access the node type

2018-12-05 Thread Rob Herring
-by: Andrew Donnellan Signed-off-by: Rob Herring --- v2: - Reword commit message as this change was using the .type ptr. drivers/misc/cxl/pci.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c index b66d832d3233..c79ba1c699ad

Re: [PATCH v2 08/34] dt-bindings: arm: Convert PMU binding to json-schema

2018-12-05 Thread Rob Herring
On Wed, Dec 5, 2018 at 4:08 AM Will Deacon wrote: > > Hi Rob, > > On Mon, Dec 03, 2018 at 03:31:57PM -0600, Rob Herring wrote: > > Convert ARM PMU binding to DT schema format using json-schema. > > Just a couple of things below. > > > diff --git a/Documentation

Re: [PATCH v2 13/34] dt-bindings: arm: amlogic: Move 'amlogic,meson-gx-ao-secure' binding to its own file

2018-12-04 Thread Rob Herring
On Tue, Dec 4, 2018 at 7:01 PM Kevin Hilman wrote: > > Rob Herring writes: > > > It is best practice to have 1 binding per file, so board level bindings > > should be separate for various misc SoC bindings. > > > > Cc: Mark Rutland > > Cc: Carlo Caione

Re: [PATCH v2 15/34] dt-bindings: arm: Convert Atmel board/soc bindings to json-schema

2018-12-04 Thread Rob Herring
On Tue, Dec 4, 2018 at 2:12 AM wrote: > > On 03/12/2018 at 22:32, Rob Herring wrote: > > Convert Atmel SoC bindings to DT schema format using json-schema. > > > > Cc: Mark Rutland > > Cc: Nicolas Ferre > > I'm listed here... > > > Cc: Ale

Re: [PATCH v2 26/34] dt-bindings: arm: Convert Renesas board/soc bindings to json-schema

2018-12-04 Thread Rob Herring
On Tue, Dec 4, 2018 at 8:57 AM Geert Uytterhoeven wrote: > > Hi Simon, > > On Tue, Dec 4, 2018 at 3:48 PM Simon Horman wrote: > > On Mon, Dec 03, 2018 at 03:32:15PM -0600, Rob Herring wrote: > > > Convert Renesas SoC bindings to DT schema format using json-schema. &

Re: [PATCH v2 24/34] dt-bindings: arm: Convert Rockchip board/soc bindings to json-schema

2018-12-04 Thread Rob Herring
On Tue, Dec 4, 2018 at 8:16 AM Heiko Stuebner wrote: > > Am Montag, 3. Dezember 2018, 22:32:13 CET schrieb Rob Herring: > > Convert Rockchip SoC bindings to DT schema format using json-schema. > > > > Cc: Mark Rutland > > Cc: Heiko Stuebner > > Cc: devicet.

Re: [PATCH v2 14/34] dt-bindings: arm: Convert Amlogic board/soc bindings to json-schema

2018-12-04 Thread Rob Herring
On Tue, Dec 4, 2018 at 2:39 AM Neil Armstrong wrote: > > Hi Rob, > > You forgot linux-amlogic in CC... > > On 03/12/2018 22:32, Rob Herring wrote: > > Convert Amlogic SoC bindings to DT schema format using json-schema. > > > > Cc: Carlo Caione > > Cc:

Re: [PATCH v2 21/34] dt-bindings: arm: Convert Oxford Semi board/soc bindings to json-schema

2018-12-04 Thread Rob Herring
On Tue, Dec 4, 2018 at 2:43 AM Neil Armstrong wrote: > > On 03/12/2018 22:32, Rob Herring wrote: > > Convert Oxford Semi SoC bindings to DT schema format using json-schema. > > > > Cc: Mark Rutland > > Cc: Neil Armstrong > > Cc: devicet...@v

[PATCH v2 34/34] dt-bindings: arm: Convert ZTE board/soc bindings to json-schema

2018-12-03 Thread Rob Herring
Convert ZTE SoC bindings to DT schema format using json-schema. Cc: Jun Nie Cc: Mark Rutland Cc: linux-arm-ker...@lists.infradead.org Cc: devicet...@vger.kernel.org Acked-by: Shawn Guo Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/arm/zte.txt | 14

[PATCH v2 33/34] dt-bindings: arm: Add missing Xilinx boards

2018-12-03 Thread Rob Herring
From: Michal Simek Add missing description for Ultra96, zcu104, zcu106 and zcu111. Signed-off-by: Michal Simek Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/xilinx.yaml | 32 +++ 1 file changed, 32 insertions(+) diff --git a/Documentation/devicetree

[PATCH v2 32/34] dt-bindings: arm: Convert Xilinx board/soc bindings to json-schema

2018-12-03 Thread Rob Herring
Convert Xilinx SoC bindings to DT schema format using json-schema. Cc: Mark Rutland Cc: Michal Simek Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/xilinx.txt| 83 --- .../devicetree

[PATCH v2 31/34] dt-bindings: arm: Convert VIA board/soc bindings to json-schema

2018-12-03 Thread Rob Herring
Convert VIA SoC bindings to DT schema format using json-schema. Cc: Tony Prisk Cc: Mark Rutland Cc: devicet...@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/vt8500.txt| 22 -- .../devicetree/bindings/arm/vt8500.yaml | 23

[PATCH v2 30/34] dt-bindings: arm: Convert Tegra board/soc bindings to json-schema

2018-12-03 Thread Rob Herring
Convert Tegra SoC bindings to DT schema format using json-schema. Cc: Mark Rutland Cc: Thierry Reding Cc: Jonathan Hunter Cc: devicet...@vger.kernel.org Cc: linux-te...@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/tegra.txt | 65

<    1   2   3   4   5   6   7   8   9   10   >