From patchwork Sun Jan 21 22:33:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marijn Suijten X-Patchwork-Id: 764817 Received: from m-r1.th.seeweb.it (m-r1.th.seeweb.it [5.144.164.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0599539842 for ; Sun, 21 Jan 2024 22:33:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.144.164.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705876423; cv=none; b=Vy35Cb67WYfLGBgi/pjedZVjVg2ais0X0Ve7Ua1+j3iJVAdk6TZYTvjI5FUR5YtzcCVEv9K7jmWd8UJmRLYCI1jRznC4MFBqe/IkCIVjzq1AinCt5YRqsgIqU4iZFIaUIvLp+/szqY83fW0UjPNfAabV0bzlKE7zLfnQ77HEsLA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705876423; c=relaxed/simple; bh=ZjsDfBtfx+AfvdgrvEbs+TSdw0CqYDKGBl6lNghc0SU=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=ElbuM/f3gO1rAc4pwFcANl8IGPVePtQT9t44EUhc4yk8zjGGr0wH6E6V/IFU35JQwt3SULviMOWMab/qwyRAKPJR8dgnJVRZr0u88cP2CzvTbPRrOqbC8zWKjTGjCHC+V76oJtk52Fr6KGpRHAnQG72DZihgWiosOTb3X7LyyE0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=somainline.org; spf=pass smtp.mailfrom=somainline.org; arc=none smtp.client-ip=5.144.164.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=somainline.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=somainline.org Received: from Marijn-Arch-PC.localdomain (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id 42C1520313; Sun, 21 Jan 2024 23:33:39 +0100 (CET) From: Marijn Suijten Subject: [PATCH v2 0/6] arm64: dts: qcom: msm8956-loire: SDCard and USB support Date: Sun, 21 Jan 2024 23:33:37 +0100 Message-Id: <20240121-msm8976-dt-v2-0-7b186a02dc72@somainline.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAMKbrWUC/zXMQQ6CMBBA0auQWVtSpo2AK+9hXFSYwhDbkikaE 8LdbUxc/sV/O2QSpgyXagehN2dOsQSeKhhmFydSPJYG1Gh1g40KOXR9e1bjplrjLRKRbx4DlGE V8vz5Ybd7aS8pqG0Wcn8Ci2DRoLZ93WpjO6uK6ISXWOcXLxvFa07BcXxypDrJBMfxBYT8DoKkA AAA To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Luca Weiss , Adam Skladowski , Konrad Dybcio , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten , AngeloGioacchino Del Regno X-Mailer: b4 0.12.4 Add pinctrl nodes to enable SD Cards to work on the Sony Loire platform, and define extcon nodes in PMI8950 to feed into the ci-hdrc driver as it cannot figure out the presence of a USB cable (nor the desired role based on the ID pin) on its own. While at it, extend PMI8950 with some more channels with now-available VADC_ register constants. Depends on: - dt-bindings: iio: qcom-spmi-vadc: Add definitions for USB DP/DM VADCs: https://lore.kernel.org/linux-arm-msm/20221111120156.48040-2-angelogioacchino.delregno@collabora.com/ Changes since v1: - Moved pinctrl-names before pinctrl-N (Konrad); - Keep status=okay last in OTG node (Konrad); - Rename `adc-chan@` node names to `channel@` (my own patch from a long time ago). v1: https://lore.kernel.org/linux-arm-msm/60a40ace-d4e9-df74-88f9-4354d80efaac@linaro.org/ Marijn Suijten (6): arm64: dts: qcom: pmi8950: Add USB vbus and id sensing nodes arm64: dts: qcom: msm8956-loire: Add usb vbus and id extcons to ci-hdrc arm64: dts: qcom: pmi8950: Add missing ADC channels arm64: dts: qcom: msm8976: Declare and use SDC1 pins arm64: dts: qcom: msm8976: Declare and use SDC2 pins arm64: dts: qcom: msm8956-loire: Add SD Card Detect to SDC2 pin states .../qcom/msm8956-sony-xperia-loire-kugo.dts | 6 ++ .../dts/qcom/msm8956-sony-xperia-loire.dtsi | 25 +++++ arch/arm64/boot/dts/qcom/msm8976.dtsi | 100 ++++++++++++++++++ arch/arm64/boot/dts/qcom/pmi8950.dtsi | 38 +++++++ 4 files changed, 169 insertions(+) --- 2.39.0 --- Marijn Suijten (6): arm64: dts: qcom: pmi8950: Add USB vbus and id sensing nodes arm64: dts: qcom: msm8956-loire: Add usb vbus and id extcons to ci-hdrc arm64: dts: qcom: pmi8950: Add missing ADC channels arm64: dts: qcom: msm8976: Declare and use SDC1 pins arm64: dts: qcom: msm8976: Declare and use SDC2 pins arm64: dts: qcom: msm8956-loire: Add SD Card Detect to SDC2 pin states .../dts/qcom/msm8956-sony-xperia-loire-kugo.dts | 6 ++ .../boot/dts/qcom/msm8956-sony-xperia-loire.dtsi | 25 ++++++ arch/arm64/boot/dts/qcom/msm8976.dtsi | 100 +++++++++++++++++++++ arch/arm64/boot/dts/qcom/pmi8950.dtsi | 38 ++++++++ 4 files changed, 169 insertions(+) --- base-commit: ad5c60d66016e544c51ed98635a74073f761f45d change-id: 20240121-msm8976-dt-73f42eeef1bc Best regards,