Re: [PATCH 1/1] of/pci: Add IORESOURCE_MEM_64 to resource flags for 64-bit memory addresses

2021-04-19 Thread Rob Herring
On Fri, Apr 16, 2021 at 3:58 PM Leonardo Bras wrote: > > Hello Rob, thanks for this feedback! > > On Thu, 2021-04-15 at 13:59 -0500, Rob Herring wrote: > > +PPC and PCI lists > > > > On Thu, Apr 15, 2021 at 1:01 PM Leonardo Bras wrote: > > > > > &

Re: [PATCH v5 1/5] dt-bindings: mfd: Initial commit of silergy,sy7636a.yaml

2021-04-19 Thread Rob Herring
On Mon, 19 Apr 2021 07:02:18 +1000, Alistair Francis wrote: > Initial support for the Silergy SY7636A Power Management chip > and regulator. > > Signed-off-by: Alistair Francis > --- > v5: > - Improve the documentation > > .../bindings/mfd/silergy,sy7636a.yaml | 70 +++

Re: [PATCH V3] dt-bindings: mailbox: ti, secure-proxy: Convert to json schema

2021-04-16 Thread Rob Herring
oxy.yaml | 79 +++ > 2 files changed, 79 insertions(+), 50 deletions(-) > delete mode 100644 > Documentation/devicetree/bindings/mailbox/ti,secure-proxy.txt > create mode 100644 > Documentation/devicetree/bindings/mailbox/ti,secure-proxy.yaml > Reviewed-by: Rob Herring

Re: [PATCH v5 net-next 10/10] dt-bindings: net: korina: Add DT bindings for IDT 79RC3243x SoCs

2021-04-16 Thread Rob Herring
On Fri, Apr 16, 2021 at 03:35:36PM +0200, Thomas Bogendoerfer wrote: > On Fri, Apr 16, 2021 at 12:29:46PM +0300, Sergei Shtylyov wrote: > > On 16.04.2021 11:52, Thomas Bogendoerfer wrote: > > > > > Add device tree bindings for ethernet controller integrated into > > > IDT 79RC3243x SoCs. > > > >

Re: [PATCH v5 net-next 10/10] dt-bindings: net: korina: Add DT bindings for IDT 79RC3243x SoCs

2021-04-16 Thread Rob Herring
On Fri, Apr 16, 2021 at 10:52:06AM +0200, Thomas Bogendoerfer wrote: > Add device tree bindings for ethernet controller integrated into > IDT 79RC3243x SoCs. > > Signed-off-by: Thomas Bogendoerfer > --- > .../bindings/net/idt,3243x-emac.yaml | 74 +++ > 1 file changed,

Re: [PATCH v5 30/33] dt-bindings: media: add microchip, xisc device bindings

2021-04-16 Thread Rob Herring
Changes in v4: > - added '|' at description to preserve line breaks > > .../bindings/media/microchip,xisc.yaml| 129 ++ > 1 file changed, 129 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/media/microchip,xisc.yaml > Reviewed-by: Rob Herring

Re: [PATCH v8 13/15] dt-bindings: power: rockchip: Convert to json-schema

2021-04-16 Thread Rob Herring
On Fri, Apr 16, 2021 at 10:03:40AM +0200, Johan Jonker wrote: > From: Enric Balletbo i Serra > > Convert the soc/rockchip/power_domain.txt binding document to > json-schema and move to the power bindings directory. > > Signed-off-by: Enric Balletbo i Serra > Signed-off-by: Elaine Zhang >

Re: [PATCH v8 11/15] dt-bindings: arm: rockchip: convert pmu.txt to YAML

2021-04-16 Thread Rob Herring
etree/bindings/arm/rockchip/pmu.yaml > Reviewed-by: Rob Herring

Re: [PATCH v8 12/15] dt-bindings: arm: rockchip: add more compatible strings to pmu.yaml

2021-04-16 Thread Rob Herring
ip,rk3288-pmu", "syscon", "simple-mfd" > "rockchip,rk3328-pmu", "syscon", "simple-mfd" > "rockchip,rk3399-pmu", "syscon", "simple-mfd" > > for pmu nodes to pmu.yaml. > > Signed-off-by: Johan Jonker > --- > Documentation/devicetree/bindings/arm/rockchip/pmu.yaml | 8 > 1 file changed, 8 insertions(+) > Reviewed-by: Rob Herring

Re: [PATCH v8 14/15] dt-bindings: power: rockchip: Add bindings for RK3568 Soc

2021-04-16 Thread Rob Herring
ed, because in this version > the schema layout changed a bit > Please have a look at it again > > Changed V8: > Add pd-node ref schema > --- > Documentation/devicetree/bindings/power/rockchip,power-controller.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring

Re: [PATCH 3/5] dt-bindings: mtd: add OTP bindings

2021-04-16 Thread Rob Herring
On Fri, Apr 16, 2021 at 01:30:01PM -0500, Rob Herring wrote: > On Fri, 16 Apr 2021 13:49:26 +0200, Michael Walle wrote: > > Flash devices can have one-time-programmable regions. Add a nvmem > > binding so they can be used as a nvmem provider. > > > > S

Re: [PATCH 0/5] mtd: core: OTP nvmem provider support

