Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2924148rdb; Tue, 12 Sep 2023 17:17:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFGYjOWwUMcuw4KEDiuPtMlnRT2knsGlp/CpDuoRVpseSSQ3SrfivmTsczlId9WleNgzoa/ X-Received: by 2002:a17:902:f68e:b0:1b8:8682:62fb with SMTP id l14-20020a170902f68e00b001b8868262fbmr5193597plg.4.1694564269157; Tue, 12 Sep 2023 17:17:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694564269; cv=none; d=google.com; s=arc-20160816; b=wNIaeXquSM5A5nWcteeOy7BD0duaRDjk2j4iHXbg1UDNU/JqZPQ4KWzYMkn1tXRBv1 buQZGANhZaUttiz6DGDI3WJt89stNpy/LTfhmtVT9VCim0wjuj3tmzWvy3Epcqk+JQjh aqIuBmSuydrfJQoK4eTUkM4tQJkkddIK/oc2bzsq4TQqZkFAyjMB3WV9rePBKARQ54Xg iiuAZ5vqifG64f3TNRDug1WAPpRg5unJDoJ8DWGX1XUBY2z5Q1fBFOOlQaBAea0XlhhG g03U+Mn2+R51LxJR/Xb5hOH8Tpnl4bhY3R+YrApsspt7HPCgyWkocKUoqV545o7aMlIv yyOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3yJEEb56ymg39YALnwyrySa9js/OLlIbNxAluFRWmmE=; fh=ZYtQOaPQ3bv/nEoeNBBJi+8gjEgXnsUn5nizHK4ZU74=; b=gtIDqzf602Fbnwk6s5xVKuPK24L5HZ0svEiMAyvusOf4ANP1PZLV3RA1PYUPvMhORD Oxgy2pk7pLPZeXEusdfKCN8Q8VcMhiuZXqHQCK2oEXqx3HjgQCkH5QN0H3c4sqm8tXbP UxxdG1vEOpHGjXPJfY3ZP/LY+C3wGUAYJe64TqQvVSOZc8tGhn9rflp8Jg3/OIG8Df10 zyoX1hxzSfApCx5iq4dOMVxh/ctxHSQYoMZFXBy6x3jzi9jTy8ao+hv8pWrZ7oSuQFwl 6XY0PUztSABcWIMqKU+HmH5Qye/QzzzVNVkqUS6ggbYR0HMrlNsST4zXV5z0vldbJhye u9wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=dMxc9F4p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id k7-20020a170902c40700b001b7e19195b7si9306434plk.29.2023.09.12.17.17.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 17:17:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=dMxc9F4p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 3EBD2807787E; Tue, 12 Sep 2023 10:50:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236901AbjILRun (ORCPT + 99 others); Tue, 12 Sep 2023 13:50:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236886AbjILRul (ORCPT ); Tue, 12 Sep 2023 13:50:41 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A33710C9 for ; Tue, 12 Sep 2023 10:50:37 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1c39bc0439bso739355ad.0 for ; Tue, 12 Sep 2023 10:50:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1694541037; x=1695145837; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3yJEEb56ymg39YALnwyrySa9js/OLlIbNxAluFRWmmE=; b=dMxc9F4pitexwe3ahC6PFnOzexdamCvBXYNk+ppx7sYcke5Bt6keJv4UTam+QjCwnP ltnM1XWjDX/YEoI+VVoXFnyQI1WLBvUuklFDxGlXDJtndShy09jKuL7ZxD8V7J2qsjp+ Twyjt9bYTbHLYGLMxIa23oItPYbAzyyJ3SyLWEJyQxWkFdOzD672o/EGG4Hy3jXA98pm B+ni5KmPmUzM0LYiwDvZ3wGuvBdkpm0evN5TI2wrJ7Uh3dxqXgVvd6VOKNqkceIrhn2L BhvEmmOunQ8HqU204KOJ7/Nw0w6pkFEi9id1kIL/ZRqiAPnd7Iei7oELcM0Fvw2v5tCG XDOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694541037; x=1695145837; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3yJEEb56ymg39YALnwyrySa9js/OLlIbNxAluFRWmmE=; b=TG30BcDid0fT3J6uoKByY/jdnlQQ/wFvFDAr+03R1Yt1G+nDf533a/v1HhFQRW/Md8 DIQMxoHfA0M1xOUVhcoDNvkalohvZfodAkxyOoZwU/YdX3sis6E0DmqTbU7ild/PgIL6 yL8YrzQo406PtfU9+gn691kS6RijdOFJ41NAHPZxGY/MoEL1hWOQqm4dY4dYI1Pe1Lds BDxROHYT+zsVAz/ihkasuJmuUA98FjoFlVV5HfeRZ74hh9lv9ZF/dX8Qte4U48Si3lPl /EgtgHCju4hZ0LK6U64N6mzioRPx+ZaqqYA88VF1x5fdwAFZPchHaGid2hped/Bro85m ra0Q== X-Gm-Message-State: AOJu0YzD6wvH5gLG4x7jw7BsswvIIjszEW4h/ghrGEU2vr++a+vNqexs ooreAgmmT0zPwal+T1tlY9LVzA== X-Received: by 2002:a17:902:ce90:b0:1bf:7aeb:c488 with SMTP id f16-20020a170902ce9000b001bf7aebc488mr386820plg.29.1694541036636; Tue, 12 Sep 2023 10:50:36 -0700 (PDT) Received: from localhost.localdomain ([171.76.81.83]) by smtp.gmail.com with ESMTPSA id p12-20020a170902a40c00b001b891259eddsm8691440plq.197.2023.09.12.10.50.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 10:50:36 -0700 (PDT) From: Anup Patel To: Palmer Dabbelt , Paul Walmsley , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Conor Dooley Cc: Atish Patra , Andrew Jones , Sunil V L , Saravana Kannan , Anup Patel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Anup Patel Subject: [PATCH v8 03/16] of: property: Add fw_devlink support for msi-parent Date: Tue, 12 Sep 2023 23:19:15 +0530 Message-Id: <20230912174928.528414-4-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230912174928.528414-1-apatel@ventanamicro.com> References: <20230912174928.528414-1-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 (fry.vger.email [0.0.0.0]); Tue, 12 Sep 2023 10:50:46 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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_bindings[] = { { .parse_prop = parse_regulators, }, { .parse_prop = parse_gpio, }, { .parse_prop = parse_gpios, }, + { .parse_prop = parse_msi_parent, }, {} }; -- 2.34.1