From patchwork Tue Dec 19 12:22:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13498210 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 57DC2C46CCD for ; Tue, 19 Dec 2023 12:22:58 +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=ZUvubsq6ZljqXx/l+RWi+ItP/BMhAry30cmJSH9o/Rc=; b=rcQZQTg6NJbf89 S5a9gU7BT47bDC54cXto20pRV3OzqB+hU8FuucSsHPH+MspZjIwzLPwcPG0vh+/B0fkm197wGHpfJ ZOwF6Nqs/5qiZay86chhqwKhpmgH9ZvGbMP7/qMtIv/JjlyW/EsBHi/2YI3ffL6IrfaEF1bZ2FNOQ wrnV6+cARG33+nG/CYYK4fX34hRsX4iHpnkZZpck0TRJWRKPI7JeJI8jbMlA5qSSox5Twx+5a1QSQ XNmbZsgB+l66xOMZzU/UtphuKueoja7aRiUBE7dCSGQj2RqLYsXkNUtVISlWZfvwxzXOhly7BNri9 nX8RJkcqDSzF5jPolUCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFZ7E-00E03r-1s; Tue, 19 Dec 2023 12:22:28 +0000 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFZ7A-00E02D-37 for linux-arm-kernel@lists.infradead.org; Tue, 19 Dec 2023 12:22:27 +0000 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1d3ce28ac3cso12803585ad.0 for ; Tue, 19 Dec 2023 04:22:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702988542; x=1703593342; 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=bydYSCX5eHzsLJIGwDYljI+FhHkzmfYKJABU0jjK5e4=; b=jLyRUbNoq7Lqs6QCw8Qw5PuPvEPkIZVzlTXY8j9aVh3CF7WhHVGauR/iQGS+3tQMZR rWcw+V3JWIhyowJEthLzJ7cr+xG1OHqbWXg2tCTQsNAgviG9oc8OC1/MCd7H8gvL/VQ6 kRkXPxbjkspvrgaObBWoJ72tjBmq2sXWWoBJGiSZ4j7Ff/e4BWzKwIKzPthJ+qBcJ/na tuJc7Sjkrn5L6+Ya9J6wxHUcXDkTMEO/qeCHb6jJ4N1b/0xAUO25sNjSy8q66XjCnLhN P7sEtCZdOQzBKXmqXxam/iIPsNw+qZyZ2lXrKTq64kHoMN6xcEv8xKkcup1IUYEXYqro E0cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702988542; x=1703593342; 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=bydYSCX5eHzsLJIGwDYljI+FhHkzmfYKJABU0jjK5e4=; b=Bwp3/8AYKVicbS97VNrosqkSgakq1RI93cOBjXoqQhVE3/v0/LQxZub9BxDFvVn4rc UJMTEZmnVwzKCrlXpK5cxXdqiYvBaz6AJ5q12fZVQXl6sSnDcEv5rrB2tDzEw6nads71 NRaFblztE3swADfrBEyRYaFZjt7vowNfAIlGpZEftvy+2TzPTmSiGw1uVXxFmu667SAj d+v562ph3ogtP/lZgfIGpi63KTbICXza2G9yj5Zswxq3d0r4mfNssZs9SGJFHBVKzZgs L34rjdf9V0h/6Vr0yfZZEPytkqYWN125IYEECrP81FoNfiXAIpNVAoxEquPjrr4rsVlG WZIA== X-Gm-Message-State: AOJu0Yw+UGvazvRQLL0yI0WymP5wfDfUIBo57AAEBQRFxREZ/16WcRSW 0TZPLMPBwl3jIYDxMsthbz8P/w== X-Google-Smtp-Source: AGHT+IFAF7eA49s8oqLTUDnV7+k6pC7ZwfagYvA1eQWfpgozUXjPS6m5Vy98ABrwzvbIS8azVdbBQg== X-Received: by 2002:a17:902:e74e:b0:1d0:6d5d:5e4d with SMTP id p14-20020a170902e74e00b001d06d5d5e4dmr8654007plf.59.1702988542090; Tue, 19 Dec 2023 04:22:22 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id s17-20020a170902b19100b001d366f8cfd7sm7719419plr.182.2023.12.19.04.22.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 04:22:21 -0800 (PST) From: Neil Armstrong Subject: [PATCH v2 0/2] arm64: qcom: sm8650: add support for USB-C Altmode Date: Tue, 19 Dec 2023 13:22:11 +0100 Message-Id: <20231219-topic-sm8650-upstream-altmode-v2-0-a608528864a3@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAPOKgWUC/43NQQ6CMBCF4auQWTumLVrBlfcwLJoyhUmANm0lG sLdrZzA5fcW/9sgUWRKcK82iLRyYr8UqFMFdjTLQMh9MSihaqlkg9kHtpjmRl8FvkLKkcyMZsq z7wlrInmRrrfWOSiNEMnx++g/u+KRU/bxc9yt8rf+W14lCry1QmgtdFtb95h4MdGffRyg2/f9C 3CCcgjLAAAA 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=940; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=CfekqcLq59Az8t88PXdFsOu7qu05LO1LTQZyl9hA14w=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBlgYr3piOIQKgjrLEZtzcijK5l3Qo4I31ay8BvLF+I pOfZORiJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZYGK9wAKCRB33NvayMhJ0Z1CD/ 0SnHZqyTcfadg9WmKDR5m5dI54+9y/6aErfD9lG93i1Zi/hYikCr6Z6ZbEbY1RMaIr8sjuvXm0or/v fc6NMcOdeZZpPUkFWibD1nO75jy5wfC5EMJ24f6EGcTRZB9bvE2G9z5o9k7K+MkR2+GntghkucHPcT b+T1vMCkCUXtm1Mz4H+WGoM8GmMYdu2CU95Lde6AedDTlC9rlv7y2dd8sz+vcniNl8rsQBTAyAM5Mu 3LJik151oY2ETyY2flrG0wdkMKcQu8MfodocTbXXcepbykGucDkFoT5zXnJ5M1I6TTGih2nmSwssos JvV250LyvzfrEkzn/DOZfDsDYiSOXh8hykWcxivBqMhGZmKsv5HWArW3sSbuZJ6ZxlUWKeeztkCxn4 hsL0qjexUdkIFAWomgfVncDKvYDEHWMxZFLbn5gNw3QSj9hKF6qOy9Zo7UmhLkdhPdYJISzhcDOwE5 SlbdEYqyDnQyUeGamtAJX5eI88+gkRYKBWsAGcarlEFuyZ0L/U6KFPCf5fgkZXjuitiZdSdYhNaVep RDT8pEkFuhzmKBtvjgD0QPiUQAE9ZUOR4fG43SOlPeHOjkweNcZGEppS3M+iJ5j99MzIUQjG1P6C+6 OASvsjR2JcZrGg3wAY3MuOhJpdIuo6keEkkjGHSAIg3LzDsLF4y+cajcPWQQ== 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-20231219_042225_009287_6F4F5D18 X-CRM114-Status: GOOD ( 10.40 ) 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 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: ceb2fe0d438644e1de06b9a6468a1fb8e2199c70 change-id: 20231218-topic-sm8650-upstream-altmode-3ee141fdccff Best regards,