2021-04-16 Thread Rob Herring
On Fri, Apr 16, 2021 at 01:49:23PM +0200, Michael Walle wrote: > The goal is to fetch a (base) MAC address from the OTP region of a SPI NOR > flash. > > This is the first part, where I try to add the nvmem provider support to > the MTD core. > > I'm not sure about the device tree bindings.

Re: [PATCH 4/5] dt-bindings: mtd: spi-nor: add otp property

2021-04-16 Thread Rob Herring
On Fri, 16 Apr 2021 13:49:27 +0200, Michael Walle wrote: > SPI-NOR flashes may have OTP regions and have a nvmem binding. This > binding is described in mtd.yaml. > > Signed-off-by: Michael Walle > --- > Changes since RFC: > - new patch > >

Re: [PATCH 3/5] dt-bindings: mtd: add OTP bindings

2021-04-16 Thread Rob Herring
On Fri, 16 Apr 2021 13:49:26 +0200, Michael Walle wrote: > Flash devices can have one-time-programmable regions. Add a nvmem > binding so they can be used as a nvmem provider. > > Signed-off-by: Michael Walle > --- > Changes since RFC: > - added missing "$" > - dropped first example > - use

Re: [PATCH V2 3/4] dt-bindings: mfd: Convert pm8xxx bindings to yaml

2021-04-16 Thread Rob Herring
On Wed, Apr 14, 2021 at 3:38 AM Lee Jones wrote: > > On Fri, 09 Apr 2021, satya priya wrote: > > > Convert pm8xxx bindings from .txt to .yaml format. Also, > > split this binding into two: parent binding(qcom-pm8xxx.yaml) > > and child node RTC binding(qcom-pm8xxx-rtc.yaml). > > > >

Re: [PATCH v8 4/8] dt-bindings: pwm: Support new PWM_USAGE_POWER flag

2021-04-16 Thread Rob Herring
On Fri, Apr 16, 2021 at 8:54 AM Thierry Reding wrote: > > On Mon, Apr 12, 2021 at 03:27:41PM +0200, Clemens Gruber wrote: > > Add the flag and corresponding documentation for PWM_USAGE_POWER. > > > > Cc: Rob Herring > > Signed-off-by: Clemens Gruber > &g

Re: [PATCH net-next v4 2/2] of: net: fix of_get_mac_addr_nvmem() for non-platform devices

