Re: [PATCH v9 06/13] of: property: fw_devlink: Add support for "access-controller"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH v9 06/13] of: property: fw_devlink: Add support for "access-controller"
- From: Alexandre TORGUE <alexandre.torgue@xxxxxxxxxxx>
- Date: Wed, 24 Apr 2024 14:19:18 +0200
- Cc: <Oleksii_Moisieiev@xxxxxxxx>, <gregkh@xxxxxxxxxxxxxxxxxxx>, <herbert@xxxxxxxxxxxxxxxxxxx>, <davem@xxxxxxxxxxxxx>, <robh+dt@xxxxxxxxxx>, <krzysztof.kozlowski+dt@xxxxxxxxxx>, <conor+dt@xxxxxxxxxx>, <vkoul@xxxxxxxxxx>, <jic23@xxxxxxxxxx>, <olivier.moysan@xxxxxxxxxxx>, <arnaud.pouliquen@xxxxxxxxxxx>, <mchehab@xxxxxxxxxx>, <fabrice.gasnier@xxxxxxxxxxx>, <andi.shyti@xxxxxxxxxx>, <ulf.hansson@xxxxxxxxxx>, <edumazet@xxxxxxxxxx>, <kuba@xxxxxxxxxx>, <pabeni@xxxxxxxxxx>, <hugues.fruchet@xxxxxxxxxxx>, <lee@xxxxxxxxxx>, <will@xxxxxxxxxx>, <catalin.marinas@xxxxxxx>, <arnd@xxxxxxxxxx>, <richardcochran@xxxxxxxxx>, Frank Rowand <frowand.list@xxxxxxxxx>, <peng.fan@xxxxxxxxxxx>, <lars@xxxxxxxxxx>, <rcsekar@xxxxxxxxxxx>, <wg@xxxxxxxxxxxxxx>, <mkl@xxxxxxxxxxxxxx>, <linux-crypto@xxxxxxxxxxxxxxx>, <devicetree@xxxxxxxxxxxxxxx>, <linux-stm32@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, <dmaengine@xxxxxxxxxxxxxxx>, <linux-i2c@xxxxxxxxxxxxxxx>, <linux-iio@xxxxxxxxxxxxxxx>, <alsa-devel@xxxxxxxxxxxxxxxx>, <linux-media@xxxxxxxxxxxxxxx>, <linux-mmc@xxxxxxxxxxxxxxx>, <netdev@xxxxxxxxxxxxxxx>, <linux-phy@xxxxxxxxxxxxxxxxxxx>, <linux-serial@xxxxxxxxxxxxxxx>, <linux-spi@xxxxxxxxxxxxxxx>, <linux-usb@xxxxxxxxxxxxxxx>, Rob Herring <robh@xxxxxxxxxx>
- In-reply-to: <CAGETcx8HdnspNfDEJP+cqShJPsDryzGkOVq6B99cFQzkZi3dMg@mail.gmail.com>
- References: <20240105130404.301172-1-gatien.chevallier@foss.st.com> <20240105130404.301172-7-gatien.chevallier@foss.st.com> <CAGETcx8HdnspNfDEJP+cqShJPsDryzGkOVq6B99cFQzkZi3dMg@mail.gmail.com>
- User-agent: Mozilla Thunderbird
Hi Saravana
On 4/24/24 07:57, Saravana Kannan wrote:
On Fri, Jan 5, 2024 at 5:03 AM Gatien Chevallier
<gatien.chevallier@xxxxxxxxxxx> wrote:
Allows tracking dependencies between devices and their access
controller.
Signed-off-by: Gatien Chevallier <gatien.chevallier@xxxxxxxxxxx>
Acked-by: Rob Herring <robh@xxxxxxxxxx>
Please cc me on fw_devlink patches. Also, this patch is breaking the
norm below. Please send a fix up patch.
---
Changes in V9:
- Added Rob's review tag
Changes in V6:
- Renamed access-controller to access-controllers
Changes in V5:
- Rename feature-domain* to access-control*
Patch not present in V1
drivers/of/property.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/of/property.c b/drivers/of/property.c
index afdaefbd03f6..7f737eac91b2 100644
--- a/drivers/of/property.c
+++ b/drivers/of/property.c
@@ -1268,6 +1268,7 @@ DEFINE_SIMPLE_PROP(leds, "leds", NULL)
DEFINE_SIMPLE_PROP(backlight, "backlight", NULL)
DEFINE_SIMPLE_PROP(panel, "panel", NULL)
DEFINE_SIMPLE_PROP(msi_parent, "msi-parent", "#msi-cells")
+DEFINE_SIMPLE_PROP(access_controllers, "access-controllers", "#access-controller-cells")
DEFINE_SUFFIX_PROP(regulators, "-supply", NULL)
DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells")
@@ -1363,6 +1364,7 @@ static const struct supplier_bindings of_supplier_bindings[] = {
{ .parse_prop = parse_regulators, },
{ .parse_prop = parse_gpio, },
{ .parse_prop = parse_gpios, },
+ { .parse_prop = parse_access_controllers, },
All the simple properties are listed before the suffix ones as the
suffix checks are more expensive. So, you should have inserted this
right before the suffix properties. Also, there's a merge conflict in
linux-next. So make sure you take that into account when sending the
fix up and picking the order.
I'm fixing the stm32-next branch by inserting
{ .parse_prop = parse_access_controllers, },
just before
{ .parse_prop = parse_regulators, },
-Saravana
{}
};
--
2.35.3
[Index of Archives]
[Linux Kernel]
[Linux ARM (vger)]
[Linux ARM MSM]
[Linux Omap]
[Linux Arm]
[Linux Tegra]
[Fedora ARM]
[Linux for Samsung SOC]
[eCos]
[Linux Fastboot]
[Gcc Help]
[Git]
[DCCP]
[IETF Announce]
[Security]
[Linux MIPS]
[Yosemite Campsites]
|