Message ID | 20240121-msm8976-dt-v2-0-7b186a02dc72@somainline.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-32217-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp2265285dyb; Sun, 21 Jan 2024 14:43:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHflY+QdgWNPN8LwX0apdQ7UTYHhf/vEyoMryZgf/iQZs1cnhu3w8w2n7onQIvcxJl5Xr2P X-Received: by 2002:a17:906:25db:b0:a2e:ac1a:974f with SMTP id n27-20020a17090625db00b00a2eac1a974fmr1434034ejb.12.1705876987862; Sun, 21 Jan 2024 14:43:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705876987; cv=pass; d=google.com; s=arc-20160816; b=gcuy0BkoJEG1tdlGZaV/iYbqylSDVVIbhBTypnRz8ydoGNTEybAKXh9ptzovxob8qd 5HDFZyoj2JCXiZj6LD8Qwp6WnB8vIKVqIHHvj0iQ17tLZzG2BDmkpevr+9T8XuETDfhn dpZkEhkKg6bniyPGkmnh08Gdt/pCNvGhiXowDms/o4RIkOn3gZdkgr1pgKw6Mn0NB+0f ephZONpoUlaGt8NuotovobziIEFM7qwQCRBWCELAtwj5Gt5lxmA8IJaI0TnhSpPG9vxh rjz1+mhKhEAhjkdkKoOsFbatnclGFUFv97hkAkhHgRnSHKEAC0Ks2cofVfR7b6inL+cb L4CQ== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32217-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x10-20020a170906658a00b00a2b118332dcsi10242581ejn.925.2024.01.21.14.43.07 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 14:43:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32217-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=somainline.org); spf=pass (google.com: domain of linux-kernel+bounces-32217-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32217-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7709B1F21912 for <ouuuleilei@gmail.com>; Sun, 21 Jan 2024 22:43:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9992439FD4; Sun, 21 Jan 2024 22:41:45 +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 <linux-kernel@vger.kernel.org>; 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 <marijn.suijten@somainline.org> 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> 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 <andersson@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Luca Weiss <luca@z3ntu.xyz>, Adam Skladowski <a39.skl@gmail.com>, Konrad Dybcio <konrad.dybcio@linaro.org>, Martin Botka <martin.botka@somainline.org>, Jami Kettunen <jami.kettunen@somainline.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten <marijn.suijten@somainline.org>, AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> X-Mailer: b4 0.12.4 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788741668131084440 X-GMAIL-MSGID: 1788741668131084440 |
Series |
arm64: dts: qcom: msm8956-loire: SDCard and USB support
|
|
Message
Marijn Suijten
Jan. 21, 2024, 10:33 p.m. UTC
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,