2021-04-16 Thread Rob Herring
On Fri, Apr 16, 2021 at 2:30 AM Michael Walle wrote: > > Am 2021-04-16 05:24, schrieb Benjamin Herrenschmidt: > > On Mon, 2021-04-12 at 19:47 +0200, Michael Walle wrote: > >> > >> /** > >> * of_get_phy_mode - Get phy mode for given device_node > >> @@ -59,15 +60,39 @@ static int

Re: Need help converting usb/faraday,fotg210.yaml to yaml

2021-04-16 Thread Rob Herring
On Fri, Apr 16, 2021 at 8:18 AM Corentin Labbe wrote: > > Hello > > I am converting Documentation/devicetree/bindings/usb/faraday,fotg210.txt to > yaml with the patch attached below. > But validating it give me: > Documentation/devicetree/bindings/usb/faraday,fotg210.example.dt.yaml: >

Re: [PATCH v5 1/2] mfd: google,cros-ec: add DT bindings for a baseboard's switch device

2021-04-16 Thread Rob Herring
On Fri, Apr 16, 2021 at 12:37 AM Enric Balletbo Serra wrote: > > Hi Ikjoon, > > Thank you for your patch. > > Missatge de Ikjoon Jang del dia dj., 15 d’abr. > 2021 a les 5:32: > > > > This is for ChromeOS tablets which have a 'cros_cbas' switch device > > in the "Whiskers" base board. This

Re: [v1 2/3] dt-bindings: drm/bridge: ti-sn65dsi86: Document use-aux-backlight

2021-04-15 Thread Rob Herring
On Wed, Apr 14, 2021 at 10:09:49PM +0530, Rajeev Nandan wrote: > If the panel connected to the bridge supports backlight control > using DPCD registers on the DisplayPort aux channel, setting > "use-aux-backlight" property in the bridge node will enable the > registration of a DP aux backlight

Re: [PATCH net-next 1/3] dt-bindings: net: add nvmem-mac-address-offset property

2021-04-15 Thread Rob Herring
On Wed, Apr 14, 2021 at 05:43:49PM +0200, Andrew Lunn wrote: > On Wed, Apr 14, 2021 at 05:26:55PM +0200, Michael Walle wrote: > > It is already possible to read the MAC address via a NVMEM provider. But > > there are boards, esp. with many ports, which only have a base MAC > > address stored. Thus

Re: [PATCH v2 1/2] dt-bindings: net: can: Document transceiver implementation as phy

2021-04-15 Thread Rob Herring
vicetree/bindings/net/can/bosch,m_can.yaml | 3 +++ > 1 file changed, 3 insertions(+) > Acked-by: Rob Herring

Re: [PATCH V2] dt-bindings: mailbox: ti, message-manager: Convert to json schema

2021-04-15 Thread Rob Herring
t; 2 files changed, 75 insertions(+), 50 deletions(-) > delete mode 100644 > Documentation/devicetree/bindings/mailbox/ti,message-manager.txt > create mode 100644 > Documentation/devicetree/bindings/mailbox/ti,message-manager.yaml > Reviewed-by: Rob Herring

Re: [PATCH v2 1/2] dt-bindings: bcm4329-fmac: add optional brcm,ccode-map

2021-04-15 Thread Rob Herring
On Thu, 15 Apr 2021 18:47:27 +0800, Shawn Guo wrote: > Add optional brcm,ccode-map property to support translation from ISO3166 > country code to brcmfmac firmware country code and revision. > > The country revision is needed because the RF parameters that provide > regulatory compliance are

Re: [PATCH v2 0/2] brcmfmac: support parse country code map from DT

2021-04-15 Thread Rob Herring
On Thu, Apr 15, 2021 at 06:47:26PM +0800, Shawn Guo wrote: > This is a couple of patches adding optional brcm,ccode-map bindings for > brcmfmac driver to parse country code map from DT. > > Changes for v2: > - Rebase bindings patch on top of yaml conversion patch [1]. > - Improve commit log

Re: [PATCH 4/8] dt-bindings: arm: mediatek: Add new document bindings for APU

2021-04-15 Thread Rob Herring
On Mon, Apr 12, 2021 at 1:45 AM Flora Fu wrote: > > On Fri, 2021-04-09 at 13:25 -0500, Rob Herring wrote: > > On Wed, Apr 07, 2021 at 11:28:02AM +0800, Flora Fu wrote: > > > Document the apusys bindings. > > > > > > Signed-off-by: Flora Fu > > >

Re: [”PATCH” v2 3/5] dt-bindings: pci: add system controller and MAC reset bit to Armada 7K/8K controller bindings

2021-04-15 Thread Rob Herring
On Wed, Apr 14, 2021 at 04:20:52PM +0300, bpe...@marvell.com wrote: > From: Ben Peled > > Adding optional system-controller and mac-reset-bit-mask > needed for linkdown procedure. Same comment as v1. BTW, it's PATCH not "PATCH". Don't do anything and git will do the right thing here. > >

Re: [PATCH V2] dt-bindings: mailbox: ti,secure-proxy: Convert to yaml

2021-04-15 Thread Rob Herring
On Tue, Apr 13, 2021 at 05:45:35PM -0500, Nishanth Menon wrote: > Convert the ti,secure-proxy to yaml for better checks and documentation. > Differences being mostly in the examples: > - I've dropped the example usage of mailbox client, it is better done in > tisci node definition > - Switched

Re: [PATCH v2 3/4] dt-bindings: serial: 8250: update TX FIFO trigger level

2021-04-15 Thread Rob Herring
On Tue, 13 Apr 2021 19:40:14 +0200, Erwan Le Ray wrote: > Remove data type from tx-threshold trigger level as defined now as a > serial generic property. > > Signed-off-by: Erwan Le Ray > Reviewed-by: Rob Herring

Re: [PATCH v2 2/4] dt-bindings: serial: stm32: override FIFO threshold properties

2021-04-15 Thread Rob Herring
nge added properties naming and factorize it in serial.yaml as proposed > by Rob Herring. > Reviewed-by: Rob Herring

Re: [PATCH v2 1/4] dt-bindings: serial: add RX and TX FIFO properties

2021-04-15 Thread Rob Herring
On Tue, 13 Apr 2021 19:40:12 +0200, Erwan Le Ray wrote: > Add two optional DT properties to configure RX and TX FIFO thresholds: > - rx-threshold > - tx-threshold > > Signed-off-by: Erwan Le Ray > Reviewed-by: Rob Herring

Re: [PATCH v2 1/2] dt-bindings: phy: add vbus-supply optional property to phy-stm32-usbphyc

2021-04-15 Thread Rob Herring
dd connector vbus-supply property as suggested by Rob > --- > .../devicetree/bindings/phy/phy-stm32-usbphyc.yaml| 11 +++ > 1 file changed, 11 insertions(+) > Reviewed-by: Rob Herring

Re: [PATCH v2 3/3] nvmem: eeprom: add documentation for FRAM

2021-04-15 Thread Rob Herring
On Tue, 13 Apr 2021 15:18:48 +0200, Jiri Prchal wrote: > Added dt binding documentation. > > Signed-off-by: Jiri Prchal > --- > -v2: fixed dt_binding_check warnings thanks to Rob Herring > --- > .../devicetree/bindings/eeprom/at25.yaml | 31 +++

Re: [PATCH v3 3/4] dt-bindings: phy: Add binding for TI TCAN104x CAN transceivers

2021-04-15 Thread Rob Herring
vicetree.org/schemas/phy/ti,tcan104x-can.yaml#; > +$schema: "http://devicetree.org/meta-schemas/core.yaml#; > + > +title: TCAN104x CAN TRANSCEIVER PHY > + > +maintainers: > + - Aswath Govindraju > + > +properties: > + $nodename: > +pattern: "^

Re: [PATCH v3 16/24] dt-bindings: atmel-sysreg: add bindings for sama7g5

2021-04-15 Thread Rob Herring
etion(-) > Acked-by: Rob Herring

Re: [PATCH v3 2/4] dt-bindings: arm: imx: Add i.mx6q DaSheng COM-9XX SBC

2021-04-15 Thread Rob Herring
after 'dmo,imx6q-edmqmx6' to follow the alphabetical > order. > > Documentation/devicetree/bindings/arm/fsl.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring

Re: [PATCH v3 1/4] dt-bindings: add dasheng vendor prefix

2021-04-15 Thread Rob Herring
viewed-by: Krzysztof Kozlowski ' > > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring

Re: [PATCH v3 2/2] ASoC: dt-bindings: renesas, rsnd: Clear warning 'ports' does not match any of the regexes

2021-04-15 Thread Rob Herring
> > A given binding should just use 'ports' or 'port' depending on it's need. > Both are not allowed at the same time. The check is done in "allOf". > > Signed-off-by: Zhen Lei > --- > .../devicetree/bindings/sound/renesas,rsnd.yaml | 12 > 1 file changed, 12 insertions(+) > Reviewed-by: Rob Herring

Re: [PATCH v3 1/2] ASoC: dt-bindings: renesas, rsnd: Clear warning 'dais' is a required property

2021-04-15 Thread Rob Herring
warning are generated. > > Signed-off-by: Zhen Lei > --- > Documentation/devicetree/bindings/sound/renesas,rsnd.yaml | 1 - > 1 file changed, 1 deletion(-) > Reviewed-by: Rob Herring

Re: [PATCH v8 2/4] libperf: Add evsel mmap support

2021-04-15 Thread Rob Herring
08PM -0300, Arnaldo Carvalho de Melo > > > escreveu: > > > > Em Thu, Apr 15, 2021 at 01:41:35AM +0900, Namhyung Kim escreveu: > > > > > Hello, > > > > > > > > > > On Thu, Apr 15, 2021 at 1:07 AM Rob Herring wrot

Re: [PATCH] libperf: xyarray: Add bounds checks to xyarray__entry()

2021-04-15 Thread Rob Herring
On Thu, Apr 15, 2021 at 2:51 PM Arnaldo Carvalho de Melo wrote: > > Em Thu, Apr 15, 2021 at 04:48:34PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Thu, Apr 15, 2021 at 04:46:46PM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Wed, Apr 14, 2021 at 03:53:36PM -0500,

Re: [PATCH 1/1] of/pci: Add IORESOURCE_MEM_64 to resource flags for 64-bit memory addresses

2021-04-15 Thread Rob Herring
+PPC and PCI lists On Thu, Apr 15, 2021 at 1:01 PM Leonardo Bras wrote: > > Many other resource flag parsers already add this flag when the input > has bits 24 & 25 set, so update this one to do the same. Many others? Looks like sparc and powerpc to me. Those would be the ones I worry about

Re: [PATCH v4 2/7] dt-bindings: media: max9286: Define 'maxim,gpio-poc'

2021-04-15 Thread Rob Herring
to do it this way on irc, but looking at it again, it's slightly more concise to do: properties: poc-supply: false gpio-controller: false Note that 'properties' in the 'if' doesn't work because a schema for a property evaluates as true when the property is not present. Either way, Reviewed-by: Rob Herring Rob

Re: [PATCH v4 1/7] dt-bindings: media: max9286: Re-indent example

2021-04-15 Thread Rob Herring
; --- > .../bindings/media/i2c/maxim,max9286.yaml | 214 +- > 1 file changed, 107 insertions(+), 107 deletions(-) > Acked-by: Rob Herring

Re: [PATCH v4 30/33] dt-bindings: media: add microchip,xisc device bindings

2021-04-15 Thread Rob Herring
On Thu, Apr 15, 2021 at 11:58:46AM +0300, Eugen Hristev wrote: > Add bindings for the Microchip eXtended Image Sensor Controller. > Based on the atmel,isc.yaml binding. > > Signed-off-by: Eugen Hristev > --- > .../bindings/media/microchip,xisc.yaml| 129 ++ > 1 file

Re: [PATCH v4 4/9] ASoC: dt-bindings: wcd938x-sdw: add bindings for wcd938x-sdw

2021-04-15 Thread Rob Herring
On Wed, Apr 14, 2021 at 04:48:40PM +0100, Srinivas Kandagatla wrote: > Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC > connected over SoundWire. This device has two SoundWire devices RX and > TX respectively. This bindings is for those slave devices on WCD9380/WCD9385. > >

Re: [PATCH v4 1/9] ASoC: dt-bindings: wcd938x: add bindings for wcd938x

2021-04-15 Thread Rob Herring
On Wed, Apr 14, 2021 at 04:48:37PM +0100, Srinivas Kandagatla wrote: > Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC > connected over SoundWire. This device has two SoundWire device RX and > TX respectively, supporting 4 x ADCs, ClassH, Ear, Aux PA, 2xHPH, > 7 x TX diff

Re: [PATCH v4 3/3] dt-bindings: connector: Add slow-charger-loop definition

2021-04-15 Thread Rob Herring
omments > * Updated commit and the binding description. > * Updated subject as well. > --- > .../devicetree/bindings/connector/usb-connector.yaml | 10 ++ > 1 file changed, 10 insertions(+) > Acked-by: Rob Herring

Re: [PATCH v5 1/2] mfd: google,cros-ec: add DT bindings for a baseboard's switch device

2021-04-15 Thread Rob Herring
gt; Define cros-cbase bindings inside google,cros-ec.yaml instead of > a separated binding document. > > .../bindings/mfd/google,cros-ec.yaml | 20 +++++++ > 1 file changed, 20 insertions(+) > Reviewed-by: Rob Herring

Re: [PATCH v4 29/33] dt-bindings: media: atmel-isc: convert to yaml

2021-04-15 Thread Rob Herring
ia/atmel,isc.yaml | 115 ++ > .../devicetree/bindings/media/atmel-isc.txt | 65 -- > 2 files changed, 115 insertions(+), 65 deletions(-) > create mode 100644 Documentation/devicetree/bindings/media/atmel,isc.yaml > delete mode 100644 Documentation/devicetree/bindings/media/atmel-isc.txt > Reviewed-by: Rob Herring

Re: [PATCH v2 4/7] dt-bindings: soc: mediatek: apusys: Add new document for APU power domain

2021-04-15 Thread Rob Herring
On Thu, Apr 15, 2021 at 01:52:37PM +0800, Flora Fu wrote: > Document the bindings for APU power domain on MediaTek SoC. > > Signed-off-by: Flora Fu > --- > Note: > This patch depends on MT8192 clock[1] patches which haven't yet been accepted. > [1] >

Re: [PATCH] arm64: dts: marvell: armada-37xx: Set linux,pci-domain to zero

2021-04-15 Thread Rob Herring
On Thu, Apr 15, 2021 at 3:45 AM Marek Behun wrote: > > On Thu, 15 Apr 2021 10:36:40 +0200 > Pali Rohár wrote: > > > On Tuesday 13 April 2021 13:17:29 Rob Herring wrote: > > > On Mon, Apr 12, 2021 at 7:41 AM Pali Rohár wrote: > > > > > > > > S

Re: [v2 1/2] dt-bindings: Add bindings for aspeed pwm-tach and pwm.

2021-04-15 Thread Rob Herring
On Wed, Apr 14, 2021 at 10:44 PM Billy Tsai wrote: > > Hi Rob, > > On 2021/4/15, 6:16 AM,Rob Herringwrote: > > On Wed, Apr 14, 2021 at 06:49:38PM +0800, Billy Tsai wrote: > >> This patch adds device bindings for aspeed pwm-tach device which is a > >> multi-function device include pwn

Re: [PATCH v7 10/11] dt-bindings: power: rockchip: Add bindings for RK3568 Soc

2021-04-14 Thread Rob Herring
ndings/power/rockchip,power-controller.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring

Re: [PATCH v7 09/11] dt-bindings: power: rockchip: Convert to json-schema

2021-04-14 Thread Rob Herring
On Wed, Apr 14, 2021 at 11:18:54PM +0200, Johan Jonker wrote: > From: Enric Balletbo i Serra > > Convert the soc/rockchip/power_domain.txt binding document to > json-schema and move to the power bindings directory. > > Signed-off-by: Enric Balletbo i Serra > Signed-off-by: Elaine Zhang >

Re: [PATCH v7 08/11] dt-bindings: add power-domain header for RK3568 SoCs

2021-04-14 Thread Rob Herring
de/dt-bindings/power/rk3568-power.h | 32 > > 1 file changed, 32 insertions(+) > create mode 100644 include/dt-bindings/power/rk3568-power.h > Acked-by: Rob Herring

Re: [Intel-gfx] [PATCH v19 2/6] dt-binding: i2c: mt65xx: add vbus-supply property

2021-04-14 Thread Rob Herring
i2c/i2c-mt65xx.txt | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring

Re: [v2 1/2] dt-bindings: Add bindings for aspeed pwm-tach and pwm.

2021-04-14 Thread Rob Herring
On Wed, Apr 14, 2021 at 06:49:38PM +0800, Billy Tsai wrote: > This patch adds device bindings for aspeed pwm-tach device which is a > multi-function device include pwn and tach function and pwm device which > should be the sub-node of pwm-tach device. > > Signed-off-by: Billy Tsai > Change-Id:

Re: [PATCH] libperf: xyarray: Add bounds checks to xyarray__entry()

2021-04-14 Thread Rob Herring
On Wed, Apr 14, 2021 at 3:25 PM Namhyung Kim wrote: > > On Thu, Apr 15, 2021 at 4:58 AM Rob Herring wrote: > > > > xyarray__entry() is missing any bounds checking yet often the x and y > > parameters come from external callers. Add bounds checks and an > &

[PATCH] libperf: xyarray: Add bounds checks to xyarray__entry()

2021-04-14 Thread Rob Herring
: Namhyung Kim Signed-off-by: Rob Herring --- tools/lib/perf/include/internal/xyarray.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/lib/perf/include/internal/xyarray.h b/tools/lib/perf/include/internal/xyarray.h index 51e35d6c8ec4..f0896c00b494 100644 --- a/tools

Re: [PATCH v8 2/4] libperf: Add evsel mmap support

2021-04-14 Thread Rob Herring
On Wed, Apr 14, 2021 at 11:41 AM Namhyung Kim wrote: > > Hello, > > On Thu, Apr 15, 2021 at 1:07 AM Rob Herring wrote: > > +void *perf_evsel__mmap_base(struct perf_evsel *evsel, int cpu, int thread) > > +{ > > + if (FD(evsel, cpu, thread) < 0 ||

[PATCH v8 4/4] libperf: Add support for user space counter access

2021-04-14 Thread Rob Herring
be mmapped first with perf_evsel__mmap(). Then subsequent calls to perf_evsel__read() will use the fast path (assuming the arch supports it). Signed-off-by: Rob Herring --- v8: - Add call to perf_evsel_munmap() in evsel test v6: - Adapt to mmap changes adding MMAP NULL check v5: - Make raw count

[PATCH v8 3/4] libperf: tests: Add support for verbose printing

2021-04-14 Thread Rob Herring
Add __T_VERBOSE() so tests can add verbose output. The verbose output is enabled with the '-v' command line option. Running 'make tests V=1' will enable the '-v' option when running the tests. Signed-off-by: Rob Herring --- v8: - Update commit msg with running 'make tests V=1'. v5: - Pass

[PATCH v8 1/4] tools/include: Add an initial math64.h

2021-04-14 Thread Rob Herring
]. The original implementation was not optimal on arm64 as __int128 division is not optimal with a call out to __udivti3, so I dropped the __int128 variant of mul_u64_u64_div64(). [1] https://lore.kernel.org/lkml/20200322101848.gf2...@worktop.programming.kicks-ass.net/ Cc: Peter Zijlstra Signed-off-by: Rob

[PATCH v8 0/4] libperf userspace counter access

2021-04-14 Thread Rob Herring
/20201001140116.651970-1-r...@kernel.org/ [6] https://lore.kernel.org/r/20210114020605.3943992-1-r...@kernel.org/ [7] https://lore.kernel.org/r/20210311000837.3630499-1-r...@kernel.org/ [8] https://lore.kernel.org/r/20210413171606.1825808-1-r...@kernel.org/ Rob Herring (4): tools/include: Add an initial math64

Re: [v2 1/2] dt-bindings: Add bindings for aspeed pwm-tach and pwm.

2021-04-14 Thread Rob Herring
On Wed, 14 Apr 2021 18:49:38 +0800, Billy Tsai wrote: > This patch adds device bindings for aspeed pwm-tach device which is a > multi-function device include pwn and tach function and pwm device which > should be the sub-node of pwm-tach device. > > Signed-off-by: Billy Tsai > Change-Id:

[PATCH] phy: Allow a NULL phy name for devm_phy_get()

2021-04-14 Thread Rob Herring
Cc: Vinod Koul Signed-off-by: Rob Herring --- Note that I think the device_link_add later on is now redundant with fw_devlinks. If so, this can be simplified to just calling of_phy_get() for DT case. drivers/phy/phy-core.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions

Re: [PATCH 3/4] dt-bindings: net: can: Document transceiver implementation as phy

2021-04-14 Thread Rob Herring
On Wed, Apr 14, 2021 at 1:49 AM Aswath Govindraju wrote: > > Hi Rob, > > On 12/04/21 11:21 pm, Rob Herring wrote: > > On Fri, Apr 09, 2021 at 07:10:53PM +0530, Aswath Govindraju wrote: > >> From: Faiz Abbas > >> > >> Some transceivers ne

[PATCH] dt-bindings: Add schema for known '/aliases' property names

2021-04-13 Thread Rob Herring
(it's not trivial to check u-boot usage though). These will generate warnings. Cc: Arnd Bergmann Signed-off-by: Rob Herring --- .../devicetree/bindings/aliases.yaml | 101 ++ 1 file changed, 101 insertions(+) create mode 100644 Documentation/devicetree/bindings

Re: [PATCH v7 2/4] libperf: Add evsel mmap support

2021-04-13 Thread Rob Herring
On Tue, Apr 13, 2021 at 1:39 PM Arnaldo Carvalho de Melo wrote: > > Em Tue, Apr 13, 2021 at 12:16:04PM -0500, Rob Herring escreveu: > > In order to support usersapce access, an event must be mmapped. While > > there's already mmap support for evlist, the usecase is a bit

Re: [PATCH] arm64: dts: marvell: armada-37xx: Set linux,pci-domain to zero

2021-04-13 Thread Rob Herring
On Mon, Apr 12, 2021 at 7:41 AM Pali Rohár wrote: > > Since commit 526a76991b7b ("PCI: aardvark: Implement driver 'remove' > function and allow to build it as module") PCIe controller driver for > Armada 37xx can be dynamically loaded and unloaded at runtime. Also driver > allows dynamic binding

Re: Device driver location for the PCIe root port's DMA engine

2021-04-13 Thread Rob Herring
On Mon, Apr 12, 2021 at 12:01 PM Vidya Sagar wrote: > > Hi > I'm starting this mail to seek advice on the best approach to be taken > to add support for the driver of the PCIe root port's DMA engine. > To give some background, Tegra194's PCIe IPs are dual-mode PCIe IPs i.e. > they work either in

Re: [PATCH v6 1/2] dt-bindings: touchscreen: Add HY46XX bindings

2021-04-13 Thread Rob Herring
On Tue, Apr 13, 2021 at 10:27 AM Giulio Benetti wrote: > > On 4/13/21 5:07 PM, Rob Herring wrote: > > On Mon, 12 Apr 2021 17:23:59 +0200, Giulio Benetti wrote: > >> This adds device tree bindings for the Hycon HY46XX touchscreen series. > >> > >> Signed-o

[PATCH v7 4/4] libperf: Add support for user space counter access

2021-04-13 Thread Rob Herring
be mmapped first with perf_evsel__mmap(). Then subsequent calls to perf_evsel__read() will use the fast path (assuming the arch supports it). Signed-off-by: Rob Herring --- v6: - Adapt to mmap changes adding MMAP NULL check v5: - Make raw count s64 instead of u64 so that counter width shifting

[PATCH v7 3/4] libperf: tests: Add support for verbose printing

2021-04-13 Thread Rob Herring
Add __T_VERBOSE() so tests can add verbose output. The verbose output is enabled with the '-v' command line option. Signed-off-by: Rob Herring --- v5: - Pass verbose flag to static tests - Fix getopt loop with unsigned char (arm64) v3: - New patch --- tools/lib/perf/include/internal/tests.h

[PATCH v7 2/4] libperf: Add evsel mmap support

2021-04-13 Thread Rob Herring
as a fastpath for perf_evsel__read(). The mmapped address is returned by perf_evsel__mmap_base() which primarily for users/tests to check if userspace access is enabled. Signed-off-by: Rob Herring --- v7: - Add NULL fd check to perf_evsel__mmap v6: - split mmap struct into it's own xyarray v5

[PATCH v7 1/4] tools/include: Add an initial math64.h

2021-04-13 Thread Rob Herring
]. The original implementation was not optimal on arm64 as __int128 division is not optimal with a call out to __udivti3, so I dropped the __int128 variant of mul_u64_u64_div64(). [1] https://lore.kernel.org/lkml/20200322101848.gf2...@worktop.programming.kicks-ass.net/ Cc: Peter Zijlstra Signed-off-by: Rob

[PATCH v7 0/4] libperf userspace counter access

2021-04-13 Thread Rob Herring
/20201001140116.651970-1-r...@kernel.org/ [6] https://lore.kernel.org/r/20210114020605.3943992-1-r...@kernel.org/ [7] https://lore.kernel.org/r/20210311000837.3630499-1-r...@kernel.org/ Rob Herring (4): tools/include: Add an initial math64.h libperf: Add evsel mmap support libperf: tests: Add support

Re: [PATCH v7 2/3] dt-bindings: touchscreen: Add HY46XX bindings

2021-04-13 Thread Rob Herring
On Tue, 13 Apr 2021 16:44:45 +0200, Giulio Benetti wrote: > This adds device tree bindings for the Hycon HY46XX touchscreen series. > > Signed-off-by: Giulio Benetti > --- > V1->V2: > As suggested by Rob Herring: > * fixed $id: address > * added "hycon,&qu

Re: [PATCH v3 30/33] dt-bindings: media: add microchip,xisc device bindings

2021-04-13 Thread Rob Herring
On Tue, Apr 13, 2021 at 01:57:28PM +0300, Eugen Hristev wrote: > Add bindings for the Microchip eXtended Image Sensor Controller. > Based on the atmel,isc.yaml binding. > > Signed-off-by: Eugen Hristev > --- > .../bindings/media/microchip,xisc.yaml| 129 ++ > 1 file

Re: [PATCH v3 29/33] dt-bindings: media: atmel-isc: convert to yaml

2021-04-13 Thread Rob Herring
--- > 2 files changed, 115 insertions(+), 65 deletions(-) > create mode 100644 Documentation/devicetree/bindings/media/atmel,isc.yaml > delete mode 100644 Documentation/devicetree/bindings/media/atmel-isc.txt > Reviewed-by: Rob Herring

Re: [PATCH v2 1/3] dt-bindings: crypto: ti,sa2ul: Add new compatible for AM64

2021-04-13 Thread Rob Herring
t; --- > .../devicetree/bindings/crypto/ti,sa2ul.yaml | 24 ++- > 1 file changed, 23 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring

Re: [PATCH v4 1/4] dt-bindings: pinctrl: mt8195: add pinctrl file and binding document

2021-04-13 Thread Rob Herring
e/dt-bindings/pinctrl/mt8195-pinfunc.h | 962 ++ > 2 files changed, 1113 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/pinctrl/pinctrl-mt8195.yaml > create mode 100644 include/dt-bindings/pinctrl/mt8195-pinfunc.h > Reviewed-by: Rob Herring

Re: [PATCH v3 2/3] dt-bindings: mfd: pm8008: Add bindings

2021-04-13 Thread Rob Herring
anged, 121 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml > Reviewed-by: Rob Herring

Re: [PATCH 6/6] dt-bindings: power: mfd: ab8500: Convert to DT schema format

2021-04-13 Thread Rob Herring
On Tue, Apr 13, 2021 at 01:03:20AM +0200, Sebastian Reichel wrote: > Convert the binding to DT schema format. > > I slightly modified the binding by renaming the gpio node from > ab8500-gpio to ab8500-gpiocontroller, since the -gpio suffix > is used for gpio consumers. > > Signed-off-by:

Re: [PATCH 5/6] dt-bindings: power: mfd: max8925: Convert to DT schema format

2021-04-13 Thread Rob Herring
On Tue, Apr 13, 2021 at 01:03:19AM +0200, Sebastian Reichel wrote: > Convert the binding to DT schema format. > > The sub-functions of this MFD device do not have their own compatible > string and are thus described directly in the MFD binding document > after being converted to YAML. > >

Re: [PATCH 4/6] dt-bindings: power: supply: charger-manager: Convert to DT schema format

2021-04-13 Thread Rob Herring
files changed, 215 insertions(+), 91 deletions(-) > delete mode 100644 > Documentation/devicetree/bindings/power/supply/charger-manager.txt > create mode 100644 > Documentation/devicetree/bindings/power/supply/charger-manager.yaml > Reviewed-by: Rob Herring

Re: [PATCH v2 1/3] dt-bindings: gpio: add YAML description for rockchip, gpio-bank

2021-04-13 Thread Rob Herring
> 2 files changed, 83 insertions(+), 57 deletions(-) > create mode 100644 > Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml > Reviewed-by: Rob Herring

Re: [”PATCH” 3/5] dt-bindings: pci: add system controller and MAC reset bit to Armada 7K/8K controller bindings

2021-04-13 Thread Rob Herring
On Mon, Apr 12, 2021 at 06:30:54PM +0300, bpe...@marvell.com wrote: > From: Ben Peled > > Adding optional system-controller and mac-reset-bit-mask > needed for linkdown procedure. > > Signed-off-by: Ben Peled > --- > Documentation/devicetree/bindings/pci/pci-armada8k.txt | 6 ++ > 1 file

Re: [PATCH v3 1/3] dt-bindings: display: bridge: add it66121 bindings

2021-04-13 Thread Rob Herring
+ > 1 file changed, 123 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/display/bridge/ite,it66121.yaml > Reviewed-by: Rob Herring

Re: [PATCH v6 1/2] dt-bindings: touchscreen: Add HY46XX bindings

2021-04-13 Thread Rob Herring
On Mon, 12 Apr 2021 17:23:59 +0200, Giulio Benetti wrote: > This adds device tree bindings for the Hycon HY46XX touchscreen series. > > Signed-off-by: Giulio Benetti > --- > V1->V2: > As suggested by Rob Herring: > * fixed $id: address > * added "hycon,&qu

Re: [PATCH v4 1/2] mfd: google,cros-ec: add DT bindings for a baseboard's switch device

2021-04-13 Thread Rob Herring
On Mon, Apr 12, 2021 at 07:30:19PM +0800, Ikjoon Jang wrote: > This is for ChromeOS tablets which have a 'cros_cbas' switch device > in the "Whiskers" base board. This device can be instantiated only by > device tree on ARM platforms. ChromeOS EC doesn't provide a way to > probe the device. > >

Re: [PATCH v3 1/4] dt-bindings: mfd: Add bindings for Ampere Altra SMPro drivers

2021-04-13 Thread Rob Herring
On Fri, Apr 09, 2021 at 10:13:29AM +0700, Quan Nguyen wrote: > Adds device tree bindings for SMPro drivers found on the Mt.Jade hardware > reference platform with Ampere's Altra Processor family. > > Signed-off-by: Quan Nguyen > --- > .../bindings/hwmon/ampere,ac01-hwmon.yaml | 28 + >

Re: [PATCH v3 2/4] dt-bindings: pwm: add more compatible strings to pwm-rockchip.yaml

2021-04-13 Thread Rob Herring
; someone makes a solution for the whole PWM block. > > Changed V3: > fix mistake with compatibles introduced in V2 > Changed V2: > changed schema for clocks and clock-names > --- > Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml | 12 > 1 file changed, 12 insertions(+) > Reviewed-by: Rob Herring

Re: [PATCH v5 1/3] dt-bindings: Add Hycon Technology vendor prefix

2021-04-13 Thread Rob Herring
On Mon, Apr 12, 2021 at 10:12 AM Giulio Benetti wrote: > > On 4/12/21 5:05 PM, Rob Herring wrote: > > On Sun, 11 Apr 2021 13:48:02 +0200, Giulio Benetti wrote: > >> Update Documentation/devicetree/bindings/vendor-prefixes.yaml to > >> include "hycon"

Re: [PATCH v3 1/4] dt-bindings: pwm: convert pwm-rockchip.txt to YAML

2021-04-13 Thread Rob Herring
delete mode 100644 Documentation/devicetree/bindings/pwm/pwm-rockchip.txt > create mode 100644 Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml > Reviewed-by: Rob Herring

Re: [PATCH 1/4] dt-bindings: phy: Add binding for TI TCAN104x CAN transceivers

2021-04-13 Thread Rob Herring
On Tue, Apr 13, 2021 at 2:41 AM Marc Kleine-Budde wrote: > > On 12.04.2021 12:49:56, Rob Herring wrote: > > On Mon, Apr 12, 2021 at 12:19:30PM +0200, Marc Kleine-Budde wrote: > > > On 4/9/21 3:40 PM, Aswath Govindraju wrote: > > > > Add binding documentation

Re: [PATCH 1/2] dt-bindings: iio: accel: Add SCA3300 documentation

2021-04-12 Thread Rob Herring
On Mon, Apr 12, 2021 at 10:50:55AM +0300, Tomas Melin wrote: > initial DT bindings for Murata SCA3300 Accelerometer. > > Signed-off-by: Tomas Melin > --- > .../bindings/iio/accel/sca3300.yaml | 51 +++ > 1 file changed, 51 insertions(+) > create mode 100644

Re: [PATCH v1] dt-bindings: gpio: add YAML description for rockchip,gpio-bank

2021-04-12 Thread Rob Herring
On Sun, Apr 11, 2021 at 07:54:35PM +0200, Johan Jonker wrote: > Current dts files with "rockchip,gpio-bank" subnodes > are manually verified. In order to automate this process > the text that describes the compatible in rockchip,pinctrl.txt > is removed and converted to YAML in

Re: [PATCH v2 1/6] dt-bindings: pwm: convert pwm-rockchip.txt to YAML

2021-04-12 Thread Rob Herring
ee/bindings/pwm/pwm-rockchip.txt > create mode 100644 Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml > Reviewed-by: Rob Herring

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