Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5472593rwl; Tue, 11 Apr 2023 06:05:57 -0700 (PDT) X-Google-Smtp-Source: AKy350brTmmVHFuYng34xOtbm8KnCUSi6fYhy9a3DCoNnsl/xiMa5q1T5DRulRhhRjuugHANDH6C X-Received: by 2002:aa7:d795:0:b0:4f9:e6f1:5c7c with SMTP id s21-20020aa7d795000000b004f9e6f15c7cmr2510116edq.32.1681218357584; Tue, 11 Apr 2023 06:05:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681218357; cv=none; d=google.com; s=arc-20160816; b=kksA2isBRqPlDKG3bPHOs2NQoKDIc3+VOoI6q9sEeXnualeRYaNSCgSMcJYA6DD2bd a8guGfnSsSnpVGy3NfupP8lnBPF6Fv2OCAZa2y5AgYapm+2NQH0UZS2NUmtYD4ZHHBpt gk4w+xrphBKTfGjmkNdLNhGxTBfezPwRANOVG1Y0cT260qlZSbfPlvbLd0FyqShw9Ha9 fga2IvdQNqHFCquFtlucvm8Ipa8XGwenCSH+rUNNuoSuzOhMH4L2N1tvjj21VwIcZHXa RknzbxjRaYwE/RslXxHFpm+Q7P+ykkmFgoQzGf91aoPRb1Ehvpx6TokavIQ6xf2fnfL6 wABA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=qYe+MGPT9BvgNTQao8r5YoHx9jSImbM+Yzl5JdLRqIc=; b=asspsLLbs0e2oj/Pfmi/Ylb1DkmMk7itYf1j0NJKVJ4zJtz7qJm0OxWXCpbyhhRYR1 qTSWkandsab1a0TecHFTOad32L6a1InzW+fcqPK+cjqzwpVCkEZZpxJkuM2SseVwFeS8 ZVShG3sMKfnHFJOzF+dv3iQF6Ksh8J3uA3HH0AxdKbYqufd9VbE+vnrbGO2nlkqjwXEV 8CL9XLWhIe2eLpZvkBuZFGMZU0P/3dlJzqylNKEzcKbAFiHGaVQrPXov59MqBPUg3QJY 2Blkhcb+qD8XoAnsdaoxzzM6ZypI8X4hVWol4h6+rOjK8ymhG+Xjg1TGtsHQ6Qa9F4uP ad8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=hVZ3SwYl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l18-20020aa7d952000000b00504a3b48b81si119232eds.60.2023.04.11.06.05.19; Tue, 11 Apr 2023 06:05:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=hVZ3SwYl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230248AbjDKNFK (ORCPT + 99 others); Tue, 11 Apr 2023 09:05:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230411AbjDKNFD (ORCPT ); Tue, 11 Apr 2023 09:05:03 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 930C44EC3 for ; Tue, 11 Apr 2023 06:04:50 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id eo6-20020a05600c82c600b003ee5157346cso5984955wmb.1 for ; Tue, 11 Apr 2023 06:04:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1681218289; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qYe+MGPT9BvgNTQao8r5YoHx9jSImbM+Yzl5JdLRqIc=; b=hVZ3SwYl0OMmYsZaktA4PBdt9FadcHLKLFYV9Y3oM0OwQMDSvu0iLQvhsEk273pBFz xMjYDP0n7IEjOWvg0jISH4vr2oIC/LyzfkTZe4at0Vr/uAALu81PnqpyLw+wnzfZTkOu TmmYK/UpBhgsP/7GQxJnjCUe2pBPAKV/CQTAmMGl8sZ1EImT7qlINWkY4JXfZ/GrWP4R kNx5eTCgbw5jeQ3dd40Zt6Xm+q2a3SxD5X8uzYor6aZ6NYE+DFGibBhxxrQmDPt07nNo UO/oZCVEaKDxUGsMoWQdcNXYTyk7IivtZey9/F1/u1rsT/Wp5oauw87Dn7CTk390xBgT EPuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681218289; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qYe+MGPT9BvgNTQao8r5YoHx9jSImbM+Yzl5JdLRqIc=; b=peMfF4EU4UijU9/YNkf5FTtF1YxTRfbmFE1+mFFlrl0S/KBhFJ05KvQ6WyMzIdMiVa 3YpkuKFz6lSymdWs3kzpJu7y9T6x4mCWo5uTo/Q1TtmwJyq6s6w588UP5bXiEnsvrF3j E31Kz0Cg/zEqdbhLdpHjjp0SPT2DF/qw/b4Awlw76XD2exRaztcvd1A1ZT6kgd9uSojq juEt/+VzoHdqQk7z9RLyvDXxc+eqU7VCwIwYXqH1ou2/D3HF/E3BaKsY8VVnAN9LA79u k4yM2vv2Dkr6RvJyCQ1rYOVH27qYQLZBUeV5l20n3c4aYfWIXCjL+BP0rcBqROnK7D2B SfuQ== X-Gm-Message-State: AAQBX9e9mTmeEKTrBTc43+1XJEZbx4477pturRV1sxIXL4Y0xXQ6w7lg xryRza/3bWdlkzv1MTm/+LATkw== X-Received: by 2002:a05:600c:2294:b0:3ef:f26b:a173 with SMTP id 20-20020a05600c229400b003eff26ba173mr1910380wmf.14.1681218288917; Tue, 11 Apr 2023 06:04:48 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:a099:fc1d:c99a:bfc3]) by smtp.gmail.com with ESMTPSA id t6-20020a7bc3c6000000b003f04646838esm16921301wmj.39.2023.04.11.06.04.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 06:04:48 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v3 0/5] arm64: qcom: sa8775p: add support for UFS Date: Tue, 11 Apr 2023 15:04:41 +0200 Message-Id: <20230411130446.401440-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski Update relevant DT bindings, add new config to the driver and add UFS and PHY nodes to the .dtsi and enable them in the board .dts for sa8775p-ride. v2 -> v3: - fix DT bindings: move allOf: below required: - collect review tags v1 -> v2: - order new compatibles alphabetically - rework the UFS PHY bindings to accomodate more clocks - add a comment in the .dts regarding a non-standard clock used by the UFS PHY Bartosz Golaszewski (5): dt-bindings: ufs: qcom: add compatible for sa8775p dt-bindings: phy: qmp-ufs: describe the UFS PHY for sa8775p phy: qualcomm: phy-qcom-qmp-ufs: add definitions for sa8775p arm64: dts: qcom: sa8775p: add UFS nodes arm64: dts: qcom: sa8775p-ride: enable UFS .../phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 26 ++++++++- .../devicetree/bindings/ufs/qcom,ufs.yaml | 2 + arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 19 ++++++ arch/arm64/boot/dts/qcom/sa8775p.dtsi | 58 +++++++++++++++++++ drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 38 ++++++++++++ 5 files changed, 142 insertions(+), 1 deletion(-) -- 2.37.2