From patchwork Mon Dec 18 10:26:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13496529 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 E9056C35274 for ; Mon, 18 Dec 2023 10:27:09 +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=3YoxgMzvcdfGMpuqMxyV68s68qiG5RAyNYiOHjFbHBA=; b=KZoeMem3diZXKM HzzrBOTxUsB+DNGF75Yz0zdQqf8yq2AaZfMgord+/L2aXQREBdMe1wQT+8uZkSw/qI4sf86YoPT9F aDyX9wRi78eo2TN6FT+syc1lOpP+yw11gxGXtNIM3liXmvxhSNaXv5QhYgNttDMjlXzvJqb1yaz6w xExZauOaCLd+64qcwepBwGgRoEWSnWGZlB6/BXKY+oLN/VdYoLiQWGFXH1WKKVdwVoA10QYzC++Sn uPyKotvWAFgn2Ly/yxZpn20n05zEdfh8V0D7s9+aJ2u8zzuklNS5jcu3PMrR02+XB0ZbuhjCp3BFJ tpzq0BKtWmm4Al/DDcNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFApg-009p8I-2P; Mon, 18 Dec 2023 10:26:44 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFApT-009p1g-0b for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 10:26:33 +0000 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-336690479eeso485958f8f.2 for ; Mon, 18 Dec 2023 02:26:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702895187; x=1703499987; 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=bfGdeEVtAP039z0DAM0GYB1EstdhuI6lhd+nU30URD0=; b=j9Qt+TeHhT4mub5vIKFKsHT5fBSrucfnDxrJ+TX09dsRZB91yKmKKADJxbdYd37tSO ez7vZbDulQJWsB1WQsnwTJwQc3kZj8oell22tA+FZCtv24ZYohsKzatX12y8Su8tZoGq H4rv6i35ikvnZ7q+SIQYlDwnsIXdlxhc494jtycn960eyGDUsc7u/ZMmzimEX4ORb1ZZ LesyGd2AjQBdt1vOH9MC6bsxZa2wBypSf15soTJKk0UdKCHBDTUm55t/f+B9heBlk58X WZdjhBN5zi+pBDmXcvgbDYAfUVnHQ0FlC2uBNV7u8uJnHuHbTeXL3yCHKM4Tx4BkYfLK h4zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702895187; x=1703499987; 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=bfGdeEVtAP039z0DAM0GYB1EstdhuI6lhd+nU30URD0=; b=ej8xgMQRJl3EMOnqVaa1j5efDGyKoN8tUf/nfspML2UZ15jlyJvfOUdhzvdxuK4Bkg 2g33VqDZmtSspfbYxT7UaZV/2MMOHpv3oC0xLuYCouJGkLBtFW8jfb+kyfOoGmSd+SOU rPfU26k56sZhuS7PQERqjA4PH1Hp+XwGD3Iuf56uegS7QZu22cLrE6kt0ymePUt3t/45 Jd/aJGUeo8CHix2Cl0Jc6tOeQh8wOiU+rO78AI1E8otjsaIYy6pINeK5IOjy9CZ2h81B 4F1ulQ3AYPtAyqOsuWKRQaVZwpBgvMqN1NT5I++YldFp5eYQlNUwtxjfUuOg3eqIDJ+D Gedg== X-Gm-Message-State: AOJu0YyNTEUrN3aM6XKqv3QaniIO5p+/gqDLCo37H5iOkMRzsYuC0usf Rv6+6vLtOx6QQlNzPcjDj2pSISn8VS80vrH8w+dTQM9V X-Google-Smtp-Source: AGHT+IH7gTI3sQVTip3YEHMYyOyuTBxGVnDnL5oom7hwIOvttarBXpmokCWLuyMer7EXlHTmngDC2Q== X-Received: by 2002:a5d:5264:0:b0:333:2fd2:3bc4 with SMTP id l4-20020a5d5264000000b003332fd23bc4mr5414962wrc.125.1702895187323; Mon, 18 Dec 2023 02:26:27 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id o9-20020a5d62c9000000b003364aa5cc13sm11365333wrv.1.2023.12.18.02.26.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 02:26:26 -0800 (PST) From: Neil Armstrong Subject: [PATCH 0/2] arm64: qcom: sm8650: add support for USB-C Altmode Date: Mon, 18 Dec 2023 11:26:23 +0100 Message-Id: <20231218-topic-sm8650-upstream-altmode-v1-0-7900660693cf@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAE8egGUC/x3MwQqDMAwA0F+RnBcw1YnsV8YOpU1dwNrSVBHEf 1/Z8V3eBcpFWOHVXVD4EJW0NdCjA/e128IovhlMbwYyNGNNWRxqnKdnj3vWWthGtGuNyTMOzDR S8M6FAO3IhYOc///9ue8fq3SJvW8AAAA= 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=781; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=Sx1JlgYzlpqCvtOmR9gBzgN6SutXNYs6O5wotkCENgs=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBlgB5RlV4PyBkoraDzOeocIlIUn6+YTLgJwgl9aYOl l5bIyziJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZYAeUQAKCRB33NvayMhJ0e/QD/ oCutKa/EAdw7aTS4OPR+sn2lJuf0HO7YJhYShx0tLKRTD/DhiMape+ug+q1HVM65Hq/O238TYgEooJ Sp/OXGzquanrJJ5VoXXHc2Ge/ZI57Brg8ghkLU0rrRrBHrNAw/pbFKteXCBbGmW9OkZVWq4OTJBpbQ UpV79ZOD2YGa+ylfaZu/a4uuEuOLnXBgpRzY5JkAeOMGCJRkWbWG9VTWYoSnyGGqiF7E5qEB5v/EFO zX0+m3EXmN485kCPrlUEYZfE638XzN04qEvn/hajiO3bBA3JLBX6jzT86VkUK3S4fjxvvOqsyCfyEy ARLmRA64Nc8HoupyK3mlD/2Z3Yo2jNIcYutaw1/g4LW81ZBmNE6T/1FRH1utDz1VxCzrTl8ut2qaky 2I9mhuZw1ndTQOy4qSBpGAQ5gFyiYyj1F6cHeMxWw0WatNmCnAK3VDAAU9u/yv1XdBZUpiEbMAol+k km+7G8LY/EMhc6u1H4v5CKyCZn4mzp5itkiU8sgEdKgq0NgCzNViN6XmpPgSnoRXFvRWDt97x4pF8Y WR6yD+JzEPLVgK+fF4pwMp194DMIFYPsgjxe5w/d3zxjwqBOogQJ8/EBOGqQRtdH3wfm/gLhgN/aFY IjJDqPorbqtyfQfUOA8gHCW0xc33APuWNk6GjqLr7vQ8y1L4BSw12EfWhMtQ== 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-20231218_022631_313057_6BFCCF58 X-CRM114-Status: UNSURE ( 9.29 ) 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: 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 --- 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: ceb2fe0d438644e1de06b9a6468a1fb8e2199c70 change-id: 20231218-topic-sm8650-upstream-altmode-3ee141fdccff Best regards,