From patchwork Sat Feb 19 18:42:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 544111 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FD1EC4332F for ; Sat, 19 Feb 2022 18:42:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242853AbiBSSm7 (ORCPT ); Sat, 19 Feb 2022 13:42:59 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:43502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242880AbiBSSm6 (ORCPT ); Sat, 19 Feb 2022 13:42:58 -0500 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EA6F275D2 for ; Sat, 19 Feb 2022 10:42:39 -0800 (PST) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 2E8304004D for ; Sat, 19 Feb 2022 18:42:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1645296151; bh=rlo6dv8R8AO8D00xVoydpkfzh23wJWM99TpGFXJ1F5U=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nIe/GF4eFfgeyjk+3IYN8rKCtt4tUs8OBkVKrg6MHbSYhaYX0oTxXTdolv32g95E/ CSgMMOZtCaEEgi8fOsmtSJInJSWl77dq9uU4ZTpnJD1vRhnnkHKztqlcVOZMdF19VK KPopoU4+Gs1eaC4acd/lOylK7MaBoaNcaoLE5jJEZy/eCrqlS0O3MPYHiKNz1G19tu IkCgla8+QkdO2ezXkuPtGk+5bBCbUtNMJedzdOGnsc+vP2brMnXtWmXdVI1HP8EbXS Sjw1C/LtZXWSfCUSkh4/RRmvGtYHkYDdzUNSwreLPCowwHamgDd+xTHj+zF3VgJkgC OL1HX/aR8Q6qg== Received: by mail-ed1-f72.google.com with SMTP id r9-20020a05640251c900b00412d54ea618so1892862edd.3 for ; Sat, 19 Feb 2022 10:42:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rlo6dv8R8AO8D00xVoydpkfzh23wJWM99TpGFXJ1F5U=; b=SIZLWh14IxZ2otIuODnKatvzkwrtBvsS+oaJaOzj7ooPyu1oCpi5ua87Q2XmyCka3Y qx+8N/zf3xDIW1IWqqhbVDnmUQf57MAFqDBGdjEAmqV1X+HaP1GRoyAfwoN5wvo2aTo/ 157AMBS3caO73I+Q+vidxR2pQQzdMl3uMEeA8/KwYWrsptKEgcsWtRRyE15suD6Kq1dV uoZAdSsWxQnhdFjBuQZ1TRYPNx4tvPC/yPvrtqh8DRJiP4BZlLGZRzbK6Ncndduf+bRG ohaXvs4JAJie1F0WBiP+tlsXTlIsqweSCATSkDt8tSRmJn4YfZAm+MXVjaqQ3YmKoFCN FTdg== X-Gm-Message-State: AOAM533zccSaswA0vK5/48J+3M5gmf4SWNZF7pWVqHRkZGDCZu4llQFj xF9Biw8pI8t56pWRhItC4wyj4tTq57jyoKe0vHRGMS2TgCUsIOPUwIy3QzBAURCPlSn0Rvjhx7h FoapmltdC2jevlWqV2hF0lvYCxhs7JHLmN6ai2E8= X-Received: by 2002:a17:907:3a13:b0:6cf:1186:1381 with SMTP id fb19-20020a1709073a1300b006cf11861381mr10792758ejc.539.1645296150896; Sat, 19 Feb 2022 10:42:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJx2naSdEU4Ep7cfPOis7zL8hDLMxXjvy+MqwgzXgYHKGMAwKMtnXxUn3sccavk0GfxDOqA4cQ== X-Received: by 2002:a17:907:3a13:b0:6cf:1186:1381 with SMTP id fb19-20020a1709073a1300b006cf11861381mr10792750ejc.539.1645296150719; Sat, 19 Feb 2022 10:42:30 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id j8sm6680745edw.40.2022.02.19.10.42.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Feb 2022 10:42:30 -0800 (PST) From: Krzysztof Kozlowski To: Alim Akhtar , Avri Altman , Rob Herring , Krzysztof Kozlowski , Wei Xu , Andy Gross , Bjorn Andersson , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , "James E.J. Bottomley" , "Martin K. Petersen" , Chanho Park , Srinivas Kandagatla , Jan Kotas , linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [RFC PATCH 2/8] dt-bindings: ufs: samsung,exynos-ufs: use common bindings Date: Sat, 19 Feb 2022 19:42:18 +0100 Message-Id: <20220219184224.44339-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220219184224.44339-1-krzysztof.kozlowski@canonical.com> References: <20220219184224.44339-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Use common UFS bindings in Samsung Exynos UFS to cover generic/common properties in DTS. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/ufs/samsung,exynos-ufs.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml index 95ac1c18334d..e01408b4fcc2 100644 --- a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml @@ -15,8 +15,10 @@ description: | in the common ufshcd bindings [1] Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt -properties: +allOf: + - $ref: ufs-common.yaml +properties: compatible: enum: - samsung,exynos7-ufs @@ -47,9 +49,6 @@ properties: - const: core_clk - const: sclk_unipro_main - interrupts: - maxItems: 1 - phys: maxItems: 1 @@ -67,13 +66,12 @@ properties: required: - compatible - reg - - interrupts - phys - phy-names - clocks - clock-names -additionalProperties: false +unevaluatedProperties: false examples: - |