Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp4157160rdh; Fri, 29 Sep 2023 12:59:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFSZ9VZt20GfJZvC47UHbAnLVNcdain9WB2cYiw7z7EkLu9l2BnH1vte3rIBvqVZFdAvWMg X-Received: by 2002:a05:6a20:cea2:b0:15d:684d:f514 with SMTP id if34-20020a056a20cea200b0015d684df514mr4880921pzb.6.1696017596384; Fri, 29 Sep 2023 12:59:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696017596; cv=none; d=google.com; s=arc-20160816; b=DwA5+NkPoNE7dzq8OfO4RMAwMOkQ6V+GXnHDGKSOjU30oy9wUE2K1FS/vRbXHSevci 1A+LazrYxC8VByJrNg/GgagmNV4963gyWegAqpQ1sE7+DTddOCXIuOfdqcBdPEvN2/wh 4EHnqCTFu5YScvlcvaKmmlEXFgMBXRCH8sR8ffJqmtsVxcLm7TwV8hqkkCHkEudk5s83 SiRVfIUFgp/+v/DIDMWwUNxauwyj9NBPFY1AKKhXKBZq6EENWyuB/5OVkdJjJyqEAWko WOEjd1tejafrnDwKT1d4407xhMQBlYwn5QG3k4aNSat7rOadP6gK9xLz5FN4u004Vri/ jLMQ== 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=8sWR6aJr5sYt7C3RQ6oQ2MgPutfj/Sp5VOkTkBQPOm0=; fh=MCXllpLK6fatlUoYmMQl6rG+zjsKMFA1u170rHX7DuU=; b=Jg70ffIPru7C/M+mG5LI/ovTFeizNK9nJK7K24v6pgM1mfcuGFQdmxPDR2tAZGBNS9 q41lI01vFepfE1Y53z4LWO3dC3szxrOKbF5VkCCyp8cUbTDWAPhr9lvMic3dbnfmmn6p dxjkffe8ivYY8cuEFojK8uiM9eIPurGhWpXkY1++x+2QBsoS3rnfp6Gqfl40IQhsOT01 x886Q65zp2Iw46oMm8ydREh/5ulEy0R0YZbZ+WUXy0vcI+Si983Nky24ottoD//JHet0 54dO0/MWgL8bSOFYTw6GvDVWM9TIjhCJPFdITOUDoN0yGPj54xzsfl5/Aj7ZU5LmlXJf IMvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=qWSQ4k0F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id y63-20020a636442000000b005578c6a7672si22335160pgb.90.2023.09.29.12.59.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 12:59:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=qWSQ4k0F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E1ACA8328FD0; Fri, 29 Sep 2023 07:33:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233743AbjI2OdA (ORCPT + 99 others); Fri, 29 Sep 2023 10:33:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233674AbjI2OcZ (ORCPT ); Fri, 29 Sep 2023 10:32:25 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E12210F2; Fri, 29 Sep 2023 07:32:20 -0700 (PDT) Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 38T99x38004761; Fri, 29 Sep 2023 16:31:50 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= selector1; bh=8sWR6aJr5sYt7C3RQ6oQ2MgPutfj/Sp5VOkTkBQPOm0=; b=qW SQ4k0FOHgKeIMQ1X8BYvZ6teg37qgUEulF9YrP47IlrFDuu+5JX20QG6+Aa5iCJj QSpBxjiklQXcta+m/h1PY72JcMcz8VN219XZxgy7Y5rcfouGaJ8fzZFtJVXLf+dv miePeCow3QDDH5Z2HNMYXzgp9fqP1b4CzEcLcC5tZqIgH3Ea9S1EKwtmspFun7JN cb/RxdmL/t2feXbwPcKHeIK82/DAaf0iKAIX0QglouiihFpQ2QsOUPRRDfkCd2ky xnubuGSkq6O5k/WgW/t+jzrxyU55TbpoGlA5mudyAok9FyZUQ3Btjhul0OevGxPK YDGsQE8c59zv2Q/hVggw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3ta9k0s9jw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 16:31:50 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DF5D8100057; Fri, 29 Sep 2023 16:31:49 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D4D6A282C5F; Fri, 29 Sep 2023 16:31:49 +0200 (CEST) Received: from localhost (10.201.20.32) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 29 Sep 2023 16:31:49 +0200 From: Gatien Chevallier To: , , , , , , , , , , , , , , , , , , , , , , , , , Frank Rowand , CC: , , , , , , , , , , , , , , , , Gatien Chevallier Subject: [PATCH v5 06/11] of: property: fw_devlink: Add support for "access-controller" Date: Fri, 29 Sep 2023 16:28:47 +0200 Message-ID: <20230929142852.578394-7-gatien.chevallier@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230929142852.578394-1-gatien.chevallier@foss.st.com> References: <20230929142852.578394-1-gatien.chevallier@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.201.20.32] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-29_13,2023-09-28_03,2023-05-22_02 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Fri, 29 Sep 2023 07:33:16 -0700 (PDT) Allows tracking dependencies between devices and their access controller. Signed-off-by: Gatien Chevallier --- 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 cf8dacf3e3b8..c86521fac06d 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(access_controller, "access-controller", "#access-controller-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_access_controller, }, {} }; -- 2.25.1