Message ID | 20230130-topic-sm8450-upstream-pmic-glink-v3-0-4c860d265d28@linaro.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 41B0EC64EC4 for <linux-arm-kernel@archiver.kernel.org>; Thu, 9 Mar 2023 13:29:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=uUX2mdp9AINEmgYMaK8KnBuySzZarHPyaaNtJ25L5JA=; b=MnEwkrnvVm7IPB FU3NS4LS+G4JkcraunurDMbWw8Kcp6KdyCd5km/h+FdmxgHUPS1uHKNSIhv2MUnSIOnGW2YXNXIGD b/EWEng096sqbO7iWyIhUhciAeZCLlYhmRSg0eHDt4QbeSRUk30jXcE8+TGTJqFsc1C5U/un8rKOv OmJxwHgawC4O63+n1D7evK1Ap84RYB9fEI1oXLnj1ClCeRdTehNwJnenPQFht+WQYsLdEjOyMazFn +Pu8P/zNI/dhKSvkdCUm140f566T5a/iocuiCPZhWABIEzIjhE1nfkX+44c5SJlDuZSHi5uON3l3N 88SV9Ovs7+/mIdmwT87w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paGJf-00A60V-JW; Thu, 09 Mar 2023 13:28:19 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paGJS-00A5u0-17 for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 13:28:07 +0000 Received: by mail-wm1-x330.google.com with SMTP id ay29-20020a05600c1e1d00b003e9f4c2b623so3591712wmb.3 for <linux-arm-kernel@lists.infradead.org>; Thu, 09 Mar 2023 05:28:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678368481; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=eI0q9N1LmPrgG1bPRrjXueV1/2pjR5jMVC1vrOlTxZk=; b=mCyJ+pIu3fJnTZ6AxJoX7FX8aPOAthn2nT3CsX0nqJKPj4QmqhC9gze/VRLUfv+Noj Z0ksc+0Vv3AeUUkntSYoi8z4RtrHBIGxBpu7QoSDHYMssnqETL24QdQDzPVX44BLbHz+ IPvDqGBGsOxREuxuMZizM1egLLHAfsw5AxDqIaO3854FYwpjiPYJDjTNlqodPhdzQzOU z5v4mvjClRbMMlV3vNbzbl46+MRpvMaoBL8VV9Ift2EJZL7Y6ndlw2Y/iOd8IoH6+9NU qxXhXLa0z9/PkzeJ2Db9cwJjaokjuaW3rjb6ywd4BXxUYUB4ka5XVvt5/+m5ECTce6OJ Lpqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678368481; 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=eI0q9N1LmPrgG1bPRrjXueV1/2pjR5jMVC1vrOlTxZk=; b=Nc2eAntS4OAUqvwVX4ogP20GU5240zIhFTdZKUKhSmuD7jXQhii5OQvM2jhtS8PLzg K/gLhDBj8sDQ1sMFmg8pveew+uzLQFUnGFEZ6M+pPxI0O44PaXbEn5lxjzZ1M9k1lo3V pqMkjwzy8wC7Riry5nE91syZlIcuMBh+UzU7dttO8ANO00i7ndQbu3HCoja4Jb09LP4R Oyj9exhHGqrkBbRxnftuo1wzJ35HYkGytQIoywkkLQyiKh+Dl2lfwpvFFSDLxLJYsr7i KmsVJUtKqjPTBiAl/fnwkZbyKRqj9tsKD4MU70nSGd0iUrcsTE5FhJgd/jyJRHJVVuhg Sc+w== X-Gm-Message-State: AO0yUKXURvotaLG4iJZO33TW/+F472hdWj6wyzvPJ6NO8Z5uD3nfFHKe lqLq5lQ8tsRzx8y8YyBcVjlWNg== X-Google-Smtp-Source: AK7set+RVr9R3x1jEVqWgBX5muzCjd74ZneQf6HVDVVZ6rAykvzMMvKkHyAxnK5MmTsoxUGY97yRdQ== X-Received: by 2002:a05:600c:3d8f:b0:3e2:91c:7cb7 with SMTP id bi15-20020a05600c3d8f00b003e2091c7cb7mr20553312wmb.39.1678368481425; Thu, 09 Mar 2023 05:28:01 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id r7-20020a05600c458700b003eb966d39desm2926714wmo.2.2023.03.09.05.28.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 05:28:00 -0800 (PST) From: Neil Armstrong <neil.armstrong@linaro.org> Subject: [PATCH v3 00/12] soc: qcom: add UCSI function to PMIC GLINK Date: Thu, 09 Mar 2023 14:27:51 +0100 Message-Id: <20230130-topic-sm8450-upstream-pmic-glink-v3-0-4c860d265d28@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIANfeCWQC/5WOQQ6CMBBFr2K6dkxpQYwr72FcTMsAjdCSFoiGc HcHdi5ZvpfM+7OIRNFREvfTIiLNLrngGfT5JGyLviFwFbNQUmmZaQljGJyF1N/yQsI0pDES9jD 0LJvO+Tdoo1Ga0thKa8EZg4nARPS25ZCfuo7lEKl2n333+WJuXRpD/O5vzNlmDyzOGUiQRqKts eIberDGGC4hNmKrz+poUXGxzGpCVVzzMq//iuu6/gDYO/DtOAEAAA== To: Heikki Krogerus <heikki.krogerus@linux.intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org> Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong <neil.armstrong@linaro.org>, Rob Herring <robh@kernel.org> X-Mailer: b4 0.12.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_052806_103600_F87660F4 X-CRM114-Status: GOOD ( 12.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
soc: qcom: add UCSI function to PMIC GLINK
|
expand
|
The PMIC GLINK interface offers an UCSI endpoint for newer SoCs, the UCSI exchange is necessary to configure the USB-C port USB role and altmode on the SM8450 HDK and SM8550 MTP boards. Since the DT description is the same, support for SM8350 HDK is also added. This patchset focuses on USB and disables altmode support on those 2 SoCs until DP altmode over the combo phy is supported. Depends on PMIC Glink patchset at [1]. [1] https://lore.kernel.org/all/20230130042003.577063-1-quic_bjorande@quicinc.com/ Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> --- Changes in v3: - Fixed patch 1 by moving mask to pmic_glink_of_match - Fixed patch 8 by adding back hsphy - Add bindings change to dwc3 to support separate HS & SS OF graph links - Link to v2: https://lore.kernel.org/r/20230130-topic-sm8450-upstream-pmic-glink-v2-0-71fea256474f@linaro.org Changes in v2: - Moved the dwc3 port subnodes to dtsi - Added SM8350 HDK support - Added help about ucsi module name - Added bindings acks - Fixed sm8550 pmic glink compatible - Added more description in config update patch - Link to v1: https://lore.kernel.org/r/20230130-topic-sm8450-upstream-pmic-glink-v1-0-0b0acfad301e@linaro.org --- Neil Armstrong (12): usb: typec: ucsi: add PMIC Glink UCSI driver dt-bindings: soc: qcom: qcom,pmic-glink: document SM8450 compatible dt-bindings: soc: qcom: qcom,pmic-glink: document SM8550 compatible soc: qcom: pmic_glink: register ucsi aux device dt-bindings: usb: snps,dwc3: document HS & SS OF graph ports arm64: dts: qcom: sm8350: add port subnodes in dwc3 node arm64: dts: qcom: sm8450: add port subnodes in dwc3 node arm64: dts: qcom: sm8550: add port subnodes in dwc3 node arm64: dts: qcom: sm8350-hdk: add pmic glink node arm64: dts: qcom: sm8450-hdk: add pmic glink node arm64: dts: qcom: sm8550-mtp: add pmic glink node arm64: defconfig: add PMIC GLINK modules .../bindings/soc/qcom/qcom,pmic-glink.yaml | 2 + .../devicetree/bindings/usb/snps,dwc3.yaml | 16 ++ arch/arm64/boot/dts/qcom/sm8350-hdk.dts | 67 ++++- arch/arm64/boot/dts/qcom/sm8350.dtsi | 19 ++ arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 45 ++- arch/arm64/boot/dts/qcom/sm8450.dtsi | 19 ++ arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 45 ++- arch/arm64/boot/dts/qcom/sm8550.dtsi | 19 ++ arch/arm64/configs/defconfig | 4 + drivers/soc/qcom/pmic_glink.c | 63 +++- drivers/usb/typec/ucsi/Kconfig | 10 + drivers/usb/typec/ucsi/Makefile | 1 + drivers/usb/typec/ucsi/ucsi_glink.c | 320 +++++++++++++++++++++ 13 files changed, 616 insertions(+), 14 deletions(-) --- base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6 change-id: 20230130-topic-sm8450-upstream-pmic-glink-3b3a0b7bcd33 Best regards,