From patchwork Tue Apr 18 01:00:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 13214919 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D0827C77B75 for ; Tue, 18 Apr 2023 01:01:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=WwLDqpcgy2JCtHrPt7Mgkng1mvDLtwrQPJ/bICZ0Yrs=; b=JuCKOHVFbf5c5h PL0Y57n1vwuS+9jYpTdJwfBUhybHpJ0aCB787TC6ScAleoYzKWcx0+hKdZ3m+LIlACvienCH5P9/o NxxBZUgikeeWpzTgHuH+GTo19vKo1FoxE/bf9bJ+fK213iY/QP/o7yu5zU4Llo47zHzGuzkp3vQKZ Ux/crQbYWNdYss90FxtMrNJIz19opgy7yNx5UZ+kjhpkUSnklpDTB8IAyrfnPbdr2bCa4l2omp4gb bndn7co9F1Guh1vADfJ09GKvSJabzygkYuppt9cxtBYAclnEtsGxY7Msa1X8w/HGMm7pdz+V4YJl9 y1ZoyXttv1KArUmz3aKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1poZhy-000XR6-2f; Tue, 18 Apr 2023 01:00:34 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1poZhv-000XQP-2u for linux-arm-kernel@lists.infradead.org; Tue, 18 Apr 2023 01:00:33 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33I10NkS012536; Mon, 17 Apr 2023 20:00:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681779623; bh=OS7712zJKNw58HtC9X5O53QAWeh7BlP8TTEJdq8mwVM=; h=From:To:CC:Subject:Date; b=Nmbl8ED0fFJsZEXjZNPqZpwVsJOUSNjR4MihRBHou5UCwHWFV2U7aTKbPHFyLCGnd MC7yO6bemDbCLDYZqMn0DqUwLYUGpZCx4dreemPEaXFz+FIrzPSZXSukcXzlk4fvdJ DfC/cJ2BZvAbCksmOSe5rNVEKaxq6jVqKyxjEVA8= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33I10NX1091283 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 17 Apr 2023 20:00:23 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 17 Apr 2023 20:00:23 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 17 Apr 2023 20:00:22 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33I10Mre016129; Mon, 17 Apr 2023 20:00:22 -0500 From: Nishanth Menon To: Roger Quadros , Krzysztof Kozlowski , Rob Herring , Lee Jones CC: , , , Vignesh Raghavendra , Nishanth Menon Subject: [PATCH] dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID Date: Mon, 17 Apr 2023 20:00:19 -0500 Message-ID: <20230418010019.1222431-1-nm@ti.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230417_180032_088408_7FF313E7 X-CRM114-Status: GOOD ( 10.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The system-controller node also contains the chip-id node that is used to identify the SoC specific properties. Add a pattern property to match to the same, and add to the example. Signed-off-by: Nishanth Menon Acked-by: Krzysztof Kozlowski Reviewed-by: Roger Quadros --- .../bindings/mfd/ti,j721e-system-controller.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml index 76ef4352e13c..0c98d913747b 100644 --- a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml +++ b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml @@ -62,6 +62,12 @@ patternProperties: description: The phy node corresponding to the ethernet MAC. + "^chipid@[0-9a-f]+$": + type: object + $ref: /schemas/hwinfo/ti,k3-socinfo.yaml# + description: + The node corresponding to SoC chip identification. + required: - compatible - reg @@ -99,5 +105,10 @@ examples: reg = <0x4140 0x18>; #clock-cells = <1>; }; + + chipid@14 { + compatible = "ti,am654-chipid"; + reg = <0x14 0x4>; + }; }; ...