From patchwork Sat Feb 19 18:42:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12752374 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 B8A54C433F5 for ; Sat, 19 Feb 2022 18:44:40 +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:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=YFZw9jZYgu12J4CuckOJDQPMVqx1axsmiWYytbR1n1E=; b=gXV4+Xy9u3cj2j C67AvhEepdDs/CBGmhDW1yosFT4NZ3YxDBVA8+mq7ekTcgMcTqy3vpVXTrJHGdxOtK+MrdVASnUs4 XL3RHnlYwkx5YvvPxktuU0PI38DycG0Nqfjjo8DO0oLw5/ia7z3Ie90+XK2QgEdwtc2aD0Yn9LQKK avXk6pfjjJoAfeFEZNelDUKGjb/d7gOU0dfg3oJWepVW4h09S5to96d7pBtfZP4VtlipI935jtzLj /yUP3DXS1dq8N2hM2iO1CU9L0QqIOBt6ex4IPjXGQeM/7mxpOLhlZIFQ9FFYm6r7uLbLOsI+qF0O1 Pj9A1J9AtHBaldr0UJWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nLUhX-00HVst-EQ; Sat, 19 Feb 2022 18:43:23 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nLUgq-00HVaB-VV for linux-arm-kernel@lists.infradead.org; Sat, 19 Feb 2022 18:42:44 +0000 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-0.canonical.com (Postfix) with ESMTPS id 9344940017 for ; Sat, 19 Feb 2022 18:42:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1645296148; bh=MgKjv9z7uNr3RRUsHMHa/DUOLnVSfcojasTHu53YzZ0=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=doL82KuKwHUFeGeapEXNusQjxhxuNC+tpGVORDoS4ovg9n3WAoHN1vlbIAOM6uKTl lA/AKHGsILWWgON913YU5CYLJnGXZPEEVASmiSzgMwuqShoxoBMUUvBsQvDP1k+WXz BGchNnBlVAoUDQnCAKjTIxZ0xcQE6d2QSe7X6Jp9hnGRnvr+c1aCKGNULgARhqpoNw BkZ4Yurn9l279Tgp5Gr9Py9EezX4gGqeCKKF9nEqV6R5iH7QDLLoyTo9Plpr9Lb7tP 2jo9dQu6AEicEo6TUtEYQQrqd4+tNb2FxG3naLj2aFqZB7du6HcidaFlMKdpdM5dHB sEndUQab4aUJA== Received: by mail-ed1-f72.google.com with SMTP id o5-20020a50c905000000b00410effbf65dso7568075edh.17 for ; Sat, 19 Feb 2022 10:42:28 -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:mime-version :content-transfer-encoding; bh=MgKjv9z7uNr3RRUsHMHa/DUOLnVSfcojasTHu53YzZ0=; b=Si27slslLw1PUIYiKr2UB6EeKK0o50m8GA0aFSnxcq6ZMJgc3GYKsii9JqSBLH+JNv jMarbwOqDjX9HzqQoI2i5ga6mvAMbdgngtyy7rf1PuZ0lzrjiG9FCi7RJ/hqGb2ZJ+c8 r42gAIMAElzYHfH/yKQRKPpZRsAv7WQ5ouqpp1joPhmrx/KVWcq1WdAeF7xnueWtEWEu EWnrKXjsW1HSULnObA7YkgVywBf70BRw+8NHvqYwX+mf9f63EpusAKrGNHWg6VVzEJ5S jTZo1AQ1GRsBGLBO/rZ205NzhpK5+rL84kXMkRt8CLUqvdTeXUh7/hFngY2QJMr/Pydk yGjA== X-Gm-Message-State: AOAM530wEhLF+SW4MdeLUs3mbak0TQZ/COtnwbfyw1In/cz/27gHRYt1 HQcKlbQS9r8G9VFVC4dxEymLgCIqTi7TkDTSDKpKOPbHoC53/MK6P/v5JrJZELZdE1WXkvgG4UH ru/WZ4k4EJvUB5T1Las+wQyzgZHKf3kaerAjNIzFD2MB32jBUjbE0 X-Received: by 2002:a05:6402:90b:b0:412:a7cc:f5f9 with SMTP id g11-20020a056402090b00b00412a7ccf5f9mr12839300edz.136.1645296148105; Sat, 19 Feb 2022 10:42:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9AksoCFm+UDOtkXMW7lwQ/A6+F6VdlAYu3MK0g2Dmm81uCBlm5twd4SJuMN4mjgnv445xsg== X-Received: by 2002:a05:6402:90b:b0:412:a7cc:f5f9 with SMTP id g11-20020a056402090b00b00412a7ccf5f9mr12839290edz.136.1645296147918; Sat, 19 Feb 2022 10:42:27 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Feb 2022 10:42:27 -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 0/8] dt-bindings: ufs: add common platform bindings + fixes Date: Sat, 19 Feb 2022 19:42:16 +0100 Message-Id: <20220219184224.44339-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220219_104241_151557_E2817ECF X-CRM114-Status: GOOD ( 15.05 ) 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 Hi, Not tested, so please kindly test. I am sending as RFC to gather some comments. If it looks good, I will convert other TXT bindings to DT schema format. Dependencies ============ 1. The DTS patches (5-8) depend on scsi/ufs driver change (patch 4), so they should go in a following release, after merging driver. This is also might affect out-of-tree users of these DTSes (other projects, e.g. U-boot). Best regards, Krzysztof Krzysztof Kozlowski (8): dt-bindings: ufs: add common platform bindings dt-bindings: ufs: samsung,exynos-ufs: use common bindings dt-bindings: ufs: cdns,ufshc: convert to dtschema scsi: ufs: deprecate 'freq-table-hz' property arm64: dts: hi3670: use 'freq-table' in UFS node arm64: dts: exynos: use 'freq-table' in UFS node arm64: dts: qcom: use 'freq-table' in UFS node arm64: dts: ti: use 'freq-table' in UFS node .../devicetree/bindings/ufs/cdns,ufshc.txt | 32 ------- .../devicetree/bindings/ufs/cdns,ufshc.yaml | 56 ++++++++++++ .../bindings/ufs/samsung,exynos-ufs.yaml | 10 +-- .../devicetree/bindings/ufs/ti,j721e-ufs.yaml | 2 +- .../devicetree/bindings/ufs/ufs-common.yaml | 86 +++++++++++++++++++ .../devicetree/bindings/ufs/ufs-hisi.txt | 4 +- MAINTAINERS | 1 + arch/arm64/boot/dts/exynos/exynos7.dtsi | 3 +- arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 3 +- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 4 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 23 +++-- arch/arm64/boot/dts/qcom/msm8998.dtsi | 17 ++-- arch/arm64/boot/dts/qcom/sdm845.dtsi | 19 ++-- arch/arm64/boot/dts/qcom/sm8150.dtsi | 19 ++-- arch/arm64/boot/dts/qcom/sm8250.dtsi | 17 ++-- arch/arm64/boot/dts/qcom/sm8350.dtsi | 19 ++-- arch/arm64/boot/dts/qcom/sm8450.dtsi | 17 ++-- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 4 +- drivers/scsi/ufs/ufshcd-pltfrm.c | 21 +++-- 19 files changed, 234 insertions(+), 123 deletions(-) delete mode 100644 Documentation/devicetree/bindings/ufs/cdns,ufshc.txt create mode 100644 Documentation/devicetree/bindings/ufs/cdns,ufshc.yaml create mode 100644 Documentation/devicetree/bindings/ufs/ufs-common.yaml