Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1251403rdh; Fri, 27 Oct 2023 08:43:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFZ3j8IGz/8aWbz8rk6mZaQSQWp8p7g55mhB31hHlqp52ClyoWSkSmS47j5iVDpO/WNUCAn X-Received: by 2002:a05:6358:5e14:b0:169:51f1:b097 with SMTP id q20-20020a0563585e1400b0016951f1b097mr1511946rwn.9.1698421416112; Fri, 27 Oct 2023 08:43:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698421416; cv=none; d=google.com; s=arc-20160816; b=dRyMkcz9jtcMER+Dh21/1AgM5+Oq5tCSxP5MAcIFr7K5cDRABrL6WNa0vxerLL0qEP U7PmPKvbcuQQavsEwVspnnxKNSTc6AG86RxoJMAVmOSlDe5HmEMKxSRODmFsylXa5ZsW /3tU1k1phEgVJgJNSnteRKh+qgGfJZAp5QvkpMO4g5XXCmYISCdwwwo6cMeoIPcvc+MS XS9XYeQ/oGM/2CdFSi4qE6HNon/WFRXinIvaE+IVJ0wjjFqCkM0Xmh4d/bAOsQMIpWAn pF5y6lA6TO8nYlLI+6Hs9v54HrNuwsKgE355eIcHVExjy9GvlcxnNlCCLIhhj19MlTVv Kizw== 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=7KBK3NZC+n7aQ9gEOFAwoNpYjPv+cjuqYwdG+XSaoH8=; fh=XUSdTfqn8Y6vOAWeOIKpr9SYWmvv3aWcNBx6J0LE9AE=; b=L5OuaATHX49ncPqF0VRhyW877capJkU3TOtmDJ3dw9b3qUN/v6QIWKgy1boA06OSS1 dUr9C7v8GuDPFbZkzb7Ej6GAEEJ0r5E7CvPOqulbZGBjXWt71iUKDa4svQJnE+Ki2e7i WqBdum4ygDBfVeN9s17RKHOVP8wK4aMiKZi0yhH4AyTFivOwKYvwvTTP3pLiWS/cCTaS TiIZB1TmMbIOr7sIwBlh2QQ6+gyW+3Bf3fCIG5cwBXuHrz8VeMp/upa+f1c55NDr2V35 RnwTtR2TkGGJx3uASU9slKfREEXPrzqL6asBkGb+pBjvaYJwcn4cTKquzxft88+mJkj8 Dhww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=T0LJAPNB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id n64-20020a0de443000000b0059b51b6c12asi2523836ywe.492.2023.10.27.08.43.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 08:43:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=T0LJAPNB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id EB780849E6F5; Fri, 27 Oct 2023 08:43:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346222AbjJ0Pn0 (ORCPT + 99 others); Fri, 27 Oct 2023 11:43:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346205AbjJ0PnX (ORCPT ); Fri, 27 Oct 2023 11:43:23 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA85E1B4 for ; Fri, 27 Oct 2023 08:43:19 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1c8a1541232so19797235ad.0 for ; Fri, 27 Oct 2023 08:43:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1698421399; x=1699026199; 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=7KBK3NZC+n7aQ9gEOFAwoNpYjPv+cjuqYwdG+XSaoH8=; b=T0LJAPNB19x+3cmpdpCBFxa32T0bxfaocCYvLabqvXPV9ZjGHp+oLN1bwZ9aCEqMCS G1gtQiVWX7fYCtaN+EneO+PwtFwtKiTC9OycHz37V+/RPHJFNLWumK4yJ4WlyF9X6R/2 es5UTdClqdZUdwQPm2APlb/8jUCXRv+7q5Q2sy+DQiOZ9LzrAYkNb6PyDoaPFLxJ8Nir vviSUJR4zf6R4KDBinF1/oFme7+MCiQ3PPiRbGMzWjpww/JEwYzMBeGg7uPZW6VhDJrk 16hwGHiKxzSlYJdYdUqMiJp7716cGCBSZbdOYioVuMBcnsrYvf16WsRiZxz0kVcBthPs xnvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698421399; x=1699026199; 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=7KBK3NZC+n7aQ9gEOFAwoNpYjPv+cjuqYwdG+XSaoH8=; b=TEqEVYmdZwq2oIHil3fEJfxHenswfhlfdD20i3ScGv5AG6u74rIjuGskdVLIH+SHiA O/JF/ljHiS7gupei192BRMO5IpQA0Uoh28v2ArCgpFK7FTomMdZ84oytHjbFpAyAhD4B PryS4lzipL6CrMAaubGZAgKCWYIwXobeSQQjWIzYwlk/TTfn8pIOOicRE7P/1Wp5iZRV 4SUOG4kdPWeD3qP0up+Hv+YP1Cp672hpYCgo8psCsu2LPxRiJJ7FX2iS8p4AbZ1GdxkV 3PCtNVBKl11VGjeLGbQIhQZ7AHF5dTJw66Z/Y8joMJ65dDWiB3aSAAHS3DjQzPu7r+BL ZHIA== X-Gm-Message-State: AOJu0YzuZAZcwpz1L40mJ3lmwr6VLP96YIXRtaSwr3hKh7j3xL4tHxJd 5hitA00NeJ/65WQrQZZGFHuArA== X-Received: by 2002:a17:902:6acb:b0:1c6:a0b:7b9a with SMTP id i11-20020a1709026acb00b001c60a0b7b9amr2905659plt.3.1698421399249; Fri, 27 Oct 2023 08:43:19 -0700 (PDT) Received: from anup-ubuntu-vm.localdomain ([103.97.165.210]) by smtp.gmail.com with ESMTPSA id n16-20020a170903111000b001b9e9edbf43sm1729246plh.171.2023.10.27.08.43.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 08:43:18 -0700 (PDT) From: Anup Patel To: Palmer Dabbelt , Paul Walmsley , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Frank Rowand Cc: Conor Dooley , Marc Zyngier , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , 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 , Rob Herring Subject: [PATCH v2 2/2] of: property: Add fw_devlink support for msi-parent Date: Fri, 27 Oct 2023 21:12:54 +0530 Message-Id: <20231027154254.355853-3-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231027154254.355853-1-apatel@ventanamicro.com> References: <20231027154254.355853-1-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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 (pete.vger.email [0.0.0.0]); Fri, 27 Oct 2023 08:43:33 -0700 (PDT) This allows fw_devlink to create device links between consumers of a MSI and the supplier of the MSI. Signed-off-by: Anup Patel Acked-by: Rob Herring Reviewed-by: Saravana Kannan --- drivers/of/property.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/of/property.c b/drivers/of/property.c index cf8dacf3e3b8..afdaefbd03f6 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") @@ -1356,6 +1357,7 @@ static const struct supplier_bindings of_supplier_bindings[] = { { .parse_prop = parse_leds, }, { .parse_prop = parse_backlight, }, { .parse_prop = parse_panel, }, + { .parse_prop = parse_msi_parent, }, { .parse_prop = parse_gpio_compat, }, { .parse_prop = parse_interrupts, }, { .parse_prop = parse_regulators, }, -- 2.34.1