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: 12752364 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 88EF1C4332F for ; Sat, 19 Feb 2022 18:42:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242882AbiBSSm6 (ORCPT ); Sat, 19 Feb 2022 13:42:58 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:43382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242784AbiBSSm5 (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 639D626AEF for ; Sat, 19 Feb 2022 10:42:35 -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 86E503F338 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 m11-20020a056402430b00b00410678d119eso7549953edc.21 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=bEQlErmzskEErgNOsIJ2wW0s6aNGXFDHBUKLSpYvm/d5a1hFmeX382pVUlqDyNNYGQ LN7stv/e2nCGR0izXzJ96Zjk9qcnBQzTLCYOe622xI6Z62cDB1psICdZX7HHDHFQwGue qQaW7ifp2/c9r8luewNdouzDluTK2VGzkC4uaCXMg4a96VmU0v6r5lEmug0XGkM0djha Bnx3K9C6KX9dqtI1/Vs8Xt053I7ySWHjP9wpI8Q67JvYJT8PL4vXyWuDwKN86mLGbjJj elh39KIzIHBQFiRHDCNqqxRavL5U5CWT4Og9pQrZgWqih/b6lsSuot6IZbY0e4nJAUvP 6UVA== X-Gm-Message-State: AOAM531JjFaVEBydNkDA7yy4gURc5M37RySFmlurC1/pAsIzeI1hCmek zhTNrn/oYqDL//ROyui6CaAxPW2eNgojOnbK+hHI0kB+78+d20zS98uJnKMwPVqqza30tY2pjP3 QvOuVxIehtQQ1a8zA2kXFim3iVQEVa927lwVAog8= X-Received: by 2002:a05:6402:90b:b0:412:a7cc:f5f9 with SMTP id g11-20020a056402090b00b00412a7ccf5f9mr12839316edz.136.1645296148113; 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-scsi@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