Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp3025rdb; Sun, 21 Jan 2024 14:42:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IFxv1vXzAcgxwEBiWW3ozRF+RUozCWIlYvLcZ0+2kDiHA+cDlWBrjhOTiDxN+aS3/g4fCk0 X-Received: by 2002:ac8:7dc9:0:b0:42a:3e98:a1ad with SMTP id c9-20020ac87dc9000000b0042a3e98a1admr1428726qte.14.1705876945000; Sun, 21 Jan 2024 14:42:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705876944; cv=pass; d=google.com; s=arc-20160816; b=RbA/UwtXp0rY1pp3+RfLdE+puUgHNOaBxFOrrkTC2mnLlpfTfYMZ+dALfqrX8UFhsL PvxqmYLIRPnlRFJxDmnidHMoDzLM/PjJufmaZrwU5zzv0a0G+NwZBxflTTKL03n8++QT BnyhD9LhhRHRAALSg0XQVfJ+DbvEwELWlHQStthg8NN5RExIHKF2t4BMPxF9Qbq5yOva 9RKGdgU8fJvcPU48R677lLgVRXh4n9L/QF6wEmGwaLbySRxzFRs4VqsBUzUPVNtIsRba 1NXWkeHtKR93ugr7J7IYBVP5GyZUx365ixJr853NQHDckXYEdCMhTNQYOPXbK6WnVlje B0Cw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from; bh=TIq52Dvyd0kCU9vuPyGWJiCanGWU4D6wvgoO9e1Fs/c=; fh=gyQ+468lTOuRNBtkqerqTuKvvguTTOfYUz/OQb7wqjU=; b=0zwcYE/NlmIfj4/lXoo3ggsV9aGt23ZHuOC2ZFuH0yy0qAOl1gdJ/6/8tLGI9utnTM DX6d70rH0UEAwGN+q6lv/8cH0qdXi59qFizQiM5v9uKpgsBlGezIDETPWnFF04R2zpWm OTKbPgZMjSjKu+86dRkvFAzylyuiYdW1OwFOf9VfGkCte/pbCqgVoT09XB2u2CVlEEx5 A/C//JtXOELA8/vKQTY3ctxLBwQivMyISe1eIEqAoUQcACt2X6IEp/JMvdHGjugO7nXR m2G5qj+vslsQFSAsplvNS2u+mxTuNN15yTCrCIyarIb8KB8iVtS3sBUGJcJW5lX0lmLX 9J9Q== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=somainline.org); spf=pass (google.com: domain of linux-kernel+bounces-32217-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32217-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e19-20020ac85dd3000000b0042a3cb97070si1307878qtx.548.2024.01.21.14.42.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 14:42:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32217-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=somainline.org); spf=pass (google.com: domain of linux-kernel+bounces-32217-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32217-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A96D61C21446 for ; Sun, 21 Jan 2024 22:42:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F62839AC2; Sun, 21 Jan 2024 22:41:44 +0000 (UTC) Received: from relay01.th.seeweb.it (relay01.th.seeweb.it [5.144.164.162]) (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 964BF38392 for ; Sun, 21 Jan 2024 22:41:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.144.164.162 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705876903; cv=none; b=R9vWYYkKlbuzXyFBpUULGg+38M4kdBElxPr8FoSKSRvCQ+QubKW9MBIyOmi945VMHMHX/7Z+wkEnt69s0P76whMyi8Dju+Yh4YbNfMc86N61XJDaRdm36Onh/2Bh+eeQUxXJIs6rnupPiCXSY4AhmnMONuYo12/YvTLraUi8Q3I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705876903; c=relaxed/simple; bh=ZjsDfBtfx+AfvdgrvEbs+TSdw0CqYDKGBl6lNghc0SU=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=HV+oZ6RUXwktBEU+uEyRfDmhPuvh8wDqjjDxWg7EE/M9AO5gzui+7GaDTY08Y4BaHrEGnYE+resJFJxGDz2Wl2DjWqGxsFL6ywWHOJSWdLK2LU/mIQFktXV8+x3fI0+JS4Qc4ClasEwE/aG+CmdCDYLo2vzqmrckpBWLKAdApDE= 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.162 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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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, -- Marijn Suijten