Message ID | 20230130-topic-sm8450-upstream-pmic-glink-v2-0-71fea256474f@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 5B031C05027 for <linux-arm-kernel@archiver.kernel.org>; Fri, 10 Feb 2023 15:03:30 +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=Fx+6kwfu7Ho7HImgrI5LSvjmMdxd9zXV9Ra3SV4JEE0=; b=pYF73W+lCdV8yk Mtvw0+K+UXCSmUkhC+4fNbxghqGqnj6YPGx6I5To32gqOoxkX6bEBxm8dW01lAzYtmNAeWieGMR3N wkBvoFa4boyuGlgYllVEzk/dqKUNOx5pRT8RosH7P0TSvNgegWk4QW2TMuZ82W4975aUTys01eptI b7/W4R/mpM2vPmMCfKon/TfC5uIxyMusZCnKV1K5uvTzD98HcKXGF8r6kSNb6aoE8BBy8ogv4ppKa Gk6a4ERiEozdWT+7751XWzPjyTjkZ3bVrG72m8Phv4K1FEb+uZz7OTmQ/YSLBYZnCjk/MszMug53H gY0/WLi22Pb5+wBrtK6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQUuo-006AJX-2n; Fri, 10 Feb 2023 15:02:18 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQUuj-006AGV-N5 for linux-arm-kernel@lists.infradead.org; Fri, 10 Feb 2023 15:02:15 +0000 Received: by mail-wm1-x32d.google.com with SMTP id o36so4041232wms.1 for <linux-arm-kernel@lists.infradead.org>; Fri, 10 Feb 2023 07:02:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=vfoF3LxZ7FuaoMpPGi3DPf+5A6Pn53XBVXLoatUwlOI=; b=x09ZDNm+B9yTe3oLr5AHzfAadepjTiaWyQohF/GdUFUCDwJAIdr5mqmQVOOcxKh4x1 wjtMFdyqCfDu9Wi2ccT2wfV2eidIO2EEZgoYrBsf3ny07ZaoASVLLHT6TkA0+a1RKy/G N976Ggs6li4CINwBCIQeFfdFqLj1F6930eXa/34XOvj+Mkoawk1J0XdeU9aHE7dEX6c7 u/BQDBpwzWhErft0ntBJ+kbN/4OfQQaTPtW3Sarv3ebudEkdNDGdG/LU8UWDKoo0448z nneBI3eUSKR8sETOtMJXeEJejbB9uoHszQD4k4z33mrM17BXAhbOa7wRV5HDPgz6ts7d G34w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=vfoF3LxZ7FuaoMpPGi3DPf+5A6Pn53XBVXLoatUwlOI=; b=r2gfoRwWpPp3/VPouQHQ5MshY1PNRPF29mnhOUfbMZEuoyDZ+jEEAOuDDdSGyNi6R2 xa9CBD4Yq7xLK1OuE0re7x5vwsTH5Q/J757leWJMkDVhmznyRIx5u8Vmo4xeNgvO6Gi/ 2VSIQpVB8lyjiMWTXLUvnHxtoBUjVQKEiXB71uN2iMZjlfYANJ385rGFk1xVDz2Fhh+e E+NueKSL5q6KXDsKNQcg6R6Ah7OJs8LeZF3o00rncNubcrbjVn8eBnaG77B/K4pDBoSG WWob5icb0D7VA5OtV/Wt7Mb3cm6PE7+R0KA2R7GpkhnOT0jukwUbeRSnBV9Hk9NGyRBO wPOA== X-Gm-Message-State: AO0yUKXVjLrgaLMvJ8kQvJSTv0rV2AMr56CAmfvgkdvnvFG2vdpUdE8N GJziMfhThMYj5ZDrxZ7r3R0HKA== X-Google-Smtp-Source: AK7set/LH212DvxwEitxNs91cTmT2ZI61PHfX4jFahcrfOSv+ZuMHAS4aedTb9hAoVNMLzm5MRWJOg== X-Received: by 2002:a05:600c:319d:b0:3dc:5950:b358 with SMTP id s29-20020a05600c319d00b003dc5950b358mr14257527wmp.14.1676041329010; Fri, 10 Feb 2023 07:02:09 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id w23-20020a1cf617000000b003db1d9553e7sm8282482wmc.32.2023.02.10.07.02.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Feb 2023 07:02:08 -0800 (PST) From: Neil Armstrong <neil.armstrong@linaro.org> Subject: [PATCH v2 00/11] soc: qcom: add UCSI function to PMIC GLINK Date: Fri, 10 Feb 2023 16:02:03 +0100 Message-Id: <20230130-topic-sm8450-upstream-pmic-glink-v2-0-71fea256474f@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAGtc5mMC/5WOTQ6CMBBGr2K6dsxANRpX3sOwmJYCE6ElUyAaw t0duYHL95LvZzU5CIds7ofVSFg4c4oK5fFgfEexDcC1simxtFhYhCmN7CEPt/MFYR7zJIEGGAe Vbc/xBdZZQnd1vrbWaI2jHMAJRd9pUZz7XuUooeH3vvuslDvOU5LPfmMpfvaPxaUABHRIvqFaM +GhmiSdkrSm2rbtC0ePH6HmAAAA 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.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230210_070213_790802_9B93C657 X-CRM114-Status: GOOD ( 11.94 ) 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 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 (11): 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 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 + arch/arm64/boot/dts/qcom/sm8350-hdk.dts | 77 ++++- 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 | 67 ++++- drivers/usb/typec/ucsi/Kconfig | 10 + drivers/usb/typec/ucsi/Makefile | 1 + drivers/usb/typec/ucsi/ucsi_glink.c | 320 +++++++++++++++++++++ 12 files changed, 604 insertions(+), 24 deletions(-) --- base-commit: 2746a238ae3ea7215b3e95b78020a3d72243d55f change-id: 20230130-topic-sm8450-upstream-pmic-glink-3b3a0b7bcd33 Best regards,