From patchwork Sat Sep 25 20:14:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 12517779 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58FCCC433F5 for ; Sat, 25 Sep 2021 20:17:20 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 298AB6108E for ; Sat, 25 Sep 2021 20:17:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 298AB6108E Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Xs96/SnK60xFa0BAPFOlGx5Sw03rLswEavJCR+t7Qko=; b=yxt5/X1OrGBHgp 8buvRb9nAgIAQrJ3mdSHH1AedjsEzHxWWhGoy4AiAjYcYOTDRI9Pd1l7ZX/Rpuji1QtjY8/A+Flhs 2ThX4Naj7F1hO0oeEiZl37SsFoeSGnUrBrqQ//UjL313+TjUwibgqBgAfe9/UL+F/Ec001c8Hs7Ex rna+sKD2fT7LlN2e96yRcBMECVhh52a5Q+gwDmjHiMteD3Z+WPNsbwtEYvBSuWhlm3IqtdyRlcg4i EyXp2g9Ip9F00BamXGylwsmFTv3+LaozXkBUTJ4X6Ih6gs2Nihv4fbBnDkqq6Y+a94HnxkzFBB74b uumY50ifyOtDWpjYjvJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUE4g-00HAdw-9c; Sat, 25 Sep 2021 20:15:06 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUE4E-00HAZ6-MN for linux-arm-kernel@lists.infradead.org; Sat, 25 Sep 2021 20:14:42 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 18PKEYW2106714; Sat, 25 Sep 2021 15:14:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1632600874; bh=t1bOpzOJo2cMIiuz/p4lAYab6oa4/M0RXeQ+THur2Fg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=rTcAdWWt7RNM14IjyMqvJnPOnWDIffFo98hD+J0ZO5l2QuOznmIqEOOXjB2vBhMgX VewmGToLpHyBSP24D4grPhGO8EN22vm14xUQ2lC/QlbtTRu/MaUK9Swothf0d46wC8 W2BVBmyNpEL+NcCjJ9Q6tIeGvHnJkwe/3A2rserw= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 18PKEYbN125808 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 25 Sep 2021 15:14:34 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Sat, 25 Sep 2021 15:14:34 -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.2308.14 via Frontend Transport; Sat, 25 Sep 2021 15:14:34 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 18PKEYd6087832; Sat, 25 Sep 2021 15:14:34 -0500 From: Nishanth Menon To: Rob Herring Subject: [PATCH V2 2/4] dt-bindings: arm: ti: am642/am654: Allow for SoC only compatibles Date: Sat, 25 Sep 2021 15:14:28 -0500 Message-ID: <20210925201430.11678-3-nm@ti.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210925201430.11678-1-nm@ti.com> References: <20210925201430.11678-1-nm@ti.com> 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-20210925_131438_877900_21205041 X-CRM114-Status: UNSURE ( 8.50 ) X-CRM114-Notice: Please train this message. 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: , Cc: Nishanth Menon , devicetree@vger.kernel.org, Vignesh Raghavendra , Tero Kristo , Jan Kiszka , linux-kernel@vger.kernel.org, Sinthu Raja , Sinthu Raja , linux-arm-kernel@lists.infradead.org, Hari Nagalla Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Maintain consistency in K3 SoCs by allowing AM654 and AM642 platforms just state SoC compatibles without specific board specific compatibles aligned with what we have done for J721E/J7200 platforms as well. Signed-off-by: Nishanth Menon Acked-by: Suman Anna --- Motivation to introduce in V2: * Retain consistency with both "soc only" and "board specific" as two schemes we support across k3. V1: did'nt exist .../devicetree/bindings/arm/ti/k3.yaml | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/ti/k3.yaml b/Documentation/devicetree/bindings/arm/ti/k3.yaml index cefb06424a4a..30c3f5c70014 100644 --- a/Documentation/devicetree/bindings/arm/ti/k3.yaml +++ b/Documentation/devicetree/bindings/arm/ti/k3.yaml @@ -20,12 +20,15 @@ properties: oneOf: - description: K3 AM654 SoC - items: - - enum: - - ti,am654-evm - - siemens,iot2050-basic - - siemens,iot2050-advanced + oneOf: - const: ti,am654 + - items: + - enum: + - ti,am654-evm + - siemens,iot2050-basic + - siemens,iot2050-advanced + - const: ti,am654 + - description: K3 J721E SoC oneOf: @@ -44,11 +47,13 @@ properties: - const: ti,j7200 - description: K3 AM642 SoC - items: - - enum: - - ti,am642-evm - - ti,am642-sk + oneOf: - const: ti,am642 + - items: + - enum: + - ti,am642-evm + - ti,am642-sk + - const: ti,am642 additionalProperties: true