From patchwork Mon Sep 11 20:07:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 721514 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DC2ACA0EC0 for ; Mon, 11 Sep 2023 21:21:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344792AbjIKVOr (ORCPT ); Mon, 11 Sep 2023 17:14:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244324AbjIKUHX (ORCPT ); Mon, 11 Sep 2023 16:07:23 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0DA11A7 for ; Mon, 11 Sep 2023 13:07:18 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-99bcf2de59cso617446466b.0 for ; Mon, 11 Sep 2023 13:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694462837; x=1695067637; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=8xKtPAeHdfJ6/z/qz3x+wJCKOROjQ3kUyd8YMWyjKpg=; b=kqeFQE+3mba6yhF6GJRrxFoQazQo9J5IfmER2SqGaWnArRkM6E+1PNIZytYZYf1CXn QIbUfvxIfIq5Ym6L1P1FsuzlgqSuYnWHtxiMfWTjm9OR1Nzm+VPiV5L3DeMMIr35tWuD A06bJBSNw4cIep0fbIAk6b68suKY05N6e/H8rp302oAQRWsG/8SwPAT/VxF+px885U7p tgxLVjzEW0HYEgxg8uBR+n0adJNF44327/0z1snk1a9J7USLrUYgoKQHyqoP6acB2rcn qDwKpnTdOAlve4T6bOQqfC0GAE+S+Do8qhpcg9lePMiB/mWOalFF+GdQu62xoWsB6IJk 3p+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694462837; x=1695067637; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8xKtPAeHdfJ6/z/qz3x+wJCKOROjQ3kUyd8YMWyjKpg=; b=fhpPcJPY6I5Ke6bRPQ7Pd0pbq9r1Q+6c31C23eKYXEL6Csdi7Ezs2CLJNvYbPfPGVd 9NDgEqCRKpnnC1OxK8xDenkqqtbJsLMkLa7La4p4JEN6jo7McJVGeEYgH8v1WjwhWb8i bsU6LYZgZ8I5RQvmsxflnzkdMO38K49bSY9p1ZlT8Sk6s7Z1Z2TjORGBVQvDCoVeEE/h AumPoJLtwFfw25Hgi3YIW6UE2Ig+GFecQzy/AwbMFWltKYHT6RzIKvC2YW9KBw9poawA R03UNrJqzicns6rja+DXem/uywAJfpc/3h7tBdkR0y9DOLErEsvt1aQ+JtTBCniYz7q/ r/EA== X-Gm-Message-State: AOJu0Yys9PkQ+kWX2lFZW6TQkbeJWiYi1NAHY4x6ItP1Ps82QA0Tw69g 4qy8pna7H8BW4MdjCFpT0FVXeQ== X-Google-Smtp-Source: AGHT+IGw5HRTK8mnycR6zM+zwfL0W2TNmF+pb14up1M7rBqIYMeESqMSuAp5jZ9Yaws+53PW629XQQ== X-Received: by 2002:a17:906:ef8b:b0:99b:4ed4:5527 with SMTP id ze11-20020a170906ef8b00b0099b4ed45527mr8984194ejb.25.1694462837037; Mon, 11 Sep 2023 13:07:17 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id z19-20020a170906715300b00992e14af9b9sm5753258ejj.134.2023.09.11.13.07.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 13:07:16 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH v3 0/2] 8550 USB QMPPHY fixups Date: Mon, 11 Sep 2023 22:07:13 +0200 Message-Id: <20230829-topic-8550_usbphy-v3-0-34ec434194c5@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAHFz/2QC/4WNywrDIBQFfyW4rsVHXnbV/yilaNTkQtCgiTSE/ HtNdt20yzlwZjYUTQAT0a3YUDAJIniXgV8K1A3S9QaDzowYYZy0TODZT9DhtqrIa4lqGlZcC2p 53SihuEH5p2Q0WAXpuiE/3TKOeZyCsfA+Q49n5gHi7MN6dhM91l+JRDHBlRBaKyuJKOV9BCeDv /rQo0OX2F8FywrZMFtyTqmm4kux7/sHHpDgDAsBAAA= To: Andy Gross , Bjorn Andersson , Vinod Koul , Kishon Vijay Abraham I , Abel Vesa , Johan Hovold , Dmitry Baryshkov Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Adrien Thierry X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694462835; l=1082; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=GbuZM1oKvKUNGOcNj2S2w9EzwDPdJOgvLs+UCp8aD1E=; b=q7PWDq7q/ELe5Zp+ef3vBLiTCjnqaXMGeijHC9KwM/0rgl8uSFltZ3UzMCialzQSMukCziLdk cApa95206WKCOnqU9gWPPHTGL2GeW7s/A0GE2tcxAVQEv9H6neDKF2G X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Inspired by [1] I went over the 8550 QMPPHY init sequences and found some inconsistencies. This series attempts to fix them. [1] https://lore.kernel.org/linux-arm-msm/20230828152353.16529-1-athierry@redhat.com/ Signed-off-by: Konrad Dybcio --- Changes in v3: - v2 except it now compiles (missed .c change) - Link to v2: https://lore.kernel.org/r/20230829-topic-8550_usbphy-v2-0-a72f43311d19@linaro.org Changes in v2: - Pick up tags - "Q6" -> "V6" - Link to v1: https://lore.kernel.org/r/20230829-topic-8550_usbphy-v1-0-599ddbfa094a@linaro.org --- Konrad Dybcio (2): phy: qcom-qmp-combo: Square out 8550 POWER_STATE_CONFIG1 phy: qcom-qmp-combo: initialize PCS_USB registers drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 6 +++++- drivers/phy/qualcomm/phy-qcom-qmp-pcs-usb-v6.h | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) --- base-commit: 7bc675554773f09d88101bf1ccfc8537dc7c0be9 change-id: 20230829-topic-8550_usbphy-691f367b9b3e Best regards,