Message ID | 20230130-topic-sm8450-upstream-pmic-glink-v1-0-0b0acfad301e@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 2E28BC54EAA for <linux-arm-kernel@archiver.kernel.org>; Mon, 30 Jan 2023 09:57:18 +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=y1n1LYZE9//N2e2aenHNSzSqAuyhQVsV1nEx9jyRYp4=; b=FKHCKiOE0fC07T wpBAjwwh3xA4W16Jvibea9NS0GB5ctn5nAkj36IPocPIVpBk3hsRN7C5XNqEG7LTu6MQ+piAymS7v NA3Rt0y67xtLZUZPK758DtfCPO05YFq4nT73oApIONnC8RAa5cTuYZkz/iTzhSjvIRelHvvlp1uVs emlhTr3ISK4aVImLV87h6CzEqSHxP3eswN8iYOEZgHc1PyIszg+DCCZDnkeYEeKpzONUPh29f7+WX ldPB3MRSzhy4ZRjP6i+LVgbNzluwt2PvSGlawC5NDgqSoHBk2pu2cZDOFUKxo9hy0zQkPQFNIG4U0 5W4yjrDCtmdXGuiy1aXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMQsZ-002z3N-IC; Mon, 30 Jan 2023 09:55:11 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMQs0-002z1h-Lq for linux-arm-kernel@lists.infradead.org; Mon, 30 Jan 2023 09:54:38 +0000 Received: by mail-wr1-x432.google.com with SMTP id bk16so10443046wrb.11 for <linux-arm-kernel@lists.infradead.org>; Mon, 30 Jan 2023 01:54:36 -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=9U1ZTbzVNvGDjx9Y2rZtYKxVbVuF1IxzESylxD9SMDY=; b=qv+Snhp5Ck2Wb4+1zs1Qrp40mQV2PdrP7qO0XgxvbseGgqXmN3RC/AfbkIsZD6uzKa HYvj20Ndu2YGrlopgwrysAypkykI7JpvTP3Ir1blCkk3hbQM2drbW4mkjPQT6HVdKZ20 4adRwjCOlss+mp3rEM3d7/nkRxTqlYYDzxCzsj4lsZzkQltxSB/kGlKh6fmmLgKYVbDa Xay3t7mSfffX4Y48RlvViKCW3gd9fdhagJGsMhHp9y7ryidP1Cl0NjoId12Bgw3ckjPW rXR76TYvauZjbM5SBOWMRcPzgHS17/LMMWeYQcZx8yqB1KkW9o1uMK6O6qvzU4DxGG7J 5CDw== 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=9U1ZTbzVNvGDjx9Y2rZtYKxVbVuF1IxzESylxD9SMDY=; b=oG9xnx2tmEp6/YAL/ijSGnOrf+43eq+aN1FjMAB712qRsk/0hDZ405bN4a9FzQ6mRr yBQJkOh6QGaoF5naC+OtMlx6uPQ/yIdXFkvw2ItEueAd8NZPYeowtrC4yYvuipjNcqCK FBdK671P7yHSyjPmu2ixBA1XIBiRMdM52iywkiscG6cZ0oN4eP3r4aWo7ZiOx9NP5ZOJ ZlKzDCwMSiAdtx8nq8C9gd5+rV1I+bevxHfvcFiWFzRGWKMghUHHt4TCon/XKMRYecWL iWhA7jam6Su3+UqI32fd/Um4kQWtc+aMjMk+dB5shM9YFoULSWZXM9b/fGBsLZWHJVWc 4IXw== X-Gm-Message-State: AFqh2kr7bGGeyNLIQbzZPKL5HWFXoSueQr/CaEg/tqe3A1+oP3dZBkRC 5/5PuIzlwyhaJc6Q8Om22yOm6g== X-Google-Smtp-Source: AMrXdXuZhbwDg4rxLxEz1h2DBFskHhu+uVPU+DfObkrGYkyh2uUDqdsIUWf+uQcinvbRrI+iBQUdEg== X-Received: by 2002:a5d:591b:0:b0:2bf:65ac:ebcc with SMTP id v27-20020a5d591b000000b002bf65acebccmr31777747wrd.17.1675072475215; Mon, 30 Jan 2023 01:54:35 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id k4-20020a5d4284000000b00241fde8fe04sm11453537wrq.7.2023.01.30.01.54.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 01:54:34 -0800 (PST) From: Neil Armstrong <neil.armstrong@linaro.org> Subject: [PATCH 0/7] soc: qcom: add UCSI function to PMIC GLINK Date: Mon, 30 Jan 2023 10:54:31 +0100 Message-Id: <20230130-topic-sm8450-upstream-pmic-glink-v1-0-0b0acfad301e@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIANeT12MC/x2NQQrCMBAAv1L27ELaVRS/Ih6SdG0XkzRkWxFK/ +7iceYws4NyE1a4dzs0/ojKUgz6Uwdx9mVilNEYBjeQ68nhulSJqPl2vjjcqq6NfcaaTU5Jyhs pkHfhGuJIBJYJXhlD8yXOFipbSiZr45d8/9/H8zh+udSJ2YcAAAA= 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> X-Mailer: b4 0.12.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230130_015436_759335_82E96DE8 X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. 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. 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> --- Neil Armstrong (7): 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: 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/sm8450-hdk.dts | 34 ++- arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 34 ++- arch/arm64/configs/defconfig | 4 + drivers/soc/qcom/pmic_glink.c | 67 ++++- drivers/usb/typec/ucsi/Kconfig | 7 + drivers/usb/typec/ucsi/Makefile | 1 + drivers/usb/typec/ucsi/ucsi_glink.c | 321 +++++++++++++++++++++ 8 files changed, 458 insertions(+), 12 deletions(-) --- base-commit: 56779300f3ce6229a3d02e41e4ce36047d8891ac change-id: 20230130-topic-sm8450-upstream-pmic-glink-3b3a0b7bcd33 Best regards,