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: 12752351 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 00E10C433FE for ; Sat, 19 Feb 2022 18:42:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242888AbiBSSm7 (ORCPT ); Sat, 19 Feb 2022 13:42:59 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:43386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242818AbiBSSm5 (ORCPT ); Sat, 19 Feb 2022 13:42:57 -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 642E227142 for ; Sat, 19 Feb 2022 10:42:35 -0800 (PST) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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 478103FE41 for ; Sat, 19 Feb 2022 18:42:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1645296149; bh=MgKjv9z7uNr3RRUsHMHa/DUOLnVSfcojasTHu53YzZ0=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=SqQwyttShZ+JCsjv3Kg9+c85yAn2/U4XRggyj/EuFGnvG7bNLI35ELDEUv/qhz9eQ /SoSKMqRHhSvx3doyKlD3k2NYgeO2Wt7w9Kvo6kdEiGSHA7hoTZOEX80Fc7hlcAlZJ Rcilp2BVZFZ3aUAxw9+9AZSHbZPkDiSYsh9fKr+1mKhhZ+7tPyt3wNPofTKZIEdAt2 ogylwwBfu4KYyjAcreXEvKjCr3Et+NSjidJ0FRLhoYO+M6Yq3ThmU7zIMutAdx2tcZ E2OGAVT9Oqv429iVc3FPWvBej1rulqC/9C3ph7x0nABGjzDb8i391xvEpUiFU9InnA UaD9JnEGSypZw== Received: by mail-ed1-f70.google.com with SMTP id y10-20020a056402358a00b00410deddea4cso7560887edc.16 for ; Sat, 19 Feb 2022 10:42:29 -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=qeOvcyC5iumA919E8KlFL3vZF6wjbTIjBoxUyKVXnoNS39RkdVwKjTJO7fATQKNOm2 zOU1hDHEONf1Cl3alvqFfAYeEDwe/G6fha6wILdFpnhvt9ovgUgKoz/n9cfaDDRy2orE PCdXSVCbxF36MGeslLViCAM+vgAGnqoc+nqdZMTh50zPU3AJGeAShzIVxtgamAoEOKiH C6624LJfTJjMHM0i4e8ATkMggnk5QHQ6OfkR1EyENzgMDpZnr/VaUFMXlsOns9wqM83N qeYck+g43kqegaNiWODdWXXMfdmEVLpnCMOTLhLT724wY/TSsE3NG/d2PlMnzsxvr95l BnQQ== X-Gm-Message-State: AOAM530u5nn1E4iFeJYoJxXrME+xUIcAenh5aT/HOMS5TqfkxahRUNjn onV7J1viYErL1wCUPJPo6lNaEUbuixb2i0hVehrUopw9//7CyZs8zr4y8x9D6+ak7Ig98Tg2O22 8C29NAD27fwIBxvcHMJGfQQmUVeZbqvFhwDkMUU+s9ig= X-Received: by 2002:a05:6402:90b:b0:412:a7cc:f5f9 with SMTP id g11-20020a056402090b00b00412a7ccf5f9mr12839314edz.136.1645296148110; 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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