All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Alexey Charkov <alchark@flipper.net>
Cc: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>,
	Manivannan Sadhasivam <mani@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Bartosz Golaszewski <brgl@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>,
	linux-pci@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v2 1/4] dt-bindings: connector: Add PCIe M.2 Mechanical Key B connector
Date: Mon, 23 Nov 2026 11:48:57 -0600	[thread overview]
Message-ID: <20261123174857.GA55094-robh@kernel.org> (raw)
In-Reply-To: <CAKTNdwEFSDn4K_15pVK7=ZEWwanHQ284R4=spWWLCB0UspEMow@mail.gmail.com>

On Mon, Nov 23, 2026 at 02:04:29PM +0400, Alexey Charkov wrote:
> Hi Krishna,
> 
> On Sun, Nov 22, 2026 at 10:46 AM Krishna Chaitanya Chundru
> <krishna.chundru@oss.qualcomm.com> wrote:
> >
> > Add the devicetree binding for PCIe M.2 Mechanical Key B connector
> > defined in the PCI Express M.2 Specification, r4.2, sec 3.2.19.1. This
> > connector is used to attach WWAN Adapters to the host machine over
> > interfaces such as PCIe, USB3.1 Gen1, SSIC, or USB 2.0. The slot also
> > accepts SATA and PCIe SSD Adapters, which use the same pins.
> >
> > Interfaces that share connector pins are described as one graph port
> > per pin group, with the endpoint number selecting between the mutually
> > exclusive interfaces.
> >
> > The connector provides a primary power supply of 3.3V/VBAT, along with
> > optional GPIO signals: FULL_CARD_POWER_OFF#, RESET#, W_DISABLE1# and DPR
> > for WWAN Adapters, and DEVSLP, PLN# and SMBus ALERT# for SSD Adapters,
> > plus an I2C parent for the SSD SMBus.
> >
> > The function of the GPIO_0..GPIO_11 pins depends on the Port
> > Configuration, so they are described by gpioN-gpios properties with the
> > function of each pin per configuration documented in the binding. The
> > Adapter configuration is either sensed through config-gpios
> > (CONFIG_0..3) or fixed with config-state, which defaults to WWAN PCIe.
> >
> > Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
> > ---
> >  .../bindings/connector/pcie-m2-b-connector.yaml    | 332 +++++++++++++++++++++
> >  MAINTAINERS                                        |   1 +
> >  2 files changed, 333 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/connector/pcie-m2-b-connector.yaml b/Documentation/devicetree/bindings/connector/pcie-m2-b-connector.yaml
> > new file mode 100644
> > index 000000000000..4760863ff4f7
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/connector/pcie-m2-b-connector.yaml
> > @@ -0,0 +1,332 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/connector/pcie-m2-b-connector.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: PCIe M.2 Mechanical Key B Connector
> > +
> > +maintainers:
> > +  - Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
> > +
> > +description:
> > +  A PCIe M.2 B connector node represents a physical PCIe M.2 Mechanical Key B
> > +  connector. Mechanical Key B connectors are used to connect WWAN devices to
> > +  the host machine over interfaces like PCIe, USB3.1 Gen1, SSIC, or USB 2.0,
> > +  selected by the Adapter's configuration pins. The slot also accepts SATA and
> > +  PCIe SSD Adapters, which use the same pins as the WWAN interfaces.
> > +
> > +properties:
> > +  compatible:
> > +    const: pcie-m2-b-connector
> > +
> > +  vpcie3v3-supply:
> > +    description: A phandle to the regulator for the 3.3v/VBAT supply.
> 
> The node name doesn't match what the spec calls it ("pcie" seems
> redundant). Also, can a module have separate supplies for its 3.3v and
> VBAT?

Yes, but 'vpcie3v3' is already the name we use elsewhere for PCI.

Don't know about VBAT comment...

Rob

  reply	other threads:[~2026-11-23 17:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22  6:45 [PATCH v2 0/4] power: sequencing: pcie-m2: Add PCIe M.2 Key B connector support Krishna Chaitanya Chundru
2026-11-22  6:45 ` [PATCH v2 1/4] dt-bindings: connector: Add PCIe M.2 Mechanical Key B connector Krishna Chaitanya Chundru
2026-11-23 10:04   ` Alexey Charkov
2026-11-23 17:48     ` Rob Herring [this message]
2026-11-23 15:11   ` Rob Herring (Arm)
2026-11-23 17:54   ` Rob Herring
2026-11-22  6:45 ` [PATCH v2 2/4] power: sequencing: pcie-m2: Add support for PCIe M.2 Key B connectors Krishna Chaitanya Chundru
2026-11-22  7:00   ` sashiko-bot
2026-11-23 10:12   ` Alexey Charkov
2026-11-22  6:45 ` [PATCH v2 3/4] arm64: dts: qcom: glymur-crd: Describe the PCIe M.2 Key B connector Krishna Chaitanya Chundru
2026-11-25 11:13   ` Konrad Dybcio
2026-11-22  6:45 ` [PATCH v2 4/4] arm64: dts: qcom: nord-rrd: " Krishna Chaitanya Chundru
2026-11-22  7:00 ` [PATCH v2 0/4] power: sequencing: pcie-m2: Add PCIe M.2 Key B connector support sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261123174857.GA55094-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=abelvesa@kernel.org \
    --cc=alchark@flipper.net \
    --cc=andersson@kernel.org \
    --cc=brgl@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krishna.chundru@oss.qualcomm.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mani@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.