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: 544112 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 838B2C433F5 for ; Sat, 19 Feb 2022 18:42:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242829AbiBSSm5 (ORCPT ); Sat, 19 Feb 2022 13:42:57 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:43324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232679AbiBSSm4 (ORCPT ); Sat, 19 Feb 2022 13:42:56 -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 63ACC26AF6 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 56DC14003E 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 bq19-20020a056402215300b0040f276105a4so7596417edb.2 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=olAtt8XiEUSmUxLwqf+ezHcKQJpHeFY/TIyI1ty3ZiVkTqjFp1+jHRmzhaiEFcrezE vqDCt9bs+VjgrwR3v4ndfhKUhl06/+kpaZ1kb8c9Z3Zwt5/ZwxYl94Fr08/P61WxGz2j BOgw2TE66KiHz+U5J8iyU6Wj5KJ6y0do7zWmzRihd/JaBx/dVBeFDKZX/ky9DHyb9MpI GaTH06dScPKQPgqLfFjUtMmLdQxrvpUFKf/4vAU7Sm4JmQoB0QRELyaOjjm0wO3jMCDk NskAXWBtoSovhnWBQmO/BfhNVkoyqYkcafa6nXS3pUwYxn8opBmmhmE26EwVOajoSeFc k/iQ== X-Gm-Message-State: AOAM532ASd+Omp0JXyoyt5/NJWEpXUNQPwg4b/josghkm+uMbTqVLMGv 9A5fNvuiAvPrMp7JkzZ6HUulPrfS3nJZJEmY5E23F6NjWI4NMNbYhUycdpdbietcjK4m12FtzDh fT9cFvs2TGpbIvG0blDPCJ/ReliyzL/BA+7m2wOY= X-Received: by 2002:a05:6402:90b:b0:412:a7cc:f5f9 with SMTP id g11-20020a056402090b00b00412a7ccf5f9mr12839303edz.136.1645296148106; 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: devicetree@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