From patchwork Wed May 1 16:19:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 793763 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93D9A130481 for ; Wed, 1 May 2024 16:19:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580385; cv=none; b=Ka0OP28EOgLNj+EASmubs19xU8Yrq1skLBDmNbtwvGaA83ARCMvZU5XPOHxAF3LNBFZng8XdTm52MLnY217VATOiDsSCy/J3bQkk+KVQCoxxQxp0UMcNggFqreygQeAxWuUAnNeuJGD9ZM6dZVjRnp8UiHbpvBjf3h6qqFPhZFQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580385; c=relaxed/simple; bh=bHPVaX7g1ojgYmJfgd+Xo3j75Gojgjju01OfDQ+hGiY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OriMw8fClkdJU3bL7jzuIbHWe+CYhcDV5v9NCQF+dOcsNSE6QZBoQkXe/qAXHn5us961SGN29pMFZSWiWiZh9VkFKwymIT0RXSfeaqAtkA0SboJy5j6uxhvjcBXAPsUhIQgJ0mGwCZPR2YrflyDVsSGMZ6b8E3hxPF/L+r8QhUk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=SUnIjXzB; arc=none smtp.client-ip=209.85.167.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SUnIjXzB" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-5171a529224so8837437e87.0 for ; Wed, 01 May 2024 09:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580382; x=1715185182; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=k66DwDazgxPIlwfE9lr0x/khAGuHbXzCOFh46QZYNQw=; b=SUnIjXzBxG3vnX7etJnLy1myJRc+NMrwqEi1z6i9x0hSBfLu2Iy03Lv1C1wxbGWZxd ndhSqes5H2JQwrGZY+kjEnhJ1J7lO37F39tCPiqyhimXTbC89/rZ7aOGsHaO4H11WRTH KYLBC/Fg+Kn/BPsrD0rTt3p0NCku6a07UFLJ8Add6xGIbZ/J7QAcEhJ1BtEKU0XatVWG IVF/iICJNatxw5MnM3PiELU4oUeH7z+qbPEkXy/VQBR9VQ/XLOcNNDNJ9ZfsGFPtduvB iBC7ghDU9SBXCAViNWc/2Kp+wsDB7xo9y33kIvxYpgXmFMw+lrXJLd185NYeH0wVYME7 THOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580382; x=1715185182; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k66DwDazgxPIlwfE9lr0x/khAGuHbXzCOFh46QZYNQw=; b=SaNU060qUcnymFPCldFrx69sWZ3hVYwQ+h3lWPWs9kO0S5RtDRvEVSGjwU5+ZztJZ+ IJZILpP50+V0jsqpLww+42tYpUMkrd4FwvUQPNqox3K1oM9xrn333Zw52qlAmJvM2+2R OjB2FLmMfv9PqIvBM3nFON42nQyZ9j1dWhzUS0LJCMgprWKqYRXl9u+Jp/PWiqpOaDQr QrWWV2WsLs3CQ0QhD8lBYLtMSZ2LtO3SrO8sawAcRAenFa/GSBoCinVAJh0jNUY0Le54 GlDQfA6slbPJA5ssI9qNLhvLu9DVmo04DFivRqN6bYazhe9SneupPym51pI049X9ljKW j96A== X-Forwarded-Encrypted: i=1; AJvYcCUTwS+EV2ajH1W2V3uKU8G+7dAIFL6/e+3NxM2PMc8KO31f2yVODBKzgNxIIFWa9I3N2VrcP90gktnr1ytQLmf4qmT5guOGWLACWg5OMA== X-Gm-Message-State: AOJu0Yyxpwrxjvbz+kugDXAa34cjt4MD672j2cRd3YeLh0EEzv11DabM afJbKYI5uvbvJejwdn2nS0apMWbev5OoyF9hgQcbrkaBIM5ID6FpdLBgeldk0WU= X-Google-Smtp-Source: AGHT+IHMwZPdU6yvzS7oQ6zjkhi4uk9YTE2D2xn1JB1jRQ8/UX/d/a/3+DaTH6Cmc2lhms+iawa6mg== X-Received: by 2002:ac2:4d14:0:b0:51c:d528:c333 with SMTP id r20-20020ac24d14000000b0051cd528c333mr1612148lfi.20.1714580381827; Wed, 01 May 2024 09:19:41 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:41 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:27 +0300 Subject: [PATCH 01/13] dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: fix x1e80100-gen3x2 schema Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-1-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1072; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=bHPVaX7g1ojgYmJfgd+Xo3j75Gojgjju01OfDQ+hGiY=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuYW6i6tD3pxOn9MhzjXJUE6c0xF8sREaioL UwTJHP5oiOJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmAAKCRCLPIo+Aiko 1Y2RB/9nIv/KsMCJ40k/VRUMsZFgk21ukKZv/QKS1BnRorGhrkrplN5wVz0i96EIRjHwStOu1+4 RCjg7lFa7OPPuedtvkaBr2iAryveUfHEUEtdWRNWu+twi82EGnrmeslw5H+auM/QDlD2/A+5aES teE8NI5fNBHKnt+Mh6t+ofzVfGb132U5QvTjyWLAJ/lD7Wloixh8WaCIjoAp/iv/ZlqYSk8zXeG gEaCn1zBennqUdqekB5eFvXiC7TD1Jj/X3O01tIXG9Ia8IpWi/YmBp3dRHzBNRdyyMxS25DLYGa +jTUnbZNSUvkbeXUFldlHuLqvlgb63B1CuOlBlOhKpMyNQAR X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The qcom,x1e80100-qmp-gen3x2-pcie-phy device doesn't have second reset, drop it from the clause enforcing second reset to be used. Fixes: e94b29f2bd73 ("dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Document the X1E80100 QMP PCIe PHYs") Signed-off-by: Dmitry Baryshkov Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml index 14ac341b1577..16634f73bdcf 100644 --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml @@ -198,7 +198,6 @@ allOf: enum: - qcom,sm8550-qmp-gen4x2-pcie-phy - qcom,sm8650-qmp-gen4x2-pcie-phy - - qcom,x1e80100-qmp-gen3x2-pcie-phy - qcom,x1e80100-qmp-gen4x2-pcie-phy then: properties: From patchwork Wed May 1 16:19:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 793762 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69C32130487 for ; Wed, 1 May 2024 16:19:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580386; cv=none; b=jOlytJMYFsSIKDbBjjcI3ilQVtoFdotpfDBi3tnCZsc2fY2QT+jcwfc67YarOf1ePkjEkkO5aEM86nMXYa9j5YQFmq931xTIoAiEx/KyXdUs+h6cCMmpUc+mHZfXoahsy3dQlW56g93Ov81ONcFWkDfyFVA/rz56O1CtogxlSfo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580386; c=relaxed/simple; bh=5Kn/Xp5aT6AU6VzISZGaeXF0Itj9GdwjhwxzVTTUE3w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WisHKPtIp2rsLMT22/JuNU7mYvZNJYQgPW+Xl0y60a2UvccAKeueYD21tXELlqo6aCXVarWaLrrQ49O0MRBEDDauQnDWvEd83ngJyxkSYril1lpFIbB9sy1TAvEWhK5bfrA5rVHVdc0KtWBjufkXaWwWt2fd+EotnLENJiNi5/g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=noiIre0C; arc=none smtp.client-ip=209.85.167.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="noiIre0C" Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-51ef64d04b3so371343e87.3 for ; Wed, 01 May 2024 09:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580382; x=1715185182; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=QS7uXHBg97FEWIXT4Bv2Z1UzRhWVUsI51KDXVVeZ7No=; b=noiIre0CUH6nC3isZuWRyqn3NEBMoMTdmObHieUa840Ie+YB/b0YVLJXDMFAzq8CWC OsDqH0/QcKBCpV+EgZHAXzwmt+7SgT32WEXkIUAU3B+CIs66o6U+mMQq5XM4pij2NQw1 fpNoGE8KRT8tG7QESJOXkv22rSeJ+y2mohdmrkjmd8rzMFqNWkWPysacOdhHzLjGNC1K Ws6Y/h32hSdfBgRK2s7P7lAOvZ06nZH098AB1ZC8do93mN3lWUCOnPpmE8ntyUpoA08W AN0K+x5NrY2NF1lIVK9/4eYfOeViXd6i6Lbo7uasc/AYAYoDwubinuZThybweQTlS9OX 7epQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580382; x=1715185182; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QS7uXHBg97FEWIXT4Bv2Z1UzRhWVUsI51KDXVVeZ7No=; b=f8em3sdwX+lFgFh3qonitXW3OzI0yi+Uu0Dw9JnTpJMABMHB2kqPlx13jXISdv/B32 3BrOdhoYEVTrk+jZW0Mn6uJBoO9Ri3TeYjDAY9aSV9Woh7/x99+0CFOfB4vwwwqstJ/T hq154SHSGcKKAMy2dg0h6Q48ep5z34108U/cbOrlILE2/WdvA4Doxmj0Re59eZ2wKNen tgXQ0gvuPzjZWO2rn1u0i5Hx1uGSldPWrjf+4QSrFMCvPu8o8l8/RST/bI1qjkvwkaPU 97LMUUm+35wIFH6w2GbuIvzxS2OvLgSeipX5d7p9kvO9r6RARByh/1IUFFDCynVYjrVs 7rqw== X-Forwarded-Encrypted: i=1; AJvYcCVxYwE1E5Q3/3XH9l0p16NoO1h5v0WCuPUSZYraa7uShAs3JFF4u2NP8WO/eFHDgPr35abgbPfFKr2NJ01oUd9Hz5Ry642kcl3yOHVEHQ== X-Gm-Message-State: AOJu0YwGEEWS973B3aEE7sGXg3vNMLlmScA5q7HBhaaOn0GO3Pov5V+9 3SjNoI9OMkuAF2qFWOOL59SrtCWxag37m1newBHWloURUefAuTKSyEG+KR5GyFo= X-Google-Smtp-Source: AGHT+IHOUpp0qpUkPb4uAi+MDjtYR+8QFYb6uaQRdhghuWRCMPDlkyU1X/O+WPQgGiFUFedU6jVu0A== X-Received: by 2002:a05:6512:547:b0:51b:e707:74dd with SMTP id h7-20020a056512054700b0051be70774ddmr2402251lfl.33.1714580382667; Wed, 01 May 2024 09:19:42 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:42 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:28 +0300 Subject: [PATCH 02/13] dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: fix msm899[68] power-domains Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-2-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1416; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=5Kn/Xp5aT6AU6VzISZGaeXF0Itj9GdwjhwxzVTTUE3w=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ5pR9oypHnen8uYHvdjteSf5e0/N7fPO7+tmuZ8+ySeYq aWivW5LJ6MxCwMjF4OsmCKLT0HL1JhNyWEfdkythxnEygQyhYGLUwAmkm7M/ldwyYkNpp8yOd66 TPjf5nZvSmubMJfd/VD1lxPuTwiTk78hwy797UTizuO9x6+9k+zlzn78v2Vt/lPxItUJWe5GiqI MAcZpZ32NrkjdWa+dfjV+seUbSU6uVDXP5OaWzUHaczauCN3amP+lPD7a8uidSe8ZraO5C8W8y2 77/L82tbVW6eq8bX9YJDizerOWz/y+2yCweLsUR5n8wmXvmjY8WW0jNCcgPeBZvI1b7uTTcfHVV 2qFTQNfcUVMSousrD/4tkf1tlL3b/tTKTdfuJ3deWDtk9zW7rKbgVFTX3vMc5ac1xxb9/SDfoTC C8/FJZZWka1u51sXl4XKlZ4p66xdcJLJ4quAnXVhiKAFAA== X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The Qualcomm MSM8996 and MSM8998 platforms don't have separate power domain for the UFS PHY. Replace required:power-domains with the conditional schema. Fixes: dc5cb63592bd ("dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml") Signed-off-by: Dmitry Baryshkov Reviewed-by: Krzysztof Kozlowski --- .../bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml index 9dac6852f8cb..f9cfbd0b2de6 100644 --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml @@ -72,7 +72,6 @@ required: - reg - clocks - clock-names - - power-domains - resets - reset-names - vdda-phy-supply @@ -130,6 +129,21 @@ allOf: - const: ref - const: qref + - if: + properties: + compatible: + contains: + enum: + - qcom,msm8996-qmp-ufs-phy + - qcom,msm8998-qmp-ufs-phy + then: + properties: + power-domains: + false + else: + required: + - power-domains + additionalProperties: false examples: From patchwork Wed May 1 16:19:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 794190 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FCC81304A8 for ; Wed, 1 May 2024 16:19:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580387; cv=none; b=SLI9d2Nzq5j+bKodH7vqetoLzdFvooeYj/toH/g4qPIrHiyFnmwsowoS7bPOP6Gt9BxzPviRxmOz1WQwrDQC1Uo1nFlMGxw/RXEl33K6/gcnHEtsm66pA5Ol1n8/8MEvxAqXLmj1Qg6qKTbR3Ew5bQ1hBzhoIfSLTxFPeRd03a8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580387; c=relaxed/simple; bh=JQDseGGUo/RET8ft8mbdYXUrgDFowOEq0U/TppfOJXk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mbLjtkooLs5TTrRl6J2P5fHSRno/ygMeXg8R7IUc4o3rbw0tyq/nn6r4SfqIsLMBZT1Cn4CgN3sXDInrHomQDXr2MiQyGE5izDJFald8CR+AQ1taxyYkedPdS8ZfS9kl6IPI7yIRTEOiPAJa9QzkryKKQSPP2ZOT/3ewKO4PGKE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=TIh9FLLa; arc=none smtp.client-ip=209.85.167.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TIh9FLLa" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-51eedf3aadbso354097e87.1 for ; Wed, 01 May 2024 09:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580384; x=1715185184; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=zQcyH0CQGIecT+zWVTvaDhk752lltvZDOvyRppo6X0s=; b=TIh9FLLa4FHjPgXVn6d/3NmeMm3/COHjbutQIb2jIO3kR02rgBU3OUErfsubHzriRs e9ViEN16TbGiOAQdmH0PneRoHG/lHbqY14vraLxwLd7G/pzW8sp5AkqI2Y/U2n4sEWAI gCMfbgZaoIaUgXYlAQXpPsupyPsb0bFYAquVXGFOrr70JlRSRI2w+78w54GPc4m5CFiK 5v6zkrHNmqko6WEabgDsfVScJwIdcjE0lnEIbhCpVhRskgdP6XeHp/gctxhTYuhcO8z6 zU4zohkq46HZvPQW7rQI3gd+3FzafYP8SRpJ96ANZf1yGK8HvqakcvojsOk6Mzgcbgbv 33+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580384; x=1715185184; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zQcyH0CQGIecT+zWVTvaDhk752lltvZDOvyRppo6X0s=; b=nTDlMDnaJCHGb3nHDjeWPRZlLZ7ji/12a0XE/L+MOyapRCBRgXc/Z1kwzOwDadAXog 1Uqdfxuk0MQnYQ9sek0pW54e/t3NEhhVf+HgYInM5KVKz9VqGOpUD7BRfsyX+asDG+ME ekZTjiCAOFr94HNBevHNwpCh+1AZ9qYTZhT+96e4nd9URsgJFlqTIIWK02Vc2edxvnXp lqWlKoLVa/OR9el+agGH7167Pov1UX5HhRZmwx7QdmTeF4A8AjAuCqZ41LjZ/Xs/EVpo dS5KfeYVUrQ6EB9LLqKMq7zI55UyvGxve5Xd9Kl6UowKHNKFOFNqWx7iSg2Z8JyKuF+M Vc8g== X-Forwarded-Encrypted: i=1; AJvYcCUdkP9PMzgkvU4HZWlp3IVsNuYrgLrAsZ0GGZQynbKtn4R3BtKUndfVmFltkzmHMITJifvJloaT5CRGnXVjNzrmLGIe1RhY26Cp5FTrIw== X-Gm-Message-State: AOJu0YykolJ7pfpejuk0LOUvNbtDwpbvILCUIu2L3FvSJr6F6qh+Kb/U OiN3me84hEBRhLmh51I8WgrPRe1nnt1TK3k5AFiKskeC4E1+XlvT895MCb1XflHKg8em1xvXUpC Ezz2k5w== X-Google-Smtp-Source: AGHT+IFqPEJW/HC+cf6evSpiBnKTVoC9MgPssLpDGsdbNVGqZt/6nuex9rtE4/hP5MziFwRhJQoSmA== X-Received: by 2002:ac2:44cb:0:b0:51a:a65b:ae14 with SMTP id d11-20020ac244cb000000b0051aa65bae14mr2093217lfm.25.1714580383592; Wed, 01 May 2024 09:19:43 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:43 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:29 +0300 Subject: [PATCH 03/13] dt-bindings: phy: qcom,usb-snps-femto-v2: use correct fallback for sc8180x Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-3-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1278; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=JQDseGGUo/RET8ft8mbdYXUrgDFowOEq0U/TppfOJXk=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuYaDLIID2+x59b4mWDd+RmoVTASGHhyuc7G RHxTtIS+AeJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmAAKCRCLPIo+Aiko 1Z02B/9/GWAgJ0b7DMYVB8P67bPfKoKItErG5spn/rWjRmV5/Q1iYL0jH7Pv4RrH2J/P3ieopqc RA4E5ARBBUXTnonFisMu9Gd0p9QLmPj0+KhwqI6zC6WXrt/mrviaPzph08sk2LUMI4r3wiAFW/z bflQdHtgnX1HTXj9/5aYNeW5TDMs5X4Gvu2zj+eZc4L3lmKOgueMeP+kV+7VXFsDZuvh1E0Mu9A Jc4Xoe8PEY1NQCrRKi/FR8sFQNbN+vkivZ79ZegZtSfLwaJ/Ktq8KYOC3/sbxRJ97yUNuF9ef+K NdlDZXKxBQJ2SKjDbURX+7mNupnZlM/HW62JUQEKSJE5GFHs X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The qcom,sc8180x-usb-hs-phy device uses qcom,usb-snps-hs-7nm-phy fallback. Correct the schema for this platform. Fixes: 9160fb7c39a1 ("dt-bindings: phy: qcom,usb-snps-femto-v2: use fallback compatibles") Signed-off-by: Dmitry Baryshkov Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml b/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml index 0f200e3f97a9..fce7f8a19e9c 100644 --- a/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml @@ -15,9 +15,6 @@ description: | properties: compatible: oneOf: - - enum: - - qcom,sc8180x-usb-hs-phy - - qcom,usb-snps-femto-v2-phy - items: - enum: - qcom,sa8775p-usb-hs-phy @@ -26,6 +23,7 @@ properties: - items: - enum: - qcom,sc7280-usb-hs-phy + - qcom,sc8180x-usb-hs-phy - qcom,sdx55-usb-hs-phy - qcom,sdx65-usb-hs-phy - qcom,sm6375-usb-hs-phy From patchwork Wed May 1 16:19:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 793761 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 38BE9130A4D for ; Wed, 1 May 2024 16:19:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580387; cv=none; b=K2zpcRbPZsIOHpP8svs0dokS2c5SCYtoyD0B0uAHogA9ZmjLmD6CLfp8TKh7gB2wAhN9h6Sbewi0VM79j6zPDV4NH94Nc72KFKAzcjYLDWIjbY7HhRaEw7MmPDIVpM89xs1vtwLvys5DaOlVnQDt8Y3nfS1u6RFG/4k0qINjJXM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580387; c=relaxed/simple; bh=reMWTTafaerBcmGlLpLFc80Ucy1bb2eDytgF9WWMKMs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=teNKHUNvP4aRKMTdgXBiLe0vBL9F7NzzBXwapEJOZ5N3ZcXrInrdi7vT9DXKwIE2Zk2ULFcXQIAQcivl8GUZdSnhJDMcXVaThWE1p/9s9OP/6fgjhjqIzQWTjPjfczLz+om+dU59ZOee06r9w5JrSbV+/K3JSJR2MbCu77Xed3Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=IdfmugaW; arc=none smtp.client-ip=209.85.167.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IdfmugaW" Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-51ef3c1595eso311465e87.1 for ; Wed, 01 May 2024 09:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580384; x=1715185184; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=IwZX91+fyu2v2To8YAuRlrp8mqx8VMi7WeEYZ8W2110=; b=IdfmugaWSeyXpO2StwaTnxwkaWa6JaXS97XeG6Qbg3RDtkbgft1cW02UXxljFDq2gS Qh3RZGBoMRyiKiWN8qmArqcs+tlpC+ZT0CesXVfCJCUiuNVBIsJf+16hIrBtAdWFq6AJ smZcF8YHO5JfDAl2zDiqbXG5H5fc6OdmHAG+aOA1mZDcm7g5S1A0yM2DuCjTKHfu2Tfn 776KWErcHy2uhuZaQ8YWOMmGgPoCMmIREySKbI+5V/mgdv2jvtxwakjiZg6sOgw5mSYc rN7xIyYceZz4fOZ5zuDDKGtnmRkoXOEO6BPQZtyJZK4036Smlbb9AGCKtCvvN2NajV8e O7Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580384; x=1715185184; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IwZX91+fyu2v2To8YAuRlrp8mqx8VMi7WeEYZ8W2110=; b=Pj8I2t7lIlaA70TSFecAo+zaGH6rAnCePXD++Koz2tGV8U1+/DF5Ank4fCUVoYwZsn J4HXRllJcTzvlWoLFSHWfF6Y2zdodPY5gURuQznTxezV4hksjm3yr09wCS8Ys0fYforf DUBQiKl/sqgQtDc13orIy4Fe09hD0DVXvN3aAwvcOUd+B8Hvi7TrDJdtVJPiW6BHzLm5 1SZko+qm1tALIY4oYxTangNtLVElVi+GO8laFWJy4t0d045Ey71EfOh6z8GHU8waz27i WDQyatHnNtA3oznacvd+R5sCsAt5Rj/DWMnilwUvFPsAZCtR1Yqk9s+bvI1Ug3fR1s0B eWMA== X-Forwarded-Encrypted: i=1; AJvYcCVP8LTcWV8+Ci7IDw6soWG2oPGyrYb/dy8a6xvk1mtoIRsXZyoC5eH4jYisNGtupQkEi6aDvGkiOjbcWu428+Ml8rQ/mgruwtvURfgHVw== X-Gm-Message-State: AOJu0Yw+bYLn9UHHVickyLIMTkNzVHG7fJspzN5IoXImHLhe1AoZgMzR X4qEMyx2amEfkALPG2TYH13ye2+0CWDvGDvht/FR5FURsui2ng3CSrxqbiEWV4A= X-Google-Smtp-Source: AGHT+IG20sfl5EC5LLMXV4kcmeBO9vuLq7BnZkB28yj2/hwiT0Ze317OhVo+dSt1B/qoF7/EUeM7XA== X-Received: by 2002:a05:6512:20c9:b0:51a:c207:12b with SMTP id u9-20020a05651220c900b0051ac207012bmr1484187lfr.37.1714580384459; Wed, 01 May 2024 09:19:44 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:44 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:30 +0300 Subject: [PATCH 04/13] arm64: dts: qcom: sc7180: drop extra UFS PHY compat Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-4-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=921; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=reMWTTafaerBcmGlLpLFc80Ucy1bb2eDytgF9WWMKMs=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuYIw1k7/VIRimo91ElHCaDOpuIa1DpOZFh5 D3ntjMul7CJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmAAKCRCLPIo+Aiko 1bdyB/sEzD7K/i29E4xVZevYaekOPnK7qu5JW5OuE58rlBhVIZh5KWgpVKh/D5gQTDhIJpEAPwJ YsAcrlxEZmMRAf37N6fxZXLt4ko3t+Bz+5g8AdjnTu35CZGn0C7MKf7kvwjCXdck7mVHdtcHjwl etrwmLHSZJ4fH71QJxL28NV525ecyKhdPDhEsobzRwFbbKWeC3K3gwuPb3omnkeNb8DonIkc6K9 fl3DLEXEI6fbI/0DzrepZwefeoiXdF8EgI+BOvLIT17BS4Di9iub3h6U4WiSRKjl+EeKGs2XlNj ij+BpqdPkSwxVBUk/Kiuz7l77s/0pa038i0pakrJFhzq9ynU X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The DT schema doesn't have a fallback compatible for qcom,sc7180-qmp-ufs-phy. Drop it from the dtsi too. Fixes: 858536d9dc94 ("arm64: dts: qcom: sc7180: Add UFS nodes") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 4774a859bd7e..52d074a4fbf3 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -1582,8 +1582,7 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, }; ufs_mem_phy: phy@1d87000 { - compatible = "qcom,sc7180-qmp-ufs-phy", - "qcom,sm7150-qmp-ufs-phy"; + compatible = "qcom,sc7180-qmp-ufs-phy"; reg = <0 0x01d87000 0 0x1000>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, From patchwork Wed May 1 16:19:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 794189 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 04466130A68 for ; Wed, 1 May 2024 16:19:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580388; cv=none; b=mj1fHBpisTqs/N5gOgkbZgib6pO5okUHxlZjA5QU5ES8Fo81TxFWSQg1guU/MlNcbCwWK0zGK9vKl5dpwZXNmKfmi3h2Tb/HGYMfrGXyASq0Jr0BLZiFMMMyqB7OAnF6uhw0EwBwiwPq8HNjCNjjzORGUoc7Ozt7hpBnjE4MWK8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580388; c=relaxed/simple; bh=rlPIxlI5gdNvSgl0pBH6f4cNs0y9HMlaG1lqaxfSHzc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PQXDP8e/H3jpbddgwzQj8eHR8J0iKi+222YqL5TXvrR5YDhb8oETVeeGqJY/PJ+lIBo6s4BYXKs4EYtpFgusvVyFxtHa/FI7GPQGcYpyyOWvk0oljLyqSjzIxFCnbSYsjLh6SD4FijTHK/hTT4MKXszXKaFMknL7+8zeoKPMViA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=vhs8RVtY; arc=none smtp.client-ip=209.85.167.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vhs8RVtY" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-51c66cc680aso828097e87.1 for ; Wed, 01 May 2024 09:19:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580385; x=1715185185; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=R1LGjwu6MzdUaPKjH/XiZET2m/eVi/2jDASuOiEvjq4=; b=vhs8RVtYfhxL8uwhjdATG54hAL879UV93jNH4YmQ7harZQj1POFNXRg9/SgyC5WIUD vKuGxhJs68s2wMRVGGWEstjb0Kjjs4HQbaV9IbQ2eCDCs3X39N2e/MY+vegYjjEfGVKD dcA5HqmfXqErNyrvdBAiPS+BK7XJyDS3onyGK9M+HoTl1VtIgZaMpeb5oMUdflYDtO1U 7Yq9k6fQbOk5tvRVoRjgC+CQaRy3y0T+Bs6pKLsEsCxX7zAnxL5jAfH0sdUVTvEk8Mgn Tii3LLBFVg2K49hs/7XIhhl6PEuf9iAOYXL6+jHdbSK+lWlc7gkBkBFkREct1OTxeRbx bnYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580385; x=1715185185; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R1LGjwu6MzdUaPKjH/XiZET2m/eVi/2jDASuOiEvjq4=; b=glp+OEdhtYkyES2pTkM6MKJodSscJBb22I1YLKcWNFBLUIyzH/VNeHlklnOdgTfil6 0JC2XkYndAE0jqEHUpVc6wyLl6KVcfXgzPkjT4f9AXrXyswwAftIDMLlkPqW6ihE+LOB J7/9RQIS/6nSjCxA/yoiEof4GD9+V6ju8aagEa3x4duWT0zS4jC0u7vx/pUrpOcEb3Ku joV5AmZMgXU/bBYyipMIp/Rr2HN1rS7EAA15rARI2T0zAbMn9EMu8gPcOsi+dW7Xaf00 vdJfUyAocJGMos1n+2+8PB1EbeyHml57f0y1a+yj5eo2YmouGczM6kDws2+WG5sLJ+MN r5tw== X-Forwarded-Encrypted: i=1; AJvYcCUkQbQgqdJVZi2jFK/T+iEoadIyziX2mq1m32X30qQEc15J2/ojbyiQ4r5qcleSj8JwV2XcyhbypLZ5y+YyM1b0kPpOfCq8lb5GnCQFLQ== X-Gm-Message-State: AOJu0YwTR8xrIzs0hf4M4d6bJG/4hIspUXsUGeDx3qje9eidGwDlzYxT Fa1N1pG9VzVe3M9UGUxSJkqusKuCHJeS9clImmvpR4YwH8jxq163ayDWcEMnCNc= X-Google-Smtp-Source: AGHT+IH3E60kzfiMlELTC/hNkguntyDCheuWPkVrC81ZyNy3wIgVczhWGMe5SUFJZ+3XRjAYYqlG/w== X-Received: by 2002:a19:4304:0:b0:513:dbcd:7b8e with SMTP id q4-20020a194304000000b00513dbcd7b8emr20829lfa.24.1714580385326; Wed, 01 May 2024 09:19:45 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:44 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:31 +0300 Subject: [PATCH 05/13] arm64: dts: qcom: sc8180x: add power-domain to UFS PHY Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-5-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=795; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=rlPIxlI5gdNvSgl0pBH6f4cNs0y9HMlaG1lqaxfSHzc=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuZrkU7RCccVr5fxxcKJu0/+NwDnrejC4MnY l9KXgJNBjqJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmQAKCRCLPIo+Aiko 1V4OB/0XXfnlyOiHQ8kKWuNpT53Yz0hVFoL0ULg5DYUTwTF+/ZMfbHzxmY/2kF35NcnasEB5hH0 GYQfdgSgwopA4o+2ujJ2WW996MXOpce2Y9COy9/p8XUqCSAULK2ikvkSAaU2gC8nbYw2RaOv0f6 zRkmpVKsIK41+jOTe2RLCSPuArsO/d58evA5BxoBm4lGScb229ApNkAt2Bu/b282ggPHU1/QGNI bMgAOhPT61cp+cfCtRKyJzcSXaVRi5TyEThgkjaQQ4WX+p+dWiqf+Q+pu0I7CPZeGZJjFWQ54Dz /be9XNMnAaR8zM6uG8TitOsCEbD/UTZhvURVCMNugUCTBWsD X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node. Fixes: 8575f197b077 ("arm64: dts: qcom: Introduce the SC8180x platform") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi index 2d2cbbff4e13..87479057adde 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -2246,6 +2246,8 @@ ufs_mem_phy: phy-wrapper@1d87000 { resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; + power-domains = <&gcc UFS_PHY_GDSC>; + #phy-cells = <0>; status = "disabled"; From patchwork Wed May 1 16:19:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 793760 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B351A130ADF for ; Wed, 1 May 2024 16:19:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580390; cv=none; b=WJbOx//7zhP82QeI5ucbBPr0/u9nu3hT1XsRfVbEuEMvGkKPy7CAB9pZFGM5Aomy/j4wyIfj2jBVSQLQzM+sie0wGqYUmC6Ysb+ZXwCF3yHkmgoCJmwWoK1z+j4JW4qek7doUAn2TAT0WZFJTGAQQ+67DJU401TaXo28q8Y/D4w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580390; c=relaxed/simple; bh=U6Q+67PbdRpsMf2p+D8ZYXA8/GLgExMANFnZ5cyl3DY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Nqp7lNhjySysbaEztpUpPQRF1dDhnmOYVdWOXHo2vgE2MpQAeY5Fg4NyISKday6z2Ma5nD7B/3KAVZrzAv6m5vB66RISUjVv7iKccyenYFuLmdjSU/QcQ8IBNQNh+9kA2Hwsd6XGYs+86KIrV0+JqCMDhCWkl94kmNfxXAxNVpE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=goWmVKwk; arc=none smtp.client-ip=209.85.167.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="goWmVKwk" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-51aa6a8e49aso8628536e87.3 for ; Wed, 01 May 2024 09:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580386; x=1715185186; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=eE064Tt+USwNcWBmC/lxuVCrqUw8m0WdQguIAwzhth0=; b=goWmVKwkUS9DVioTKGz+w1txm7qUoJtakA4llUW3vZVsydW6EDJiPFM5v0/8HoYxrp 3AzCKt6MpITLeb3asSI1tCEriDSzcdKjLNGakNGpTFTGgXSMPPFfOeRvoyv5hcl35hm0 OirREV15sfjpZ7ab1YI4UDGB//JBRTDPdttyvthxGoKZkE8abXDVrw4l855T5+HOQMO1 HfP8vlCbfewHfkLsKd+zck+LfqAMPi6b7vQQE+l4mKJwsemMOYc5P6UoX9yjXaaWF2EF YzGdPPDZZPo4TrABdexgdGfsxJ9Lrislvvs/jfRLKguCS2beQBnlGZbk5ad2Pl2i6dxV cmuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580386; x=1715185186; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eE064Tt+USwNcWBmC/lxuVCrqUw8m0WdQguIAwzhth0=; b=VGlZ3ZeaBMIq9fsfLamSyaMtXKInxLecJxes1C74UfN4NZNAJznYVqxQP4RgYWxW03 c3D9vRzRJyJ868Yt2Lr+MbQkL3+owHjnwmrRjmWKVAeGTZPdiZ0BunNR50BEi0twowlA Y5gGM20W+Idi5YWPINlbcV4Lvnlp5Vjgq34CT4wZ+YARu9wE0zcXw8odMBbP4QxWGIFv xQHFvj5nnXRFE3gweSq3AXayoNnRm7+aDER9WU8REEdiAY64Jiyn8efYlaY3am9MXTjg dJrXXRq30sYfmw73HV8/UT0gyCMwTo0k7xXLh59lWHz/GDBQO9RHiBP2jIVUqZvYETkw Ip3g== X-Forwarded-Encrypted: i=1; AJvYcCUrwfvkGP8sgroVJSnNNKraG34JnyXQ6D3PSr/HOaOs7Bhqw8oU9kP2tNSRuFNxIFu9HbGmEIVFqe808YgC28D8Gb/LyOV9ZnOFCcBo2w== X-Gm-Message-State: AOJu0YyeSesH6KSyR/ozXyw0cW7MHTAHXSLivNtECdlSYyqwtaqvG1nG +CnLUc1RUqKrc2b2dtIRTJEZ+6bCG7D4OQ34MHRUv7M1cjSb8jivUkDU9o/OeWQ= X-Google-Smtp-Source: AGHT+IEnHEMgd22v1vl+7LrjA8FxR58Rh28ET7FfsJrLD0nC82cLpCy1mqy1OAB887vwzp/Kp8luqQ== X-Received: by 2002:ac2:4299:0:b0:51e:fa9d:a532 with SMTP id m25-20020ac24299000000b0051efa9da532mr214449lfh.37.1714580386060; Wed, 01 May 2024 09:19:46 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:45 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:32 +0300 Subject: [PATCH 06/13] arm64: dts: qcom: sdm845: add power-domain to UFS PHY Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-6-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=772; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=U6Q+67PbdRpsMf2p+D8ZYXA8/GLgExMANFnZ5cyl3DY=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuZrozUCTRszRcXBdCdCerl6UKTSZO2E+q7F fmL1NsYLa2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmQAKCRCLPIo+Aiko 1eHvCACUhDO18VR4nX6R6vpsu8U7wzpgKsXJ+Vqw/2jx4g5XL/T0HYlIU8MqX2LxmEaacWUFCfp m/lZTwf3VJ8Knn7Gjs4YnCPiy6BHQlRxUB39Ga0U6ycewNEGqYIQRt4nQltgNzMWAY4Nd2vS1E0 si04S0hx7S7Da4RcRhDp8WNZ0usr4sNx+a7DbZ3XW6YOKKSJ0gSLXzaNccD6iAB5iOirRpTR9Hn H3W12LX2hyBfkxhe2a8n8jfDyDVA9rw16GNUPj0eJDiu1cNc5K/01vi7Nyh3Xko8O5vXXg+xcMT r5Gf6iiP5bD1u34Ohkid6Tnk76/xBO4mehG0KgMmBA8QiQo4 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node. Fixes: cc16687fbd74 ("arm64: dts: qcom: sdm845: add UFS controller") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 10de2bd46ffc..26b1638c76f9 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2666,6 +2666,8 @@ ufs_mem_phy: phy@1d87000 { "ref_aux", "qref"; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; From patchwork Wed May 1 16:19:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 794188 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 106E8131743 for ; Wed, 1 May 2024 16:19:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580392; cv=none; b=bAo1cZmWtJ8VC6bd/eVJ6acD/IYLTfF5UizoZ4/sMBnNZQF0BW2G5ehRcEmoN8v0GB+nmPhEDTLA9BLqQBuQZrNtCXreYC1axRVqYd4A9l+4O34d464g1egR6t5b/WfIa0FkrzMnzEBPewS3ue/3MT3Hhxg2OMj6PyoI/Ttb7+I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580392; c=relaxed/simple; bh=naWFrW0qlpkbnfyMNz6lkTT4Kg5gQ1w71bgFqDbRi3E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iQh2vOdiSNhzyoIo6b/pmb0GGMNPep+89yM1ZBU441BRsF8kZtBOQkQfkXb9YCOdszTWJXlTQPPdS/T0/xgs0RcUUWt+1WUUP5OwiaWvLX50EbUnNCmhzPALzJAyzf2hNVlaS+ulOa2Uk4/aPAG5qQ38bQy5v4MI1Z7l5q80YoM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=GxGjyRLH; arc=none smtp.client-ip=209.85.167.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GxGjyRLH" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-518931f8d23so7102487e87.3 for ; Wed, 01 May 2024 09:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580389; x=1715185189; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=tlBgmHn/PpDtQuONndN96choDJkuX35LPpUAOc/PmjE=; b=GxGjyRLHcDAZIkTBzK3wXaDcPdcYty/+Ah/K1XFYmnAX1IyGk2WVFya+b57G0NTynE Pkq5orai+/qNC0GV2JKvAXFGy29olEf3eqBUATo+UcZQZ3RQdgemVhRKDKt2uj0+8/0q n7pVCd1VAgW6Yt2jk/vfDeHJI3hFVQA3tmzWiptSAW43eTWDemJZgjhZzBxY1oldxeHL P+BJJpGlJDUqKyzGAwPBjqBkty2aF6X2Wa6PkXVFB5qCBvCdQNrQyk4MZfwcth9eLJz3 7kEf6Cj/Yq8C+J2kQxCRB1STRiQwJXBbSNjPgf0nR6rDva0yuXbZtA/PsAF0nZwDRIYP VZLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580389; x=1715185189; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tlBgmHn/PpDtQuONndN96choDJkuX35LPpUAOc/PmjE=; b=a+jpYTtjamxejCoibbMqjpal3agGwH13XTUy2mPqcBLD3D2C65Oq/BUtGYFHrtekaR s0Qkq1AxwkXPtIlYcRkNUe30gadbbVhRrID6khuMGfCRz0DdgJMOnNMvXFG2AvaSC3Cu AP9UZt3sUoQSqxV2QVEI0OX0FVUm2pcmvA+h4V1Ji9Wqsi9b4iIimcn68uprBNtSSiv0 zOgrdU4IovyV/dlKltDWqY8ENCnQsoW1GIY9yk7XMwXio6n0uxcAXX2r3ZMT/QdkK7So 0jdhxcjoxBCduh4T2bn1KAwBKv3LRKuxua0ynjKOtDnUq5+6kC9fBF490i2tZmWOsGO2 Btdg== X-Forwarded-Encrypted: i=1; AJvYcCUsOzrv3KY1XOT3gflmTBYYDePtvsY15Q8JiiTiotHRpQQG43rHRbEiJeraItyME5D4Iw6HXaRMohjPhTVjQ+/Le4dlukRos2KmsRJaSw== X-Gm-Message-State: AOJu0YyNJ6O2NPtaxpes82Hlv7AshlIWyzMeOobSuNtCpfJZO/HGhvcq A9NUuLcdA+qzSjiURM25vcsQBF5ViBhACEJxXcDJ+0B17jYV8O/w91oZxvtcRGw= X-Google-Smtp-Source: AGHT+IH8FWbYXk3WZsUX6Htio1PWuqLPJdA+M4B9jVwynpQ7Y34McbPbsLdTXEBKn2F/NOZNkgGkPA== X-Received: by 2002:a05:6512:3a91:b0:519:2828:c284 with SMTP id q17-20020a0565123a9100b005192828c284mr2198578lfu.65.1714580386985; Wed, 01 May 2024 09:19:46 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:46 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:33 +0300 Subject: [PATCH 07/13] arm64: dts: qcom: sm6115: add power-domain to UFS PHY Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-7-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=776; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=naWFrW0qlpkbnfyMNz6lkTT4Kg5gQ1w71bgFqDbRi3E=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuZwoMNt8+h8OWQtoxvqSZIxiOCZBaMItpbd b/edI/5yvGJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmQAKCRCLPIo+Aiko 1eZ7CACMljpmbXnA5ga9/FaUsBK5o+tLmIW71XhWxRYNLrt8LMrExJ4ipQK0K8sWVC/looM7E/R u7XZZ7lBhiqujgBmVDadEoCCXwNOC/TywEiJ92xuL0vxnq+kVahLBmqTs24oGW87n1Z142516f7 uyVkoLc9H0RYffUSnOurYUZ5vg/dZUdySGjrV2MMAhLOb+PdPolrSChfj/wtoRQGSoRwVoWIZSz za0TYe6q4Bn7/3HjjUvStVIbss2akuYGHOnJ7/zx+jH+SwEIZirRJVNVVobMsx7ufawo5ZBTw7b 7uW+TcAQVjV7dwgP6qTnUV7Nrhs35mcse7ZfzM0vXQifmcse X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node. Fixes: 97e563bf5ba1 ("arm64: dts: qcom: sm6115: Add basic soc dtsi") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index aca0a87092e4..5896868d9e6b 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -1230,6 +1230,8 @@ ufs_mem_phy: phy@4807000 { "ref_aux", "qref"; + power-domains = <&gcc GCC_UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; From patchwork Wed May 1 16:19:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 793759 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 68B3D13174E for ; Wed, 1 May 2024 16:19:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580392; cv=none; b=iugu5RK2qPA39jkTpSWw2xywrm0L2ZIl0C75HnVklFuwhgWjtG/SEiyUqQjWMBuCtOr5WTFynCP4zuE2mr2wWsXH4IqUaO/oNl1Tw91JIKfjyY8OJaGWAVMS9U0jRO2x37eJ7Dkr0o1AynwHjF8aqSy8JZ6UpzUcAiXU1GXgkko= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580392; c=relaxed/simple; bh=0+KzZGJu1d5OGxNXPG6e3n4G8A0DMlgKu2iIRaXSmrw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=m/LEJQNQoEbiy0QnbcrkNUtMIG80rCRWHx5UchRhvJeGchXPW/IVt7USPyoglBD92FrKGGRu1v/G22mYOx2HqkYpAPYZGfMlDPF/+u15dUvPVBE0niTj8l22uvTM/ortn8jRiRPtUkgR8XA2YRquazuLt/svwwblDZx3TiCraOM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=xQLaRh0R; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xQLaRh0R" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-51967f75763so8128921e87.2 for ; Wed, 01 May 2024 09:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580390; x=1715185190; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=SdE0TiTMN/48xeZ+pHH+oPuFReIZ69nKUJdRgCnFUAI=; b=xQLaRh0RJcA7LYAZy58T/EF0aV+2nZkPHo29GYBoSGWLo6MqRw3UOqny+LfmDdB8AW +a/YPqDjERe0MmXwIPGI9eRHApYwK5YD6WLRphh5e0GEyStNmDT+DV1KRQIjahJW4Z1Y 3Ews0QtPAvt1cOaE+UrNujiCMvsIgWMpnAqu1CXf7HVHAWRBLDnZlj4vUxrCqtZ/P97Y GJVffVp5chvW+Rfh+C3bUjWr4R0F4tnngaBtS7W9U0sWtcHeVJJmKtRaJ/lDluUN/UdZ vVInYCEhcPSmUjc167axIdCGMEtdVHnAh2BFWdiNMIP3uFI0oqOrDTwtgmt2geT59vGe WAQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580390; x=1715185190; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SdE0TiTMN/48xeZ+pHH+oPuFReIZ69nKUJdRgCnFUAI=; b=RSOq/d1nqOyumV7q/q4Leth+chOxBIx8FiGdRPuqw6mzXH6Du3JKsA982jKQt761FP sDxI9MzWlp8EC2vkc8evjxwMLHu+AEl5R16/XkeEPOTZ2Ln2/79a7C8zhsGWyapvOcr3 aRGhT+Dnxc+GkSOYPnJ8rXe487CyWYQuAmMiYZuwkW248gjihNHAa0uD374kmjwt+umo ClanHXwQb0pJCTVpArZH/M/U3FWr76TaLu8injfERVx0i/XrpYyHJ8EQ+/qmiOr6M5VE GDYmOa4Ewjy4pw7CECSpdQHBe1N/hMWOLFJplW4M6caDYXNT7Wtm+YMxakXhtUaXsnx+ 2y7Q== X-Forwarded-Encrypted: i=1; AJvYcCVuKmQidNgVlmKMU/IqfRwXqKpSWQ+DP2mQWwBQal9OVkKs8uMMwkwwxZqifxdSPOxTv0EU9Hbe+2SXh39rKgr0rBavX0cMpV4HiQrSNA== X-Gm-Message-State: AOJu0YwM/fdOoXicK7E9AuqoYeBUR5aEoiG85qA3iRF79qXA5CKufBED b2d/UMjNwAoNPq15RvFXssK3rT6FlDAsMYdhqAyJWJxAdevpbD+0Vrgqo2fcnaI= X-Google-Smtp-Source: AGHT+IEzH1r+KAKKI0+V0TSv0eZBFtF+pUKpqOpQ2nnjVvVXz1kUbLHYfMDVODAGrvd6no8Kxp4S4Q== X-Received: by 2002:a05:6512:717:b0:51c:1fb4:2327 with SMTP id b23-20020a056512071700b0051c1fb42327mr1723969lfs.24.1714580389720; Wed, 01 May 2024 09:19:49 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:49 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:34 +0300 Subject: [PATCH 08/13] arm64: dts: qcom: sm6350: add power-domain to UFS PHY Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-8-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=767; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=0+KzZGJu1d5OGxNXPG6e3n4G8A0DMlgKu2iIRaXSmrw=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuZG9KMaWwMEuMGJ6kOQpZ9m+V4z8y3kNlwO mGlES+81UKJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmQAKCRCLPIo+Aiko 1c+zB/40c/bo//8AFR25A6n7dxcgpQLMeBuOuILTaGaPo7ScL2YXqhYwmyqoNCs1rq4Nrk4dW/z OhFRMF2bv5IWrbF536sObeUhNiot4h7LzixMbpsg1+bsd1qWs4VP6RfMoT/ov6T4EMS0r7gBKpu VmwZncz3OagI0BbtBgOGsRalVmVafEAHUNbgWMN9H9Stq9mUOJpQQftFZr09JRtOs9aV3u2iU01 U3Grhdtw6P/ULCrdlcIRvGJlKK0+1d7uIlR8RmcRAuNMxhkCl++OdtT0tK7LbrRgamVCD12YwTN Stbr+SbA+u3OE0Wy0gBFYWjHRZiG5Ul91RZOwgVjpq1rb2R5 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node. Fixes: 5a814af5fc22 ("arm64: dts: qcom: sm6350: Add UFS nodes") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 84ff20a96c83..acf0b0f73af9 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1197,6 +1197,8 @@ ufs_mem_phy: phy@1d87000 { "ref_aux", "qref"; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; From patchwork Wed May 1 16:19:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 794187 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D43F131BAD for ; Wed, 1 May 2024 16:19:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580393; cv=none; b=i465kc5NBeGfcD1IjqgbCFICM1/DAeV9U7K+RG2Flna5kc7ehDKwE6e/eXfEUyc1v3wMwcnMLy7I2VXzflOokSOebUa0cryUpVx0N2sJCP3USCpNGiz67VWU1bu4eiMmZQXW8AtC0u4a+HR6N3e3QmcNQtHyeFIv+yH41KT2xHo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580393; c=relaxed/simple; bh=v75KRPGJTvZofiWFQUifaPBPxJ84dw2ZsWnNnHjcb2k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KdlfMZjCWVG4GMO56PsLeooLCgepMna44dxlCjLFZUPglzv0/zI16VzyoSJC1W5+GfhleRSFjqccryTBmUFjWYLhh3ez+Ng1lpwJLeYV+rnnb0cCYAqUmeCt6XVx/UHPzkSoHtvmjJciOPMGtu8Aql+yX10Y7ZqDf0mWvQNOrxs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=DF2gAxuD; arc=none smtp.client-ip=209.85.167.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DF2gAxuD" Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-516d3a470d5so8753314e87.3 for ; Wed, 01 May 2024 09:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580390; x=1715185190; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=j0hw3jt/ESZ12mRMzPe0JCXtbJkvAHqnRe43cp2kTY0=; b=DF2gAxuDqwNr/IHYFMGxLEdCbCsXwfID6Wt+i1n//QMEOK+v/pKg2hEkUxwiaRDmkh i7jMeXVKQCYp4GtDfkx5O+VwWU0VDA+hIdpEpAsTZPz9e9d7eCdNku2bepbHWnpCJNpZ hj9Y6cYczL0D7gmER9ho3CxgdvCZ5ss8PeodGYUI0i9nkrlStEgX2TV6IMfk4gsYRvFG T4K+GDlBoA/xnH4wz9YQCAWPChFsR0YCrwGQkX2GFopWojVygQehWL82EftQLfypOGnw 0tFYk9zQEzzokApoP0kXfS8JM9OvfcYv8Cf4Da909lIuxThR2pUfvbM19St7+QqGwiNW tTdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580390; x=1715185190; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j0hw3jt/ESZ12mRMzPe0JCXtbJkvAHqnRe43cp2kTY0=; b=XST5cjcb6fImz7rxKg+HH9u9dlMEV6DEbLWBnHIXODnyf/s+53DY38KnAGibOBDvAd dy+BrlGO1S0AvIOAaq77AgDhnb9i1OMV0Vy2/RO8ZvkkJfMWjPBHRH8AUPS30swSjlAW uhmBfExGvp6dYNQAgm7dlBOvibrGg59g0kn0uBzIKLBSd3Mr6k5OeLuWfVuHJCzqXHx6 9aphzB3B3LN40O2zL4CwFd7HotscxH06udlnyFdcl4F2ldqacDIsL3khXFoTo3PFpiLo yNh86VMVzsCN3on2Rpe0fkaM8O3YpYpmtKwUSrK9VT8v/VhHgkt8RCXuB1KC7p9T88d/ MLCA== X-Forwarded-Encrypted: i=1; AJvYcCV2FZfGbbqRv0oKejdLKA/0ZgBxttrA+xGYRHccYCz49tpWQ94+B3YUU9g58Qqi7eFVvGqCd/dbswu8SociGf3eqPPFKJ6ZC82PvGSWMw== X-Gm-Message-State: AOJu0Yxeu5dAEbfkXx32/g4vntXaKSwelfwJg0EAt98mRf58ZtR+REzI deIsQb1ulHDf14rU9WFTeQl4vZOiUUzVB0iYcTqBzCSvNVa2ME4xbIeQn6x2aYM= X-Google-Smtp-Source: AGHT+IHbn0ATZmCrTkG805J1yCfXno0/oCz4XkCrrJFKmR+qZAY7zCpYwUM8J23sHr1uKxIPRHhlkQ== X-Received: by 2002:a05:6512:3048:b0:51d:5de5:8189 with SMTP id b8-20020a056512304800b0051d5de58189mr2893596lfb.30.1714580390657; Wed, 01 May 2024 09:19:50 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:50 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:35 +0300 Subject: [PATCH 09/13] arm64: dts: qcom: sm8250: add power-domain to UFS PHY Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-9-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=786; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=v75KRPGJTvZofiWFQUifaPBPxJ84dw2ZsWnNnHjcb2k=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuZkLhep7ItNeEem0QksekwHSJWJPgoJNXPV gY4PL/YOl2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmQAKCRCLPIo+Aiko 1T2mCACbrpJPNbomiyQ95LQspmXzNhzZ8TBqV4Tzi/wJ6dCaqK+3f/qUlriWRaf0NCvwetrkx1l J0hW7d62W87h6mQj0IHlfziTv3N9J8KGOz3fIveTQ+CkYZDsZFLyMMBgsb7VRSwKAIaN/Xd/S+R WqYaU3V9B+DfOHHzPpF1oeqHDBm8QIdLxx935DNpoTviKHlxUleygeYQxT/2eMuTyBHZnmlrefO lgOoIaOdk6thH6fNp3TGi17mjnuXcBYuQ+S76HYR63r/ONMuBBGyEObr4zXvNfkErNAijObnGD8 PY9g+5CBsHogpb19+OqIRlwZbENg/sG4E/GjLa2TSR3tS3gL X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node. Fixes: b7e2fba06622 ("arm64: dts: qcom: sm8250: Add UFS controller and PHY") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index d6c8c6c2eced..425449ffac30 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2580,6 +2580,8 @@ ufs_mem_phy: phy@1d87000 { resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; + power-domains = <&gcc UFS_PHY_GDSC>; + #phy-cells = <0>; status = "disabled"; From patchwork Wed May 1 16:19:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 793758 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0DFE4131BDF for ; Wed, 1 May 2024 16:19:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580394; cv=none; b=Anmfs38HkQc1Q6rLXrxBi2b96kN9FO6k078QjWmraSk3/yJiY0tfheb+yJZy6H5tPDqlzojjim/etrJDdi29HF/c+nhW0n5jGxLoFclpEBMkgXAhQ2L2vnU4mNAULmiRgJ0SD0zGVKCM3kYZOzYiWHjAdlcFpy+Cn8BYqSwpTxM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580394; c=relaxed/simple; bh=crSGRR+b7lbsWsWhLmgSfaIcD39glncVkDnT2aotG1Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bUuL5b/m+NO+8CHT4w/KZJw2fWmLHqmi5RMqLcQkDRUwKpIlLnyFEFYLMoPCHT5YGe0vnNVB1E34aAjmTOTDwREWAKJZDD+U/aBA+D2/4CVeyJZXndULBXX1Z39PliRUSMTAQRf831UUuT39enhW8P2lKEVzs/6TZmNXJPsXPcY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=zlPpjYyS; arc=none smtp.client-ip=209.85.167.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zlPpjYyS" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-51967f75763so8128958e87.2 for ; Wed, 01 May 2024 09:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580391; x=1715185191; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Nj3BTK0l+BT9bbcti373frC3vH8O2ITnLgMyO1UCPOY=; b=zlPpjYySgI2U4YdfFTX5V3btER9DzrnvEP5uoYpju08QZMMr7r1JpYs7hqA+gUu1Ap 4rLapQ9NB2JeatSpfrbCgzokRQHigqIrqIUBnVVmWIqFp7E5hyBfWBewk+ZSUN4fHpRb QNaxclOqbqTRaOR+lG2pQoRl9vvCHYMoYMU8G298Gmjv9HBQFTBQOJcu3BAEA0l6GgE6 4REqauHehw0RlEawvCaporOHLXqIczP31JPkg7ObvOX9F/rUDAMIgmLsb15mxRQ2EEEc LE8uAdcqEOwwakJKSwUNKVpl8mTWXse307KSJZIXoYllAlqfYQ9nhF/bj3V74u5Q3yaW 25dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580391; x=1715185191; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Nj3BTK0l+BT9bbcti373frC3vH8O2ITnLgMyO1UCPOY=; b=SspCdV3i51aZ8IzkdeYEuRoCl9oFdGzt7MPs+N5oDjjRXDPpS3Iausgk953i8FYUPp WCv95m+ybTrBv06LECKZokQ3K/tveR4xfBENarCQadf1I3MNKoW8DSY0uusppnGPayMC 9GquxJgCI8DexvTVFI3c26egedG8XzVnFQHNywQ1vGSA/CGCNC7qPd/YL844ljfItujs 1z+Z42Nea7VBxLMFku0EjakH1mjYuPRBCJ1wS1FPZVVQW6Egs9YyUbz0q8FfTBApVoQt AG2Jo6BV+UUbk9ujryulj12vqPshu9vOxhd/viH8rZIEIkYu0t8E3BcGjobbPaBLWcje aHIw== X-Forwarded-Encrypted: i=1; AJvYcCUePWx48NjlfFyhewhPgQ6vZzqJqWfrV5w7swT6KWq7DGjOlvPt7XFo/j2VhNjVdSyl9H0a25XGWbE/vEc1JbCNAObvgkPRq9Hp6/JDIw== X-Gm-Message-State: AOJu0Yyl5xdbBCoR3+Xwk7sUUFxe3BAD3LbEb7UXUH8vDuD9J7zclcxR gSHC2LqnaYVLpneaUnFuXRN0K6J5DK82U4f9cNjLA1OH6QyIlk/DBrI1WvAOyVo= X-Google-Smtp-Source: AGHT+IH5tqWHtCRAr2aX7+ZebCNeZ1p+W8axFzTMuyk7E9qHpzR2YiJ6RxjCDXO5qhQMUA1fIaS6lw== X-Received: by 2002:ac2:5d46:0:b0:518:d5c5:7276 with SMTP id w6-20020ac25d46000000b00518d5c57276mr1652942lfd.58.1714580391344; Wed, 01 May 2024 09:19:51 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:50 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:36 +0300 Subject: [PATCH 10/13] arm64: dts: qcom: sm8350: add power-domain to UFS PHY Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-10-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=767; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=crSGRR+b7lbsWsWhLmgSfaIcD39glncVkDnT2aotG1Q=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuZ25x9RMFNxGeyyvINVNZjaMJ2VVrf0SXZX QiGBYnfYJWJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmQAKCRCLPIo+Aiko 1XWlCAClFYNBSTiJ7a/SX/3RNxoq7j6Bny31sT04H37W7qPEcpq6UNiGYiVBrFycIriY8gxYID1 Q3GRx5qRyz2E2Kb8vGrbiDZ6zD20WfC3rMaxnyQYl+g/XF9PfILbF/xehPX5FrmfTztd5vS+IH1 JGV5svWgNvjGT+JZFbbvHKwPIuBllHI/Lu9bU2+ux/Ud6w0Xf2Md3zqQS9a2dD1U8zJ/SR1qyL8 zmqLGweUuncnP8g4kI90eN0z86UUC62nYvjxohj1sVFmscsgA9j+j+/DBALhGwuhcTAFcylurZz 62U6E5M5elS0/FvwuyusWgYvK/IMiUFvoNLvrjsaqjF+g8y/ X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node. Fixes: 59c7cf814783 ("arm64: dts: qcom: sm8350: Add UFS nodes") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index f7c4700f00c3..da936548c2ac 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1779,6 +1779,8 @@ ufs_mem_phy: phy@1d87000 { "ref_aux", "qref"; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; From patchwork Wed May 1 16:19:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 794186 Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D59A013049E for ; Wed, 1 May 2024 16:19:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580395; cv=none; b=SlOvPFSgTgSaflmAnzEu9fqfVr6iJz/RoWhBP/hEHTNAnEiQHjNaOKNDmbPWL8jowcmgzkcGU362vDYcC7fkXDjDdT95MKzM5twThX4Hjvd4spQXpmx72M+jbT3zz0LMsQc3/nvYz23ivw8jw5V5WpoL+zo2HLfvLaEo/weKfq8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580395; c=relaxed/simple; bh=LRBZxO+Nudwm9N9s/JWAgHDzC0dYV1KQNWrzIhyLeXM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nh+T9UgsGZARDrRQRoaZUwF7SaQyVoExcI6e8aH2epIIV7MS73ZlMXevlNuU5vCZOex3JDGvkBYgC8d3zuCdteYxb2o13TI16s7SyOtU7ekpnwGRMHkbqnVpCtIrU/JqFZJ6+ZE44c6h8Yo8OWWpDxhlE9RKURzrizMEzvX9wbQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=t2+Jthxc; arc=none smtp.client-ip=209.85.208.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="t2+Jthxc" Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2d8a2cbe1baso91435451fa.0 for ; Wed, 01 May 2024 09:19:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580392; x=1715185192; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=OBu8uJvPg1UvIc+mH2v8BNRxGrigWtykVG4/Hi5iSBE=; b=t2+JthxcNPtN3dM8+GiNWHRXjOpZh3uUDbD4/9vKEABTXT9ATENCDrfdL6eiewyzBl oZImwoEUJKXSF3yNA/sxmU8PWopBbc8Js0l5qItZvYIjZC7QiI6ImT4CArzyqRQBCYv0 EzMwhjuCzP070BFHaUyAf5t5118YHeoLcDEL96ym8mZuTVLdmQ50zsArSf+Kk3enmO01 XAsGJJ0Cz1IW39mimFQa1hV5M+mKY9krel0+tyct7vjy5SjwC8mbLVpXD2M0EtFn4sTg kBiuC19ru3HdEeKH3xgEMNfQNwIFnaYFQfCjPvjqvcWxv/mzFQYBJbImaj9KvYzqnbxc lFkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580392; x=1715185192; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OBu8uJvPg1UvIc+mH2v8BNRxGrigWtykVG4/Hi5iSBE=; b=BrqGVq3Yu/oGTtO+7avjMegcZ0hcIngvDS/LlSQLaYydo0NvjokreYM3BjxN3xOCP4 PN91Tf5r1qD7uXkrd4H3yM9NFZC0mnsmcjIy9q+od6Ea/twmdM9V1bgbV2YlbIuMmKRg mberSY5wVu3mSoiKabHiclvEGqpKO0bBylCm85EQNA+XyLBPx14gqe9pqqGe0xS3kylb /AcCbF+gWy8ADOAOirJYsImIPMgmg8N3w5rGGi4uIrsKcCoYkFr3suU0dXczmrOKcffh P8Le5tChI7GSPqep3UPrOIEGIPF1AiJOIs4O7xQs/1IjOl77YyknUCGQ6kCMF9cgMw5h nvDQ== X-Forwarded-Encrypted: i=1; AJvYcCXlEyudBO/CJCPj+KUp2n2+TjaRHq7+amroOht2RtOb7QQoFx08BF9/AKWa4dZNbHWyGCJ0Nwbj9Nq8SOSc5XRqpXm1UxaYB0pa0jdOqQ== X-Gm-Message-State: AOJu0Yy7MPPa3p3aGqa5CDoPKvK9qPEV8D6xBAscq3H8A+Ktz9TYazJ0 XAhWqtfkhlE0/IaXk6j7K/fx6Du/VMJQMEhUKWi5Co/ug/hXtN8LHR8i4gFnGME= X-Google-Smtp-Source: AGHT+IHO8D7t79jPZVj7GXV0IfVFmAJztyQ9VRH2f50wnpSv+Pf+ol4AKyqgnp0U+Cq+lf34L9WmwA== X-Received: by 2002:ac2:41c4:0:b0:51a:d9a3:dbf5 with SMTP id d4-20020ac241c4000000b0051ad9a3dbf5mr2356904lfi.47.1714580392074; Wed, 01 May 2024 09:19:52 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:51 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:37 +0300 Subject: [PATCH 11/13] arm64: dts: qcom: sm8450: add power-domain to UFS PHY Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-11-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=798; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=LRBZxO+Nudwm9N9s/JWAgHDzC0dYV1KQNWrzIhyLeXM=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmua/rT0OXXocvCG8b8gq/7FNAEDPOaV91fBc 6W0ZKsMdHeJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmgAKCRCLPIo+Aiko 1f+9B/0VYtVSGVWCZvPqh0QKUYhggov+CDpfC1AhnYA+ejG9qFFpC7F4AYWaU0NJmkpSx6Hilcj S7KVLLLMLwWN2MYwey5lM1g02FZnkaTiokCt4HehqxY4rZTnWzsh3byfcT0ZzqviHR4EmtbiUFD X6N9buwh8a0yPEUX3rb7h7mR2/f/hKSsOUoALc+gsZ6pRrzM+vnPFwAju6x9DVExxw37Tj5u93u i/uId9z0qQKt+nESK7UHfCmA3ASmYtLITTzREto1Z1c1rfse3nqw2bQLF3jkVhWKG4TFBAI7GXG pLwqajBK6GFL8yIf27UrOxs0+TLhBCVDCdE+d77cdQY+iiL7 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node. Fixes: 07fa917a335e ("arm64: dts: qcom: sm8450: add ufs nodes") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 71797f337d19..ccb2255a94a2 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -4429,6 +4429,8 @@ ufs_mem_phy: phy@1d87000 { <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, <&gcc GCC_UFS_0_CLKREF_EN>; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; From patchwork Wed May 1 16:19:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 793757 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9D521332BE for ; Wed, 1 May 2024 16:19:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580398; cv=none; b=mjjx4Jy9HfF5y0grYdnAF3aTqgA1uv93SkIZj48gf1Xz0sBN6bEP5mLwr01yM0V0GXIQG1ZKdglfFyKr79uM3zEC0XoNX4UmSH8Tn8m3PSAdswB0krpTzZPVrG+R6eqKgq2f9zjqcMcjku7Hx9letZ33Nr6OOVsU8B9LdnAK1ps= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580398; c=relaxed/simple; bh=ZyhemyLIYzl0yFINT+7/a2RvvKPGInbzW42JxBvs81o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lxZmJOEphfNL3lkr2tgfrlvyMiE0DMIxeYxuQY7gBkZYK2VaGud/CEKn4u4zosnAtLGRe9pCmkBVhT4c8k01pAsKW473GW9BI5HCZT8TtSGfgnHPTjVSTDDuzlw8b27F4dHrmmzTjGNt1aqoBCE/NvKGvOCWr2xvHi2/Vci7jYk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=liH3yCIL; arc=none smtp.client-ip=209.85.167.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="liH3yCIL" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-51ef64d04b1so276280e87.3 for ; Wed, 01 May 2024 09:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580395; x=1715185195; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=6FF9R06GXOtRyjyQmdyGdOb96UxXSLO+caPktlD7cek=; b=liH3yCILuQSrWLQ5QsWsKFlNnWE+I6QLQohs64qe80QVtN1c55Z0eoYWmG+w4yX3O8 1FJ66CTuwy8Nqnf+qKpyrRb8SpiG+C88VjhrcS8EFvWdTyJTH/x6IBucshfob9hlJknv EzAweQBaorGmbPgfnGnhSoHqyIRvi3l9qPrz+CYtknBrlzDVQSzFj1g56iOJDUTcaFSO Kib5gL/3qgfK/C7tiqC5ZMtfCBTwAQAQxno/INp2ycp7AirxhDY7X5qdw9TYXYbdWLyS oBz2lm0Xe6ot5ng08UhOXtnG4Jdx7AVQukVRFBWm6bseQmpor48RTjw/ItC1fAc1zdFV ecsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580395; x=1715185195; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6FF9R06GXOtRyjyQmdyGdOb96UxXSLO+caPktlD7cek=; b=LWAGTIoHxQDZG4H5lmoeWy+Kv8iJKMUoduvcuX1ZudnRExnQDpGgopohxFv3zPMC8V l9JjVFJ8f1ElmY55HnFTqmUdOZGeZHIaKngVYtH/rDaAK4Xoa8w1jC9Mdp46oa2mKPln mTOwWkCpVMLSDtuJU9AfY4MCH1s1+uH+vD0NsOzAM+/zLzE31uExIMMcg/pI7+xtaBDB OAkDntoOi9f6ZGHeT/ZQ64AfOEu8s0G04Vogd/CqfLjBQqxx3Ed5bAuGjfhKtz3aKbkF aBTL7cf/YMXLZizFDKtQc85Ebe2IxSQMfvK5Uw0uhf4qoElXekRsXnOqhf1IgVu9O7DA K/Kg== X-Forwarded-Encrypted: i=1; AJvYcCUAKup66FZjJGQNHk3Ly4OYZNJGkFU4qIgeRIJZey03UUaeapG7tVYoobbZWiQUO+zdTmzoiwxMNrfvrnBV4RzEMi2hFfjZJh8K90ttLw== X-Gm-Message-State: AOJu0Ywy6dKGsplw9XNHwkVRIoYOVknE+p1mUbxgHakKFpbscv6x9jQF hNxBuZKznPkOLNHEJhVazFKXbvPRE1MqiOyk1DdqfHEMb6jU0/QoHb8wr7nwy/4= X-Google-Smtp-Source: AGHT+IF9IIAIN0iT5QCk7eZKT8YY1J2+6/5AFhPa96FrJyx8CVhDdS2uo6xfnAyLLVjblrMc5Lo77w== X-Received: by 2002:a19:434b:0:b0:516:a6ff:2467 with SMTP id m11-20020a19434b000000b00516a6ff2467mr1809204lfj.0.1714580392994; Wed, 01 May 2024 09:19:52 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:52 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:38 +0300 Subject: [PATCH 12/13] arm64: dts: sda660-ifc6560: document missing USB PHY supplies Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-12-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1714; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=ZyhemyLIYzl0yFINT+7/a2RvvKPGInbzW42JxBvs81o=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuaBJdyWhG85+kYvWZOj3EctnoMvwuxbEfHi UzocJW6VMOJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmgAKCRCLPIo+Aiko 1U65B/40D3wYKAUWpOTQBQ/Y7MvHR4fbNmoSnTPfNnGgDNpBTYDGpXRqJTXmGEZI8/95jCR4Cab DSgu7xVOhkx+pctCP8Kg1QkUSYwAplpD0y6zFippmyVWkPactLwo9x5wl/PgPCJWzCk8VYHPiHt Aiv2sUaOxL17QsDkBeFVV/AgoW2USJ2sk1ZiCx9JsyPsotyl45s/Zfl8SaV0ghXX8xF/z2aU7TP s1Vui1GVVove53scROHkZXz6PD8zxdC6QwRVxNyBzPg+m/xLwnUj0ax7A6Pey1WZkp7LOkxS368 qFIio7ruvBNFah1Vopequy6jEW2ojq2ncxxZisSe7Ss3Eiv6 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A On the IFC6560 one of the USB PHY supplies is the L10A power supply. However this regulator also supplies VDDA_APC1_CS, VDD_PLL2 and VDD_P11 consumers. Touching the supply causes the board to be reset. Document the supply as a fixed always-on regulator. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts b/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts index 702ab49bbc59..60412281ab27 100644 --- a/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts +++ b/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts @@ -96,6 +96,18 @@ v5p0_boost: v5p0-boost-regulator { vin-supply = <&vph_pwr>; }; + + /* + * this is also used for APC1 CPU power, touching it resets the board + */ + vreg_l10a_1p8: vreg-l10a-regulator { + compatible = "regulator-fixed"; + regulator-name = "vreg_l10a_1p8"; + regulator-min-microvolt = <1804000>; + regulator-max-microvolt = <1896000>; + regulator-always-on; + regulator-boot-on; + }; }; &adsp_pil { @@ -220,6 +232,7 @@ &qusb2phy0 { status = "okay"; vdd-supply = <&vreg_l1b_0p925>; + vdda-pll-supply = <&vreg_l10a_1p8>; vdda-phy-dpdm-supply = <&vreg_l7b_3p125>; }; @@ -227,6 +240,7 @@ &qusb2phy1 { status = "okay"; vdd-supply = <&vreg_l1b_0p925>; + vdda-pll-supply = <&vreg_l10a_1p8>; vdda-phy-dpdm-supply = <&vreg_l7b_3p125>; }; @@ -464,5 +478,6 @@ &usb3_dwc3 { &usb3_qmpphy { vdda-phy-supply = <&vreg_l1b_0p925>; + vdda-pll-supply = <&vreg_l10a_1p8>; status = "okay"; }; From patchwork Wed May 1 16:19:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 794185 Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 47994133421 for ; Wed, 1 May 2024 16:19:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580398; cv=none; b=cKXCJlzBv9XOH/px5s5eFg2i/6+I6yqrnaU43Ntx+owg7aBiZfgH6+KVTUv9/V68uIz9lCYjdoVgVGz6JPT2lMfaLXeNXudWH0V1WjPOc2WTl9QbF9NEzc83KjK7S9tzTD5uA4RV/DuzqeAt+DKKoWLP3wgOhbjZChPxUMT6oL0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580398; c=relaxed/simple; bh=Bi5rhyr14KcQQ7+MOAD5H9S1njlLb5FKYBD685uF7IE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rVGjnqn1fz6DGrEmwVl/l5MWmfpca1TpD1+PpuQfGKiRNcbxs4t1+RePbFjnl01F5oCCqL8XRA9pv+EPlFVufKWYHYPIDSE9DYQdoBBRkIk2yhqhw7l9EyR5I++EIMcc9A8eStpPyqdknJZAucnV0N+YuXC2ILV9MNwPpe1Ndzk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=rC0HJo1v; arc=none smtp.client-ip=209.85.208.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rC0HJo1v" Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2e0933d3b5fso38417621fa.2 for ; Wed, 01 May 2024 09:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580395; x=1715185195; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=8qbl1bY1oXPc/BrE+BcAYxIg4JVPN7Au51+xkWvlhws=; b=rC0HJo1vxz4oDhy2zl3cRFGglXj3n1mS7eHGZRxuRimBpBTJaohvMA+MOvjPodmlES J5HWpeYwvCXxw8pWzBJGzGg3BVZt29LvohvQgMD2yhe5RvW8PNiwJmTZ0FwZ8xPqRCA7 rRvgktMbLhMUwZcqPJ88PDEvbP8TitUOTdiRzcHZs9gYpNIUwUkMwfPJO5PB1xNcaVhD Q5pXF5rhZaof2J44YzEzKi6CNtyrFQkxiTYwTQRz2oU4duMon8oY9VX/lOguZgqKoeOS 5b4c+U3p2Cx8Dzxw7r5GVqcYy/M9dcTpCE9D+hhRoAQExRvrx2mnCU2IOzVNFBGvgzUE OjUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580395; x=1715185195; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8qbl1bY1oXPc/BrE+BcAYxIg4JVPN7Au51+xkWvlhws=; b=c4HhOPp9OimufzJvmdzIjuA7FaISJ2oV6EV+LUceqLb+Uh9yOBB8TwWYu6J2v1XbA5 1W+5bZ0SimGuo6jLRVz6KN8jnXqkbAAls5vVlvtrvl/vo98DDwRqyQCKYZE+K5hjCSaA M9x2cIWrUPTVT/4PiZsLJtnK/FQXf2i159LBjtk7k3rzTsgo63lAFV3jKcb/B6Q8xH5i YM+NXgCWXv/5LDAGCxPh9++eQD7ZRFyJZPLdXGaB8SC2MBL18nJMA7AXqYtKoYSJuOpi cN1MikCgoQvvmxflN8bnfc5zzdDNRmT/PaH/0qgW7tEgJzpwCwmVbjChT5iLZPvwwCyS rTAw== X-Forwarded-Encrypted: i=1; AJvYcCVZRnsMF+4zWdtOs+OgkxADGo1X/fBTNaszVjbOJh/ithJCyejhhX1W75dZlYXb+SZQTqawehDRfrVzXzRaa2cM3MgkM83WiXBB1jBNqg== X-Gm-Message-State: AOJu0YyUFqgV7pppJGDpRKqLKGkC7W2xhES3Tbbq3p8e5mKhH7g9/bOT iw1WBBTWikMK8BsoVKzP6Of2o/T/1macY87m/DPjTAUl4BLaOwgoHlTOatCKrrU= X-Google-Smtp-Source: AGHT+IHsMijjwWCg5z5tsLM+qCe+9yqE2j6ZSGFnxh1tYEFb+8CyeD5Rpg82R3EDRP+9OglQQR/VWQ== X-Received: by 2002:a05:6512:3991:b0:51d:2eba:614 with SMTP id j17-20020a056512399100b0051d2eba0614mr2448878lfu.53.1714580395645; Wed, 01 May 2024 09:19:55 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:55 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:39 +0300 Subject: [PATCH 13/13] arm64: dts: qcom: msm8996-xiaomi-common: drop excton from the USB PHY Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-13-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=880; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Bi5rhyr14KcQQ7+MOAD5H9S1njlLb5FKYBD685uF7IE=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmua/n9RREl+g5vb+gDOANKfA9kBoBl8gO6sK 3bZBBDzZ5eJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmgAKCRCLPIo+Aiko 1XM9B/4ymPAO5auW++iWtOUKx+7lvM+O9UCLKdBYi2MFlVxEAEY4dD9Wu+t5d1FLyExiTBUH6Df LDuTXwplLk/XawajHzlKSm1GVDM4ZtN+wDT4artifItPVaJdZ1/nVPZrG6LztFBuHcWx30d0zsn oO4wOUe+3mvjI1/3Bm26rTNiyajJw2klIc7LXhOQqKf1R4jnx2BBz69BvoHZJlUKr60Tg0YFyuH Q6DRxDfJ95xEnKyvLb7zC/8GL2UokUK5QIVNMFR7R5U8H9e4C9OaewxPKeUi4X8L9ptnhNu8ACi GT/6H8+ZUvpepneqmOxY5XwGHBY7IfVw4IAIMihGfLvudOFe X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The USB PHYs don't use extcon connectors, drop the extcon property from the hsusb_phy1 node. Fixes: 46680fe9ba61 ("arm64: dts: qcom: msm8996: Add support for the Xiaomi MSM8996 platform") Cc: Yassine Oudjana Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi index 5ab583be9e0a..0386636a29f0 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi @@ -405,7 +405,6 @@ &usb3_dwc3 { &hsusb_phy1 { status = "okay"; - extcon = <&typec>; vdda-pll-supply = <&vreg_l12a_1p8>; vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;