From patchwork Tue Jan 23 13:21:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13527381 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 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 1015DC47DDB for ; Tue, 23 Jan 2024 13:22:04 +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=b291irmwDwdTrfzo1IEtNKyM3IxloJAfYfZPT1f7LCw=; b=2EgDXy1mefyN3p bIOM1U4LH5lggiI1GuwXGpca+jIGD4gWvdupXyxAisiBlXqXUUKRK1MgZaxXv7ZBju0C65FcDIWdK Y5tOUSgHXxaZtTmJOjAq5JnuZoYbpWmNTuIaQr2+DDzVgkLzo/uShhqpuAE0jo1DE32oif9L99MbP hJe0SqztJc9gh0mjlwp67/L/Z1r6MTr5wkHBmjTyaTpElB7jw54QLFHs+uEylrs6UjQhInWt1l+0p lt/MJFsKl6PD/tnSgpkCQGH4jgkyQCRuplMtdi47oS5ue8ENA7UzIjiK4VENCIQUVI+7aaqxTtEYH Ej+MLQ5Xd7r7r9Fs6riA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rSGiU-00Ga7p-0w; Tue, 23 Jan 2024 13:21:26 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rSGiO-00Ga5y-2Z for linux-arm-kernel@lists.infradead.org; Tue, 23 Jan 2024 13:21:24 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40e9ef9853bso24087475e9.1 for ; Tue, 23 Jan 2024 05:21:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706016079; x=1706620879; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=Yt0jVKy6IezEYFehA3G6AdAfzr3E3phZ9lpEaZgTEWE=; b=ApVN+mEjK3kk5/7p3oJiUGmOHINsPgPjJR2f/C6Iy9LTWplTICxd8uj+9SbTtvn4VY Giv+MGyTNxYXA4WWSbH3QUTWfWTz/fXUL6L+6myhWbj9QZpSaeP2u9puyz8eFO0eMTo4 xDbjT2AYW7d9cvRIgzp31dBjhy6f8SHcMs0wcml+JdSCkzEROUhLgmUdtmu356NvOKV9 8QNVLmbDjNZpIpIFW4GjV0FdVyFP8/LUt4i6RlUcvhHhcCwTDHB5L98wzeCsPvPx0uaO ndikTpKwE42AsBrYbSuiRW0sgDPc3/iyaHRLMg4+ifSESKQ4qme11KP73R/1Cs2bGMcG U3Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706016079; x=1706620879; 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=Yt0jVKy6IezEYFehA3G6AdAfzr3E3phZ9lpEaZgTEWE=; b=NNcYMSJKEAIX2SkxuPJu4kPl7vRoniDOiJGMS1WI37t/rx6adA5vuTncWBp0Zv2rqz 1JVrddp3v9VMVQBImcKXkBcEnPXqNxIXRO+9E4C9ChN7Ht2PTcVAT1ZvPgqqMsaGaHHV H1NrgZ0P2zInTCp/8cocee6HCZ6T6niIEqq10JGRX6SRh88qizK/dwHgRKACtthOT0fn PHGzUqu1fwEikU2zMQCTAakG8cPsYBVTF8s8qHwoAckdTEyDD9eyU4Lbf9QlSY5MiFmV 0ls2SLzt5cj56OQsp7JQa9zpnup62JeG0lfxrWlbzCfnfm1UK8Fn0my7rTiqh7UOppJn iV1Q== X-Gm-Message-State: AOJu0YwUslQJNrG73WKtjgawCVokuvqauYjeKV97q+PqXOE/W0OMML6M Tai39LLUSm4umsinJqu0nHBUphqr0tI8xZPIEfhyeYuUfnxBr8Xn2G57qva1lVI= X-Google-Smtp-Source: AGHT+IHxecADuHESJhPR8sXUtgEPmmxdgher3lXTO9gS/5Xw0lTTS1T14FRK8FogX66H9lrNT8TLcQ== X-Received: by 2002:a05:600c:154d:b0:40e:c193:4341 with SMTP id f13-20020a05600c154d00b0040ec1934341mr144963wmg.26.1706016079097; Tue, 23 Jan 2024 05:21:19 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id hn33-20020a05600ca3a100b0040e621feca9sm39982445wmb.17.2024.01.23.05.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 05:21:18 -0800 (PST) From: Neil Armstrong Subject: [PATCH v3 0/2] arm64: qcom: sm8650: add support for USB-C Altmode Date: Tue, 23 Jan 2024 14:21:14 +0100 Message-Id: <20240123-topic-sm8650-upstream-altmode-v3-0-300a5ac80e1e@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAEq9r2UC/43NvQ6CMBiF4Vshna3pD9Ti5H0Yh6Z8hS8RStraa Aj3bmHSScf3DM9ZSISAEMm5WkiAjBH9VEIeKmIHM/VAsStNBBOSC65p8jNaGketGkYfc0wBzEj NPY2+AyoBeM1dZ61zpBhzAIfP3b/eSg8Ykw+v/S7zbf1XzpwyemoZU4qpVlp3ueNkgj/60JONz uKTa39xonBGMd0IrVVt5Be3rusbj9sCqBoBAAA= To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1090; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=J6T8WoDwMb7zsgWZb3GOYxNrNU8yXYr1cMdOd6QdaAk=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBlr71NDzQbq6rTyaQcwx2ypUOggJiz7CcJsBUdWI6b DnlhIhSJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZa+9TQAKCRB33NvayMhJ0WixD/ 9r9eYxVzRN4NVIzkRmXrP3l9xmqbRBc0gOdsvD29M/4fAPe3nQQUprUo+UmqBL2pny3JOXwyOAA3qz Pf4c4SUVl4DDIL16daLAIC/cLFWav6/6nPeXtmR/ouNhgPp5so3eVeVvah80raB0bvpF/NF53qFPJz vgnEoYecaTAAbFfr5VAOUibuxeRccmhfWMFCO8QiNpkxdzks13cJOwuZvPFdJAa23IX0GT1cv0sg6r Zdv5zYle+g8UTA1wVXAhHIYkZ+GTI4YjPrqIV4u8G+EYU9A4V40TLziwtMK4nc+Li9YXi2d3nlctUc kvteTrUD1faOWTeBVdD+aGg6LA4d5CiGOHlJ/Ed2vFlCbw/cKr1HOw+JXzuoLuVrV915IEoFBJM9qg bjBBQE8BXsTvN31ric80v/aKH84WjD+2D2PebKW0frBRt9SAQGZf/Z+SIG6ZyWhiynV2EXKwld+ruK al9/1UXrIzTD0oKfiHBv2a49jUPNkHIlwpE3G0o6W1FGfew2ddAvXXYSBI08n6QrxyVb5031gcgTcI 4TnK+v3qdrXz2ou0njCB1LpfV+CWpBZlMq9ZE+bC9XpoyUmH/1ucrfQSTXg6XGTKmJudkI2nfKObpp 1wH/YPavMdm+1DbCNyzXrC7wNQRkyO/lTsBQ4NZ3b9Gh2SVCCnfEXFO/VYdw== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240123_052120_849260_E6A51308 X-CRM114-Status: GOOD ( 10.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds the missing bits to support Display Port external display over the USB-C Altmode support using the Redriver/Retimer and WCD939x USBSS Mux/Switch to provide the correct switching. Signed-off-by: Neil Armstrong --- Changes in v3: - rebased on v6.8-rc1 - Link to v2: https://lore.kernel.org/r/20231219-topic-sm8650-upstream-altmode-v2-0-a608528864a3@linaro.org Changes in v2: - replaced "ok" by "okay" - Link to v1: https://lore.kernel.org/r/20231218-topic-sm8650-upstream-altmode-v1-0-7900660693cf@linaro.org --- Neil Armstrong (2): arm64: dts: qcom: sm8650-qrd: add USB-C Altmode Support arm64: defconfig: enable WCD939x USBSS driver as module arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 104 +++++++++++++++++++++++++++++++- arch/arm64/configs/defconfig | 1 + 2 files changed, 103 insertions(+), 2 deletions(-) --- base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d change-id: 20231218-topic-sm8650-upstream-altmode-3ee141fdccff Best regards,