[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a1Ad+u9DHXkAe=p6pzCm0b24wvh8NH+Y3n6RRup7maBuA@mail.gmail.com>
Date: Wed, 13 Feb 2019 15:28:36 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Baolin Wang <baolin.wang@...aro.org>
Cc: Lee Jones <lee.jones@...aro.org>, Mark Brown <broonie@...nel.org>,
Orson Zhai <orsonzhai@...il.com>,
Lyra Zhang <zhang.lyra@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mfd: sc27xx: Use SoC compatible string for PMIC devices
On Wed, Feb 13, 2019 at 1:57 PM Baolin Wang <baolin.wang@...aro.org> wrote:
>
> We should use SoC compatible string in stead of wildcard string for
> PMIC child devices.
>
> Signed-off-by: Baolin Wang <baolin.wang@...aro.org>
Looks good. I had a look at arch/arm64/boot/dts/sprd/sc2731.dtsi
as well, which contains lines such as
compatible = "sprd,sc27xx-efuse", "sprd,sc2731-efuse";
which fortunately work with both variants of the driver.
Just to make sure we have the same understanding though:
- Other drivers will leave out the 27xx part and just do
compatible = sprd,sc2732-efuse", "sprd,sc2731-efuse";
- When you specific a generic name (such as the sc2731 part),
the more specific one (e.g. sc2732) needs to come /first/.
The current DT appears to have those mixed up.
Arnd
Powered by blists - more mailing lists