• Simon Horman's avatar
    arm64: dts: renesas: r8a7795: Add address properties to rcar_sound port nodes · 2d87dc0e
    Simon Horman authored
    The rcar_sound port nodes have unit names and thus should have register
    properties.
    
    This is flagged by dtc as follows:
     # make dtbs W=1
     ...
     DTC     arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dtb
     arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound@ec500000/ports/port@0: node has a unit name, but no reg property
    arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound@ec500000/ports/port@1: node has a unit name, but no reg property
    arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound@ec500000/ports/port@2: node has a unit name, but no reg property
      ...
      DTC     arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dtb
    arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dtb: Warning (unit_address_vs_reg): /soc/sound@ec500000/ports/port@0: node has a unit name, but no reg property
    arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dtb: Warning (unit_address_vs_reg): /soc/sound@ec500000/ports/port@1: node has a unit name, but no reg property
    arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dtb: Warning (unit_address_vs_reg): /soc/sound@ec500000/ports/port@2: node has a unit name, but no reg property
      DTC     arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dtb
    arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound@ec500000/ports/port@0: node has a unit name, but no reg property
    arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound@ec500000/ports/port@1: node has a unit name, but no reg property
    arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound@ec500000/ports/port@2: node has a unit name, but no reg property
    
    Prior to this patch the port nodes only defined in board DTS files.
    As the register properties are common this patch defines the port nodes
    and provides register properties in the SoC DTS file.
    Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
    Reviewed-by: default avatarNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
    2d87dc0e
r8a7795.dtsi 71.5 KB