From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 189FF175A64; Sat, 21 Mar 2026 08:30:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774081857; cv=none; b=DLvMfaFVXjG/3Dm2WNLTsY05wcX4WRUEYPv/9LEzszYn9U2C2bt7mVwVrjZyeFPRn0NEmL5iih+gvUyAwVONsiC1rAKmlW9aDv2ILK6kOAM6nfeY1zQr/BO5DKjq2G6omeQDk8ddgI36dixlkG+ulkOgQoTltb828tzjAhhKTI8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774081857; c=relaxed/simple; bh=ESX47VcEhSvMtNbBzdjxGkC/XXaxoEtS+Iky1KFzZig=; h=Date:Content-Type:MIME-Version:From:Cc:To:In-Reply-To:References: Message-Id:Subject; b=bL7w4WOsMYwBWrzXwHmCdDNJ6TJR2XDnlTMGC97Q76C9aWZ1ilXXqWRv2GPr1pjd3g3v1rNpB4h6mBtSwgdlx3rNXMuws1RJoCHjHe8/sti9WvaY29ftZraYoUXl5f17cLYPbVgFsyd8dbGTMvAvW5mpxI4Q+cDXVYPlHpZCxaA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o6D9y3+I; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o6D9y3+I" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3DAAC19421; Sat, 21 Mar 2026 08:30:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774081856; bh=ESX47VcEhSvMtNbBzdjxGkC/XXaxoEtS+Iky1KFzZig=; h=Date:From:Cc:To:In-Reply-To:References:Subject:From; b=o6D9y3+IdSVdKdvD01vXn1Ek4LkXiFG93xXd9aocsHltiqiuNySlXfeAUmFSMtI+1 e2BJfGQTSeyfgPqJP8NUWSXhdJzw6SGlCbXuYj6qJcrWWQQ3NTQ6zJticoZFjWRzz7 5H6cjNwPKhzpogiaKD0r1/aeH/9KAVpPtmaXfeMbMzkkeI7abW9BOR/+LBoxHGD2Nt ql2pvVEjsuz0NL2j968OgYLyHvINDGLXRM82WdaL0GPHjhMlyZG0IIiqVb2+tG8vtV PDNsv23RCHBMdOpvKKibnJ+MNE/LDUod0t281xA94lnenLpmuaApDTrxGXUdtBk2iY LGcJAOc2a7GpQ== Date: Sat, 21 Mar 2026 03:30:55 -0500 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Rob Herring (Arm)" Cc: Krzysztof Kozlowski , David Jander , Linus Walleij , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, Lee Jones , kernel@pengutronix.de, Guenter Roeck , linux-hwmon@vger.kernel.org, Peter Rosin , Conor Dooley To: Oleksij Rempel In-Reply-To: <20260321065146.3918882-2-o.rempel@pengutronix.de> References: <20260321065146.3918882-1-o.rempel@pengutronix.de> <20260321065146.3918882-2-o.rempel@pengutronix.de> Message-Id: <177408185570.3340992.12755175638326368170.robh@kernel.org> Subject: Re: [PATCH v6 1/7] dt-bindings: pinctrl: add NXP MC33978/MC34978 MSDI On Sat, 21 Mar 2026 07:51:40 +0100, Oleksij Rempel wrote: > Add device tree binding documentation for the NXP MC33978 and MC34978 > Multiple Switch Detection Interface (MSDI) devices. > > The MC33978 and MC34978 differ primarily in their operating temperature > ranges. While not software-detectable, providing specific compatible > strings allows the hwmon subsystem to correctly interpret thermal > thresholds and hardware faults. > > These ICs monitor up to 22 mechanical switch contacts in automotive and > industrial environments. They provide configurable wetting currents to > break through contact oxidation and feature extensive hardware > protection against thermal overload and voltage transients (load > dumps/brown-outs). > > The device interfaces via SPI. While it provides multiple functions, its > primary hardware purpose is pin/switch control. To accurately represent > the hardware as a single physical integrated circuit without unnecessary > DT overhead, all functions are flattened into a single pinctrl node: > - pinctrl: Exposing the 22 switch inputs (SG/SP pins) as a GPIO controller > and managing their pin configurations. > - hwmon: Exposing critical hardware faults (OT, OV, UV) and static > voltage/temperature thresholds. > - mux: Controlling the 24-to-1 analog multiplexer to route pin voltages, > internal temperature, or battery voltage to an external SoC ADC. > > Signed-off-by: Oleksij Rempel > Reviewed-by: Rob Herring (Arm) > Reviewed-by: Linus Walleij > --- > changes v6: > - add Reviewed-by: Rob Herring (Arm) > - add Reviewed-by: Linus Walleij > changes v5: > - Commit Message: Added justification for distinct compatible strings > based on temperature ranges. > - Restricted pins property to an explicit enum of valid hardware pins > changes v4: > - Drop the standalone mfd/nxp,mc33978.yaml schema entirely. > - Move the unified device binding to bindings/pinctrl/nxp,mc33978.yaml, > - Remove the dedicated child node compatible strings (nxp,mc33978-pinctrl). > - Flatten the pinctrl/gpio properties directly into the main SPI device > node. > changes v3: > - Drop regular expression pattern from pinctrl child node and define > it as a standard property > - Reorder required properties list in MFD binding > - Remove stray blank line from the MFD binding devicetree example > - Replace unevaluatedProperties with additionalProperties in the pinctrl > binding > changes v2: > - Squashed MFD, pinctrl, hwmon, and mux bindings into a single patch > - Removed the empty hwmon child node > - Folded the mux-controller node into the parent MFD node > - Added vbatp-supply and vddq-supply to the required properties block > - Changed the example node name from mc33978@0 to gpio@0 > - Removed unnecessary literal block scalars (|) from descriptions > - Documented SG, SP, and SB pin acronyms in the pinctrl description > - Added consumer polarity guidance (GPIO_ACTIVE_LOW/HIGH) for SG/SB > inputs, with a note on output circuit dependency > - Updated commit message > --- > .../bindings/pinctrl/nxp,mc33978.yaml | 153 ++++++++++++++++++ > 1 file changed, 153 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pinctrl/nxp,mc33978.yaml > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pinctrl/nxp,mc33978.example.dtb: gpio@0 (nxp,mc33978): $nodename:0: 'gpio@0' does not match '^mux-controller(@.*|-([0-9]|[1-9][0-9]+))?$' from schema $id: http://devicetree.org/schemas/mux/mux-controller.yaml doc reference errors (make refcheckdocs): See https://patchwork.kernel.org/project/devicetree/patch/20260321065146.3918882-2-o.rempel@pengutronix.de The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.