Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3000413rdb; Tue, 12 Sep 2023 21:02:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGIbwmXQKqiBMTJ2cVWrDl9+KY8ayv24PrhlcQc6phybBrdxgcCOudpwsBXtbZuWsippDpZ X-Received: by 2002:a17:902:ea01:b0:1bd:b8c8:98f8 with SMTP id s1-20020a170902ea0100b001bdb8c898f8mr1907864plg.4.1694577779565; Tue, 12 Sep 2023 21:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694577779; cv=none; d=google.com; s=arc-20160816; b=nLGPy0S6vIKhHz+geING94uo1j3ij+WgCfYH5Xe8EAKGlzMdsNAJ0bm7rcd+/beHtF 2d2XPmJtP/BNntc4GhgbKNESQrlsCTBfH8Qvu2p6cz3pQdgb6CvShrgEiR/FqRtcpfiG u3HsoSboZ+BgZwSKnnAP2e3WRB+a2AsR/W1HFutMaP82Yu2KBEpeE9c3Gs9UKOqBV+xz 1yMN3vn01eq7O9siiuiQ52V1Z9+oxQyNfPLVHyLS4gg4XH/1KnGgXsB4FtrSaon7yVeX StROfUmYpXYcqabY6LrE6Ynw0rznbCqQ6YL2p2fYYEVvZlAu9XmInUB/y7ikFbNkoiYt WCCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=HyJmDwSUEBAT5TkJCd5pReZaLPzxfz30Afne5dFuwCE=; fh=8W3XmiLXn5eCO5a58LJ22Y9wzv+xCwGXeMITUl4NNYY=; b=lvfSkuTtnL2zmMrpJDbLXqAm4n6QdhChN/WRPnL7+k7rLNlW8cXUezaOGz8nKIqucp 0iJBg3s5zW41BXG3vbQGpg2lx/wEGy8e23Hm0uuEZePaBqq8kgVnPZNwBR+eRRBDCmYB ebpp4c+C7RIBY6B6dcuSl+w8ir/qw2EDhWIYR6yMUpn5UhL/b1ebqrWmfuVC0f564E8i L0riMWwFg8st0qmJLEx727zyamOYrAnxF7xqd55U5oUPTq98Si3ifaplKxNFcCVm+9C9 hfVaWCKExf8yi9nvzJ3yByyb8OqGYyXOMKryP4R2tue7qzoT8QEHHKaA5j3/2fY9D7M6 VmHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Kpvobm1w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id u13-20020a170903124d00b001c0a165a219si9750389plh.134.2023.09.12.21.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 21:02:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Kpvobm1w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 7B34882CBA54; Tue, 12 Sep 2023 16:00:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233749AbjILXAn (ORCPT + 99 others); Tue, 12 Sep 2023 19:00:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230162AbjILXAm (ORCPT ); Tue, 12 Sep 2023 19:00:42 -0400 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F76210F4 for ; Tue, 12 Sep 2023 16:00:38 -0700 (PDT) Received: by mail-qt1-x82c.google.com with SMTP id d75a77b69052e-415155b2796so61171cf.1 for ; Tue, 12 Sep 2023 16:00:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1694559637; x=1695164437; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HyJmDwSUEBAT5TkJCd5pReZaLPzxfz30Afne5dFuwCE=; b=Kpvobm1wnpQ+fWxNPUTube1GEHxHedwSoZoGO/2mU4IJn8Ot8UDuR2rJdwR5r3Am57 vilNY2yO/ymj8ixnIdqQJyzPRZSYfXDZLbVwvOJtucbmHotywzvtnUgsFVpe5jSlcAFg borvFbIbhjYNWx1L8zLEEo+oMpsDNI7EdlookF38o104UP3qWJynSj50PPbB/z3LqzES W61L65G3wth4GhlE8LtziVEZv4r4PCCkGsgQJkjOB93zfj21yS0NJEg6ljTxhuUX2op5 rYMU2pW4gYEVrUSQtKfK8vt5XtBp+mOkQkFqMTgkAUBx7VsvRVqwo7HNvICu2v0cW6Hr G/Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694559637; x=1695164437; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HyJmDwSUEBAT5TkJCd5pReZaLPzxfz30Afne5dFuwCE=; b=HyChwekRXef7vgdBX5b3p1OUxu8n41oimbImgFRduzUoSexILzAZx835cV4KV86P1/ rmPi8ekX6ySk4Ld6Nfp6w4Hu1Rq61R61DjnmAHW/J+G7UpO/r+QIZZg/8GjtbKNX3hIE L11W05fvItf/FexTFm9hZcJi/ByO8ZGz9TsjEIivr9uuUzmbZSWQrNy+n3fr4k8jRjgy Tnef0m6F9RSgO2MQcw7c6pyU3yL+NEsXMEI3HLiC3Rtq4ENfhm7RaRCDw25N8uyML8ND OAdzBDdB7VMlXRCvgNUSwiVwCse5P1h6YFOSl8QD5Gupx4F7FD8K5cMF/9rYO0ApbbTJ rxCg== X-Gm-Message-State: AOJu0YxroMnWidUieVCdWXfYMgREFjq3ntVAFbRODSZDF8umJLKsTI6c VUi6IAjDg43UM3VT1VR0q3/Md3d9+zGLZlNIwrc88g== X-Received: by 2002:ac8:58d0:0:b0:410:88a5:92f with SMTP id u16-20020ac858d0000000b0041088a5092fmr116138qta.0.1694559637027; Tue, 12 Sep 2023 16:00:37 -0700 (PDT) MIME-Version: 1.0 References: <20230912174928.528414-1-apatel@ventanamicro.com> <20230912174928.528414-4-apatel@ventanamicro.com> In-Reply-To: <20230912174928.528414-4-apatel@ventanamicro.com> From: Saravana Kannan Date: Tue, 12 Sep 2023 16:00:00 -0700 Message-ID: Subject: Re: [PATCH v8 03/16] of: property: Add fw_devlink support for msi-parent To: Anup Patel Cc: Palmer Dabbelt , Paul Walmsley , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Conor Dooley , Atish Patra , Andrew Jones , Sunil V L , Anup Patel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 12 Sep 2023 16:00:42 -0700 (PDT) On Tue, Sep 12, 2023 at 10:50=E2=80=AFAM Anup Patel wrote: > > This allows fw_devlink to create device links between consumers of > a MSI and the supplier of the MSI. > > Signed-off-by: Anup Patel > --- > drivers/of/property.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/of/property.c b/drivers/of/property.c > index cf8dacf3e3b8..758ea822e46d 100644 > --- a/drivers/of/property.c > +++ b/drivers/of/property.c > @@ -1267,6 +1267,7 @@ DEFINE_SIMPLE_PROP(resets, "resets", "#reset-cells"= ) > 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_SUFFIX_PROP(regulators, "-supply", NULL) > DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells") > > @@ -1361,6 +1362,7 @@ static const struct supplier_bindings of_supplier_b= indings[] =3D { > { .parse_prop =3D parse_regulators, }, > { .parse_prop =3D parse_gpio, }, > { .parse_prop =3D parse_gpios, }, > + { .parse_prop =3D parse_msi_parent, }, Please follow the same ordering here as the DEFINE_SIMPLE_PROP macros. So, this should come after the panel one. -Saravana