Message ID | 20240229-pio4-pinctrl-yaml-v1-2-c4d8279c083f@microchip.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-86643-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp332119dyb; Thu, 29 Feb 2024 03:42:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUuLfHCaGipn4BIRihuF4xFL8oSueYNpU2eGQ6RTyXZvhUlSaZulAzkbhtsxgqYHaKJWU7WU1HZOlqQDkb+B/Wy1qboPg== X-Google-Smtp-Source: AGHT+IE/kYVhvJ9ok6Yn2XBQOyWK9rgw7zetxSDyAZuHzQBu8JFz6gOUhGp9EK9RQ8T3AeOQYZBI X-Received: by 2002:a17:906:f845:b0:a44:2634:abfe with SMTP id ks5-20020a170906f84500b00a442634abfemr1255434ejb.18.1709206968254; Thu, 29 Feb 2024 03:42:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709206968; cv=pass; d=google.com; s=arc-20160816; b=WHQj+ku7kRvCxRM4di0GAQi4/L1XbHy/IJTWZ06Q8aKsLHClzSIWObPQC8ySqS/m6p yhHqf8tnKSP9koFnT1x5MGdj86mrUPqoRHuhLC4bGUP9HDA3bGIu63d9IIIqH4eBn9UA PbELtD28EDnVrYT3aTufUxzl/6SfnOSmtUd79cfY91OM2xP4orJhVyM8Gswx7Lh+FXsB OCe9I79RfncjYaxKtNcTYLTHhY+7NTlrspkGKMvdnKgSrRG7Y4MWqXTGtK9T+hcLCaIh zILrVWLdl0kngwC5lBXynAU+f6s0wWsOblcshHFcfjEvwQTQ/EokYzERxZHl1wDMVdqS 4WFQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=4qSfcZfrSFajrVUbBrdvajH+wkSqCJxIBVbpHQKSz7Y=; fh=aCwmaRkx6C6CiKPbzjlx1NxeLmAOFbuKLHzIFpBJXhk=; b=l9zT+87t47lv4qyejp6uI1XTepwc2B447ekRhM/tmXup2cNQjBmYmqZBGiangNFl9s ja0lzZjr2/1YgnVcpErPX6nn2dae329jISfBcxsrZZ+XPz1UBJRdlnK2RP+PCXPZPlCC P6Q97VCIrlyRdMX8y9HKcgWwxUFrvjTYclBFh3eUTqxpZbzzQH2p06Z0REfLHk25V7MT AGqsQeqbOvUvKo7FxTGfCdHd2ga4nsVuIBuau+K5EYZEXPa9yui7XP8Ls5bwxGqFXVvw CXVJ66wI8deyDXVMcYz3Md9Rxys5F8wo1nk6OQxiY4DykMUzPqQWejBiaPxOpLH+yzNy yBNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ItMkn2Z6; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-86643-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86643-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id o5-20020a170906358500b00a43fd9b14f2si505605ejb.602.2024.02.29.03.42.48 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 03:42:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86643-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ItMkn2Z6; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-86643-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86643-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com 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 DB8371F22679 for <ouuuleilei@gmail.com>; Thu, 29 Feb 2024 11:42:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 59ADB7CF11; Thu, 29 Feb 2024 11:42:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="ItMkn2Z6" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (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 0713B7C0A1; Thu, 29 Feb 2024 11:42:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709206950; cv=none; b=IRpdJmQkz10c+LJsdy7vkH7WgtY5kKZH2riR9kk308KGJqqQmA2G0e8y1wcNchARTiTU6LgAKeqgSCQdcZ9tbu7nKo6dSvNTh/b4tyvoNsZUrdXeooB6567BSkdnpk81Oo8V9k9klTE/fsQ+exg0KTZduFU5cCc0CNA4Ta40paI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709206950; c=relaxed/simple; bh=ZbTUZ2sytbwY3/uZ8J7MOQaQg4/G+6K17RU1C1wYXmk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=UWyz916dsgxMukhdC8+khittfBj5aZgP4HW9dY4RkiFyTx+M2T4yNC7ld9ESeHzuRB/GozQc/YzQJH/PttdGv7C03Kk5QJsuVdPek9TFRYnrbmF1IW0gplqieNZpy4VSauKuVLpVcNoY8lRfAyc/ad03mIe93csZZbf/hgwLLsY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=ItMkn2Z6; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1709206948; x=1740742948; h=from:date:subject:mime-version:content-transfer-encoding: message-id:references:in-reply-to:to:cc; bh=ZbTUZ2sytbwY3/uZ8J7MOQaQg4/G+6K17RU1C1wYXmk=; b=ItMkn2Z61k7rurAtlUpWCHmZT7F/Pt5PxP+ATADR96SbTtw9LP6e9SBx GUrQ5DGhQ/gbjjxPvp6bz9oCNDA0R6ClQ3j3zogRfUrejej1eYVC4hhJJ NhOfIPybmDFT9WTdPKpScuU83ApZQ4PYXXcMJkX1q09qdOVzyDvobhk/4 YhudWlCr7wbls8L7mlhDE3pV/AatF4mDpLISuDvuRjBqjzaEQDaQmJNHF RmUIwFP3V7/uTIWgemW9mtb8Og7dvOQVuVxI2EY8mIPKE4DdhxtPpg8bS 4sRvMGRKzwCZuFbGMZE9pfFzo7FHnd7KjASqzC/OSbwr8dQ8TAgPSoO78 Q==; X-CSE-ConnectionGUID: KYf983/NSaCGRI0KPGLdxQ== X-CSE-MsgGUID: ZlDiA8fQTiSENQRO23TXRw== X-IronPort-AV: E=Sophos;i="6.06,194,1705388400"; d="scan'208";a="184277799" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 29 Feb 2024 04:42:21 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 29 Feb 2024 04:41:41 -0700 Received: from [127.0.1.1] (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 29 Feb 2024 04:41:37 -0700 From: Balakrishnan Sambath <balakrishnan.s@microchip.com> Date: Thu, 29 Feb 2024 17:09:31 +0530 Subject: [PATCH 2/3] ARM: dts: microchip: sama7g5: Move pinfunc.h headers 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 Message-ID: <20240229-pio4-pinctrl-yaml-v1-2-c4d8279c083f@microchip.com> References: <20240229-pio4-pinctrl-yaml-v1-0-c4d8279c083f@microchip.com> In-Reply-To: <20240229-pio4-pinctrl-yaml-v1-0-c4d8279c083f@microchip.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Nicolas Ferre <nicolas.ferre@microchip.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Claudiu Beznea <claudiu.beznea@tuxon.dev>, Linus Walleij <linus.walleij@linaro.org> CC: <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linux-gpio@vger.kernel.org>, "Balakrishnan Sambath" <balakrishnan.s@microchip.com> X-Mailer: b4 0.13.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792233405502697861 X-GMAIL-MSGID: 1792233405502697861 |
Series |
convert Atmel's PIO4 bindings to json-schema
|
|
Commit Message
Balakrishnan Sambath
Feb. 29, 2024, 11:39 a.m. UTC
Move sama7g5-pinfunc.h into include/dt-bindings/pinctrl so that we can
include it in yaml dt-binding examples.
Signed-off-by: Balakrishnan Sambath <balakrishnan.s@microchip.com>
---
arch/arm/boot/dts/microchip/at91-sama7g5ek.dts | 2 +-
.../dts/microchip => include/dt-bindings/pinctrl}/sama7g5-pinfunc.h | 0
2 files changed, 1 insertion(+), 1 deletion(-)
Comments
On 29/02/2024 12:39, Balakrishnan Sambath wrote: > Move sama7g5-pinfunc.h into include/dt-bindings/pinctrl so that we can > include it in yaml dt-binding examples. > Nope, that's not a reason to make a binding. Provide rationale why this is supposed to be a binding. Best regards, Krzysztof
diff --git a/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts b/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts index 217e9b96c61e..a92c37e57aaf 100644 --- a/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts @@ -9,7 +9,7 @@ * */ /dts-v1/; -#include "sama7g5-pinfunc.h" +#include <dt-bindings/pinctrl/sama7g5-pinfunc.h> #include "sama7g5.dtsi" #include <dt-bindings/mfd/atmel-flexcom.h> #include <dt-bindings/input/input.h> diff --git a/arch/arm/boot/dts/microchip/sama7g5-pinfunc.h b/include/dt-bindings/pinctrl/sama7g5-pinfunc.h similarity index 100% rename from arch/arm/boot/dts/microchip/sama7g5-pinfunc.h rename to include/dt-bindings/pinctrl/sama7g5-pinfunc.h