Skip to content
Permalink
Pratyush-Yadav…
Switch branches/tags

Commits on Jan 21, 2022

  1. phy: dt-bindings: Add Cadence D-PHY Rx bindings

    The Rx mode DPHY is different from Tx mode DPHY. Add a separate binding
    for it.
    
    Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Reviewed-by: Rob Herring <robh@kernel.org>
    Pratyush Yadav authored and intel-lab-lkp committed Jan 21, 2022
  2. phy: dt-bindings: cdns,dphy: add power-domains property

    This property is needed on TI platforms to enable the PD of the DPHY
    before it can be used.
    
    Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Acked-by: Rob Herring <robh@kernel.org>
    Pratyush Yadav authored and intel-lab-lkp committed Jan 21, 2022
  3. phy: dt-bindings: Convert Cadence DPHY binding to YAML

    Convert Cadence DPHY binding to YAML.
    
    Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Reviewed-by: Rob Herring <robh@kernel.org>
    Pratyush Yadav authored and intel-lab-lkp committed Jan 21, 2022
  4. phy: cadence: Add Cadence D-PHY Rx driver

    The Cadence D-PHY can be configured in Tx (DSI) mode or Rx (CSI) mode.
    Both modes have a different programming sequence and share little among
    them. In addition, a PHY configured in Tx mode cannot be used in Rx mode
    and vice versa. For this reason, create a separate driver for the Rx
    mode to make it easier to read and maintain.
    
    Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Pratyush Yadav authored and intel-lab-lkp committed Jan 21, 2022

Commits on Jan 20, 2022

  1. dt-bindings: google,cros-ec: drop Enric Balletbo i Serra from maintai…

    …ners
    
    Enric Balletbo i Serra emails bounce:
    
      <enric.balletbo@collabora.com>: Recipient address rejected: User unknown in  local recipient table
    
    so drop him from the maintainers, similarly to commit 3119c28
    ("MAINTAINERS: Chrome: Drop Enric Balletbo i Serra").
    
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Acked-by: Lee Jones <lee.jones@linaro.org>
    Acked-by: Enric Balletbo i Serra <eballetbo@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220120104009.159147-2-krzysztof.kozlowski@canonical.com
    krzk authored and robherring committed Jan 20, 2022
  2. dt-bindings: display: bridge: drop Enric Balletbo i Serra from mainta…

    …iners
    
    Enric Balletbo i Serra emails bounce:
    
      <enric.balletbo@collabora.com>: Recipient address rejected: User unknown in  local recipient table
    
    so drop him from the maintainers, similarly to commit 3119c28
    ("MAINTAINERS: Chrome: Drop Enric Balletbo i Serra").  Add generic DRM
    bridge maintainers to Analogix ANX7814.
    
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Acked-by: Neil Armstrong <narmstrong@baylibre.com>
    Acked-by: Enric Balletbo i Serra <eballetbo@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220120104009.159147-1-krzysztof.kozlowski@canonical.com
    krzk authored and robherring committed Jan 20, 2022
  3. of: Check 'of_node_reused' flag on of_match_device()

    Commit 0f153a1 ("usb: chipidea: Set the DT node on the child
    device") caused the child device to match on the parent driver
    instead of the child's driver since the child's DT node pointer matched.
    The worst case result is a loop of the parent driver probing another
    instance and creating yet another child device eventually exhausting the
    stack. If the child driver happens to match first, then everything works
    fine.
    
    A device sharing the DT node should never do DT based driver matching,
    so let's simply check of_node_reused in of_match_device() to prevent
    that.
    
    Fixes: 0f153a1 ("usb: chipidea: Set the DT node on the child device")
    Link: https://lore.kernel.org/all/20220114105620.GK18506@ediswmail.ad.cirrus.com/
    Reported-by: Charles Keepax <ckeepax@opensource.cirrus.com>
    Cc: Frank Rowand <frowand.list@gmail.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Tony Lindgren <tony@atomide.com>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Peter Chen <peter.chen@nxp.com>
    Tested-by: Charles Keepax <ckeepax@opensource.cirrus.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220118173404.1891800-1-robh@kernel.org
    robherring committed Jan 20, 2022
  4. of: property: define of_property_read_u{8,16,32,64}_array() unconditi…

    …onally
    
    We can get rid of all the empty stubs because all these functions call
    of_property_read_variable_u{8,16,32,64}_array() which already have an
    empty stub if CONFIG_OF is not defined.
    
    Signed-off-by: Michael Walle <michael@walle.cc>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220118173504.2867523-3-michael@walle.cc
    mwalle authored and robherring committed Jan 20, 2022
  5. of: base: make small of_parse_phandle() variants static inline

    Make all the smaller variants of the of_parse_phandle() static inline.
    This also let us remove the empty function stubs if CONFIG_OF is not
    defined.
    
    Suggested-by: Rob Herring <robh@kernel.org>
    Signed-off-by: Michael Walle <michael@walle.cc>
    [robh: move index < 0 check into __of_parse_phandle_with_args]
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220118173504.2867523-2-michael@walle.cc
    mwalle authored and robherring committed Jan 20, 2022
  6. dt-bindings: mfd: cirrus,madera: Fix 'interrupts' in example

    The 'interrupts' properties takes an irq number, not a phandle, and
    'interrupt-parent' isn't needed in examples.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
    Link: https://lore.kernel.org/r/20220119015611.2442819-1-robh@kernel.org
    robherring committed Jan 20, 2022
  7. dt-bindings: Fix array schemas encoded as matrices

    The YAML DT encoding has leaked into some array properties. Properties
    which are defined as an array should have a schema that's just an array.
    That means there should only be a single level of 'minItems',
    'maxItems', and/or 'items'.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
    Link: https://lore.kernel.org/r/20220119015627.2443334-1-robh@kernel.org
    robherring committed Jan 20, 2022
  8. dt-bindings: Drop unnecessary pinctrl properties

    For a single pinctrl mode, it is not necessary to define pinctrl
    properties as the tools always allow pinctrl properties.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
    Acked-by: Mark Brown <broonie@kernel.org>
    Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Link: https://lore.kernel.org/r/20220119015325.2438277-1-robh@kernel.org
    robherring committed Jan 20, 2022

Commits on Jan 19, 2022

  1. dt-bindings: rtc: st,stm32-rtc: Make each example a separate entry

    Each independent example should be a separate entry. This allows for
    'interrupts' to have different cell sizes.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220106182518.1435497-7-robh@kernel.org
    robherring committed Jan 19, 2022
  2. dt-bindings: mmc: arm,pl18x: Make each example a separate entry

    Each independent example should be a separate entry. This and dropping
    'interrupt-parent' allows for 'interrupts' to have different cell sizes.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
    Link: https://lore.kernel.org/r/20220106182518.1435497-6-robh@kernel.org
    robherring committed Jan 19, 2022
  3. dt-bindings: display: Add SPI peripheral schema to SPI based displays

    With 'unevaluatedProperties' support enabled, several SPI based display
    binding examples have warnings:
    
    Documentation/devicetree/bindings/display/panel/samsung,ld9040.example.dt.yaml: lcd@0: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'spi-max-frequency', 'spi-cpol', 'spi-cpha' were unexpected)
    Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.example.dt.yaml: panel@0: Unevaluated properties are not allowed ('spi-max-frequency', 'spi-3wire' were unexpected)
    Documentation/devicetree/bindings/display/panel/ilitek,ili9322.example.dt.yaml: display@0: Unevaluated properties are not allowed ('reg' was unexpected)
    Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.example.dt.yaml: display@0: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected)
    Documentation/devicetree/bindings/display/panel/abt,y030xx067a.example.dt.yaml: panel@0: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected)
    Documentation/devicetree/bindings/display/panel/sony,acx565akm.example.dt.yaml: panel@2: Unevaluated properties are not allowed ('spi-max-frequency', 'reg' were unexpected)
    Documentation/devicetree/bindings/display/panel/tpo,td.example.dt.yaml: panel@0: Unevaluated properties are not allowed ('spi-max-frequency', 'spi-cpol', 'spi-cpha' were unexpected)
    Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.example.dt.yaml: panel@0: Unevaluated properties are not allowed ('reg', 'spi-max-frequency', 'spi-cpol', 'spi-cpha' were unexpected)
    Documentation/devicetree/bindings/display/panel/innolux,ej030na.example.dt.yaml: panel@0: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected)
    Documentation/devicetree/bindings/display/panel/sitronix,st7789v.example.dt.yaml: panel@0: Unevaluated properties are not allowed ('spi-max-frequency', 'spi-cpol', 'spi-cpha' were unexpected)
    
    Fix all of these by adding a reference to spi-peripheral-props.yaml.
    With this, the description that the binding must follow
    spi-controller.yaml is both a bit out of date and redundant, so remove
    it.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
    Acked-by: Paul Cercueil <paul@crapouillou.net>
    Acked-by: Sam Ravnborg <sam@ravnborg.org>
    Link: https://lore.kernel.org/r/20211221125209.1195932-1-robh@kernel.org
    robherring committed Jan 19, 2022

Commits on Jan 17, 2022

  1. scripts/dtc: dtx_diff: remove broken example from help text

    dtx_diff suggests to use <(...) syntax to pipe two inputs into it, but
    this has never worked: The /proc/self/fds/... paths passed by the shell
    will fail the `[ -f "${dtx}" ] && [ -r "${dtx}" ]` check in compile_to_dts,
    but even with this check removed, the function cannot work: hexdump will
    eat up the DTB magic, making the subsequent dtc call fail, as a pipe
    cannot be rewound.
    
    Simply remove this broken example, as there is already an alternative one
    that works fine.
    
    Fixes: 10eadc2 ("dtc: create tool to diff device trees")
    Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
    Reviewed-by: Frank Rowand <frank.rowand@sony.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220113081918.10387-1-matthias.schiffer@ew.tq-group.com
    schiffermtq authored and robherring committed Jan 17, 2022
  2. dt-bindings: trivial-devices: fix double spaces in comments

    Cleanup double spaces in some of the comments.
    
    Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/13b3f66efd3b20f1d9bbb9eff1eca00757ac5367.1642080090.git.stano.jakubek@gmail.com
    Stanislav Jakubek authored and robherring committed Jan 17, 2022
  3. dt-bindings: trivial-devices: fix swapped comments

    sparkfun,qwiic-joystick and st,24c256 had their comments incorrectly
    swapped. Swap them to make them correct.
    
    Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/7dc6ddb0b042cd243b2875e9aea81cad541d1c6b.1642080090.git.stano.jakubek@gmail.com
    Stanislav Jakubek authored and robherring committed Jan 17, 2022
  4. dt-bindings: vendor-prefixes: add Wingtech

    The vendor prefix for Wingtech [1] is used in device tree [2], but was
    not documented so far. Add it to the schema to document it.
    
    [1] http://www.wingtech.com/en
    [2] arch/arm64/boot/dts/qcom/msm8916-wingtech-wt88047.dts
    
    Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220113103110.GA4488@standask-GA-A55M-S2HP
    Stanislav Jakubek authored and robherring committed Jan 17, 2022
  5. dt-bindings: vendor-prefixes: add Thundercomm

    The vendor prefix for Thundercomm [1] is used in device tree [2], but
    was not documented so far. Add it to the schema to document it.
    
    [1] https://www.thundercomm.com/
    [2] arch/arm64/boot/dts/qcom/sdm845-db845c.dts
    
    Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220113103036.GA4456@standask-GA-A55M-S2HP
    Stanislav Jakubek authored and robherring committed Jan 17, 2022
  6. dt-bindings: vendor-prefixes: add Huawei

    The vendor prefix for Huawei [1] is used in device trees [2][3], but was
    not documented so far. Add it to the schema to document it.
    
    [1] https://www.huawei.com/en/
    [2] arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts
    [3] arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts
    
    Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220113103005.GA4421@standask-GA-A55M-S2HP
    Stanislav Jakubek authored and robherring committed Jan 17, 2022
  7. dt-bindings: vendor-prefixes: add F(x)tec

    The vendor prefix for F(x)tec [1] is used in device tree [2], but was
    not documented so far. Add it to the schema to document it.
    
    [1] https://www.fxtec.com/
    [2] arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts
    
    Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220113102926.GA4388@standask-GA-A55M-S2HP
    Stanislav Jakubek authored and robherring committed Jan 17, 2022
  8. dt-bindings: vendor-prefixes: add 8devices

    The vendor prefix for 8devices [1] is used in device tree [2], but was
    not documented so far. Add it to the schema to document it.
    
    [1] https://www.8devices.com/
    [2] arch/arm/boot/dts/qcom-ipq4018-jalapeno.dts
    
    Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220113102842.GA4357@standask-GA-A55M-S2HP
    Stanislav Jakubek authored and robherring committed Jan 17, 2022
  9. dt-bindings: power: reset: gpio-restart: Correct default priority

    Commit bcd56fe ("power: reset: gpio-restart: increase priority
    slightly") changed the default restart priority 129, but did not update
    the documentation. Correct this, so the driver and documentation have
    the same default value.
    
    Signed-off-by: Sander Vanheule <sander@svanheule.net>
    Reviewed-by: Rob Herring <robh@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220110214456.67087-1-sander@svanheule.net
    svanheule authored and robherring committed Jan 17, 2022

Commits on Jan 12, 2022

  1. Merge branch 'dt/linus' into dt/next

    Pick a fix which didn't make it into v5.16.
    robherring committed Jan 12, 2022
  2. dt-bindings: net: mdio: Drop resets/reset-names child properties

    resets/reset-names are device specific and don't belong in the MDIO bus
    schema. For example, it doesn't match what is defined for the
    "qca,ar9331-switch" binding which defines "reset-names" to be "switch"
    rather than "phy". Neither name is that useful IMO.
    
    Other child properties are also device specific, but those won't conflict
    with device schemas.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220111170248.3160841-1-robh@kernel.org
    robherring committed Jan 12, 2022

Commits on Jan 11, 2022

  1. dt-bindings: clock: samsung: convert S5Pv210 to dtschema

    Convert Samsung S5Pv210 SoC clock controller bindings to DT schema
    format.
    
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Reviewed-by: Stephen Boyd <sboyd@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220102115356.75796-8-krzysztof.kozlowski@canonical.com
    krzk authored and robherring committed Jan 11, 2022
  2. dt-bindings: clock: samsung: convert Exynos5410 to dtschema

    Convert Samsung Exynos5410 SoC clock controller bindings to DT schema
    format.
    
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Reviewed-by: Stephen Boyd <sboyd@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220102115356.75796-7-krzysztof.kozlowski@canonical.com
    krzk authored and robherring committed Jan 11, 2022
  3. dt-bindings: clock: samsung: convert Exynos5260 to dtschema

    Convert Samsung Exynos5260 SoC clock controller bindings to DT schema
    format.
    
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Acked-by: Stephen Boyd <sboyd@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220102115356.75796-6-krzysztof.kozlowski@canonical.com
    krzk authored and robherring committed Jan 11, 2022
  4. dt-bindings: clock: samsung: extend Exynos7 bindings with UFS

    The UFS for Exynos7 SoC clock controller requires additional input
    clocks for the FSYS1 clock controller.  Update the bindings to reflect
    this, at least in theory.  In practice, these input clocks are ignored,
    so it is rather adjusting of bindings to existing DTS, without affecting
    any real users.  I understand that is not how it should be done,
    though...
    
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Acked-by: Stephen Boyd <sboyd@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220102115356.75796-5-krzysztof.kozlowski@canonical.com
    krzk authored and robherring committed Jan 11, 2022
  5. dt-bindings: clock: samsung: convert Exynos7 to dtschema

    Convert Samsung Exynos7 SoC clock controller bindings to DT schema
    format.
    
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Acked-by: Stephen Boyd <sboyd@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220102115356.75796-4-krzysztof.kozlowski@canonical.com
    krzk authored and robherring committed Jan 11, 2022
  6. dt-bindings: clock: samsung: convert Exynos5433 to dtschema

    Convert Samsung Exynos5433 SoC clock controller bindings to DT schema
    format.
    
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Acked-by: Stephen Boyd <sboyd@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220102115356.75796-3-krzysztof.kozlowski@canonical.com
    krzk authored and robherring committed Jan 11, 2022
  7. dt-bindings: i2c: maxim,max96712: Add bindings for Maxim Integrated M…

    …AX96712
    
    Add bindings for Maxim Integrated MAX96712 deserializer. The MAX96712
    deserializer converts GMSL2 or GMSL1 serial inputs into MIPI CSI-2 D-PHY
    or C-PHY formatted outputs.
    
    Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
    Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20211230123354.623876-1-niklas.soderlund+renesas@ragnatech.se
    Niklas Söderlund authored and robherring committed Jan 11, 2022
  8. dt-bindings: iio: adi,ltc2983: Fix 64-bit property sizes

    The '/bits/ 64' notation applies the next <> list of values. Another <> list
    is encoded as 32-bits by default. IOW, each <> list needs to be preceeded
    with '/bits/ 64'.
    
    While the dts format allows this, as a rule we don't mix sizes for DT
    properties since all size information is lost in the dtb file.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
    Reviewed-by: Nuno Sá <nuno.sa@analog.com>
    Link: https://lore.kernel.org/r/20220107032026.2408196-1-robh@kernel.org
    robherring committed Jan 11, 2022
  9. dt-bindings: power: maxim,max17040: Fix incorrect type for 'maxim,rcomp'

    The 'maxim,rcomp' is defined as a uint32, but the description and users all
    say it is uint8-array with 1 or 2 elements. The tools missed checking this
    case.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Link: https://lore.kernel.org/r/20220107030433.2381616-1-robh@kernel.org
    robherring committed Jan 11, 2022
Older