Re: [PATCH v3 2/9] ARM: dts: s5pv210: Add initial DTS for Samsung Aries based phones

From: Krzysztof Kozlowski
Date: Sat Jul 07 2018 - 04:44:11 EST


On Fri, Jul 06, 2018 at 08:32:43PM +0200, PaweÅ Chmiel wrote:
> This DTS file have initial support Samsung Aries based phones.
> Initial version have support for:
> - sdcard
> - internal memory (present only on non 4g variant)
> - max8998 pmic and rtc
> - max17040 fuel gauge
> - gpio keys
> - fimd (no panel driver yet)
> - usb (peripherial mode)
> - wifi
>
> Signed-off-by: PaweÅ Chmiel <pawel.mikolaj.chmiel@xxxxxxxxx>
> ---
> Changes from v2:
> - Restored pinctrl nodes order
> - Correct order of nodes
>
> Changes from v1:
> - Removed duplicated and unneeded headers
> - Corrected node names
> - Added missing spaces
> - Removed unneeded pinctrl and sorted entries
> - Set correct interrupt type for max8998 pmic
> - Add missing regulators
> ---
> ---

I applied this and 3/9 but then dtc complained about warnings
make dtbs W=1:

arch/arm/boot/dts/s5pv210-galaxys.dtb: Warning (unit_address_vs_reg): /soc/fimd@f8000000/display-timings/timing@0: node has a unit name, but no reg property
arch/arm/boot/dts/s5pv210-galaxys.dtb: Warning (avoid_unnecessary_addr_size): /soc/fimd@f8000000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

These should be fixed (unless such warning come from following bindings,
e.g. like in case of ports for Exynos HDMI nodes).

Please, always run dtbs W=1 for DTS patches, check with sparse for
regular code and checkpatch for everything. Checks with smatch
and coccinelle are also appreciated (although coccinelle is run by
kbuild bot).

Best regards,
Krzysztof