From patchwork Tue Nov 5 06:42:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 2006684 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=UOE/pQF0; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=139.178.88.99; helo=sv.mirrors.kernel.org; envelope-from=devicetree+bounces-118917-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [139.178.88.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XjJgN0d5lz1xyM for ; Tue, 5 Nov 2024 17:42:55 +1100 (AEDT) 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A2013280E50 for ; Tue, 5 Nov 2024 06:42:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A86D1FE117; Tue, 5 Nov 2024 06:42:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="UOE/pQF0" X-Original-To: devicetree@vger.kernel.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96FA21FDFAD; Tue, 5 Nov 2024 06:42:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730788949; cv=none; b=gb18Rr+SLMBkIsiE1/RFiQ0Q7TpSCkBkmu4IzLMCfGb4Ydv53pZp+zhgP7XJR86REGBr21ZA06Y8vLcLs9uFvzKZWg/aLkzQBYe0MCchnpBZPGcuC8KMNSAUTZ8vXeYQCr1vKkJo3CMK/B+mfzBTu/+VWDMWpWInbwdKprFJgbI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730788949; c=relaxed/simple; bh=/N/tBcY5Ap6L0FyIz7W+ZKJeqrPEXK9I9dM7w+tRjIw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=pZ8Ysazm6AE0SdCIZa65/Pq301sN1jhiTnqkXyrjdqB3W00aBebfj6/2n69dSThUkDKXHNZxVt6OePeYu9Naz1s6z5TkTWEyFbaE5zkITBF+kpUoSgzj21ukGmDr62zyOpzyfTx4i5Hg/cmO7DGwv6chnJY7Am9wU0l/XBnXA0s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=UOE/pQF0; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Received: from localhost.localdomain (87-97-112-21.pool.digikabel.hu [87.97.112.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: hs@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 2220A88EDE; Tue, 5 Nov 2024 07:42:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1730788939; bh=xhHi+o5Mgt4vE62+EN185nyzLfwnIHMnzNtTNTjPFfc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UOE/pQF0fr5eZRf5Fq8jpI55EHP9/kiZYNJ6x2vS3lBp6H2XraRZYjcYoB2qOvkNf 2XZyu5qM9kkh2F8azEF9d+uN2OKHtf84dy+9Z1WD6fE7r1BBaCqHgpBTVLvMznCgqb bMcGN6hhju2KbVsTppnJFqTAeuwBW+2WgTdFNh9ryRstSGD9mFxLcfHsusC/cdAghY omCTM/n5ZPFBbBeEstXsqCYRUIBKc9jBXsnaqap9X9T5kOhxcHWbzOsQcA/P4on/O2 MtB4gOEAkSBVVIQ5Nv6rFM+GYEdwacy47RVV37nAs6azQNJgszCNMGv1jbz4jCuBaX E/OeHq1CS+NNg== From: Heiko Schocher To: linux-kernel@vger.kernel.org Cc: Heiko Schocher , Krzysztof Kozlowski , Alexander Stein , Conor Dooley , Frieder Schrempf , Gregor Herburger , Hiago De Franco , Hugo Villeneuve , Joao Paulo Goncalves , Krzysztof Kozlowski , Krzysztof Kozlowski , Mathieu Othacehe , Max Merchel , Michael Walle , Peng Fan , Rob Herring , Shawn Guo , Tim Harvey , devicetree@vger.kernel.org Subject: [PATCH v3 1/3] dt-bindings: arm: fsl: Add ABB SoM and carrier Date: Tue, 5 Nov 2024 07:42:04 +0100 Message-Id: <20241105064206.43626-2-hs@denx.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20241105064206.43626-1-hs@denx.de> References: <20241105064206.43626-1-hs@denx.de> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean add support for the i.MX8MP based SoM and carrier from ABB. Signed-off-by: Heiko Schocher Reviewed-by: Krzysztof Kozlowski --- Changes in v3: added Reviewed-by from Krzysztof Changes in v2: reworked the compatible strings for ABB imx8mp based boards called dtb checks, no errors for this patch Documentation/devicetree/bindings/arm/fsl.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index b39a7e031177..b933788f756b 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -1090,6 +1090,15 @@ properties: - toradex,verdin-imx8mp-wifi # Verdin iMX8M Plus Wi-Fi / BT Modules - const: fsl,imx8mp + - description: ABB Boards with i.MX8M Plus Modules from ADLink + items: + - enum: + - abb,imx8mp-aristanetos3-adpismarc # i.MX8MP ABB SoM on PI SMARC Board + - abb,imx8mp-aristanetos3-helios # i.MX8MP ABB SoM on helios Board + - abb,imx8mp-aristanetos3-proton2s # i.MX8MP ABB SoM on proton2s Board + - const: abb,imx8mp-aristanetos3-som # i.MX8MP ABB SoM + - const: fsl,imx8mp + - description: Avnet (MSC Branded) Boards with SM2S i.MX8M Plus Modules items: - const: avnet,sm2s-imx8mp-14N0600E-ep1 # SM2S-IMX8PLUS-14N0600E on SM2-MB-EP1 Carrier Board From patchwork Tue Nov 5 06:42:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 2006677 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=Y88NL3vR; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45d1:ec00::1; helo=ny.mirrors.kernel.org; envelope-from=devicetree+bounces-118915-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [IPv6:2604:1380:45d1:ec00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XjJg14dx2z1xyM for ; Tue, 5 Nov 2024 17:42:37 +1100 (AEDT) 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 BD87D1C21718 for ; Tue, 5 Nov 2024 06:42:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 369D11FDF99; Tue, 5 Nov 2024 06:42:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="Y88NL3vR" X-Original-To: devicetree@vger.kernel.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 372D81C2324; Tue, 5 Nov 2024 06:42:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730788945; cv=none; b=EljPVVPqEo2dz964eEvxKI5i07gvbc88Xf9juzNTTlW6p6qBwvfA+7p7sWt6w+Bahl/IEGUn1yZqM5LL541TteVIQL+Oyl0CkehqH9EdGXpPsUmaUez0VXTq8Qe/OcLYaHbaPkWUsUZo6ivSkPSB62aAP7E5TUsTBHHrWbezbBM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730788945; c=relaxed/simple; bh=gT6TGfPLEEgNb9a1UcM6k2+GwOFFX10p6GUhgD4xCO0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Q9LzqkR+7lFyp9feUqyhzuRzcbVaHrWU214sF4MaKfXO63j78XdWXr+l6V/RrlTFIrnuytqk37fq4I/PIDZTYHb/Y9wa7rPwU6Jx9aSvJgv0AZ0j3iEJlTz2Pm2J2BDBE/J3lhNP8EZHcLyCOgRugGzQZ9mdGWNA65weCzuO9rk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=Y88NL3vR; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Received: from localhost.localdomain (87-97-112-21.pool.digikabel.hu [87.97.112.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: hs@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 0090488EDD; Tue, 5 Nov 2024 07:42:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1730788941; bh=CTUrXm3qAhjs4mU9JLhzVL58+lVPixfrNT8nOp3fw/4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y88NL3vRuqtA0/QL3iRvwjCKuwKTHUbv/euDTraH7ScQqRoNbYSfUHSJIuq41kEQB U5k5SczfydRsvzxs2GBAg63HgFmJDoyslLyAMJeIy5pmoBag3MWuZsjRuWeu9hNNdc R/wSHgmrCCQKcgTjkE7R63mGd9YbNHMed8kN5kRJc9EFkSykO+yMurFiWCWmnWX2ab YLkaN+ZTsXwgGlPh9rIUQl5PIQtkQvCUQ8LgTg6wTjVCtcI5wlRRni4wH4Rxf4S5Nw 9kYgfGVhtyKlAzoDuO9ZSbO1bzMpk7IFTvugSOIpm2CMDBFgO0iRxNcTwTdta1RUtF g26yd2XFkhgPQ== From: Heiko Schocher To: linux-kernel@vger.kernel.org Cc: Heiko Schocher , Conor Dooley , Krzysztof Kozlowski , Krzysztof Kozlowski , Linus Walleij , Neil Armstrong , Rob Herring , devicetree@vger.kernel.org, linux-gpio@vger.kernel.org Subject: [PATCH v3 2/3] dt-bindings: pinctrl: sx150xq: allow gpio line naming Date: Tue, 5 Nov 2024 07:42:05 +0100 Message-Id: <20241105064206.43626-3-hs@denx.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20241105064206.43626-1-hs@denx.de> References: <20241105064206.43626-1-hs@denx.de> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Adding gpio-line-names property works fine for this device node, but dtb check drops warning: 'gpio-line-names' does not match any of the regexes: '-cfg$', 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/pinctrl/semtech,sx1501q.yaml# Allow to add property gpio-line-names for this devices. Signed-off-by: Heiko Schocher Reviewed-by: Krzysztof Kozlowski --- checkpatch shows WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?) 'gpio-line-names' does not match any of the regexes: '-cfg$', 'pinctrl-[0-9]+' Ignored, as it is a make output, which helps to understand the reason for adding this patch. Changes in v3: - worked in comments from Krzysztof gpio-line-names should match the actual number of gpios of the device. Changes in v2: patch dt-bindings: pinctrl: sx150xq: allow gpio line naming new in v2 .../bindings/pinctrl/semtech,sx1501q.yaml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/semtech,sx1501q.yaml b/Documentation/devicetree/bindings/pinctrl/semtech,sx1501q.yaml index 4214d7311f6b..39d7dad3313b 100644 --- a/Documentation/devicetree/bindings/pinctrl/semtech,sx1501q.yaml +++ b/Documentation/devicetree/bindings/pinctrl/semtech,sx1501q.yaml @@ -26,6 +26,10 @@ properties: reg: maxItems: 1 + gpio-line-names: + minItems: 5 + maxItems: 17 + interrupts: maxItems: 1 @@ -87,6 +91,45 @@ required: allOf: - $ref: pinctrl.yaml# + - if: + properties: + compatible: + contains: + enum: + - semtech,sx1501q + - semtech,sx1504q + - semtech,sx1507q + then: + properties: + gpio-line-names: + minItems: 5 + maxItems: 5 + - if: + properties: + compatible: + contains: + enum: + - semtech,sx1502q + - semtech,sx1505q + - semtech,sx1508q + then: + properties: + gpio-line-names: + minItems: 9 + maxItems: 9 + - if: + properties: + compatible: + contains: + enum: + - semtech,sx1503q + - semtech,sx1506q + - semtech,sx1509q + then: + properties: + gpio-line-names: + minItems: 17 + maxItems: 17 - if: not: properties: