From patchwork Fri Jul 30 12:09:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 12411165 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 177E7C4338F for ; Fri, 30 Jul 2021 12:12:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DC6E160BD3 for ; Fri, 30 Jul 2021 12:12:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DC6E160BD3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=q+fnwSbzdRUBHpfo7TFolm/VyrqqAcrMi2YkABDdAg4=; b=2bmAbI/idqUqCy 3APnF0YdHAsNNefjCI7o5HrrElXHYYxv6R03TQp6I7joRgzxXm7zZM5XDBCBupditKXgqEGhArfvf xWJ/X/NoYbyb8oe627TCdg36KBDnj6O7oGA+zOwnD0rqBAloZxYQqxdRQatcqKMzKlMZ5vmILuEIc fEkvSMOwlCAD+ade14tDcVhpXRr0zlgfCZCGUtRBbOmiYdXAWWY3nwPGleCS5lWhzxgwme+vgii4J PtTX4Z7pbj38YokeSHUKc+7S0z96HEZ6+4yeZvnXZetvnNHsjc4wuLw6BwW0byOBmINXjj8QpyZi/ vNvG4SRSg0jwbBriQNBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9RKp-008VXa-35; Fri, 30 Jul 2021 12:09:51 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9RKk-008VVe-TL for linux-arm-kernel@lists.infradead.org; Fri, 30 Jul 2021 12:09:48 +0000 Received: by mail-pl1-x62f.google.com with SMTP id t3so8727754plg.9 for ; Fri, 30 Jul 2021 05:09:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9jhmmW00U1t6nu8Et2gPe9VWIRq7R6Jr8Ar5v9ZMFtg=; b=VgT+e2A0IF77HhCmq2v6gbviN4IFKA14+DyHg8G0xXNc0t531MsdMsNgKTJhiUViYc ggx33OQt6gRHAzv/ahTT5A6vhoFV36OjYD4WTGda6NKOqY8jeXrwa6D+n3QeM+2d9vxi aKgXY76W0OMXpUKyeu4ztuhnxxFUYijR1+F6g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9jhmmW00U1t6nu8Et2gPe9VWIRq7R6Jr8Ar5v9ZMFtg=; b=VJae6BoYHAAhSoUbKYzZg7S+BNCn4ugChObr92NSnFsS4Xgs9mHdjwXiksKnfcoJhP siZi5Rts67GQF76dQ0VMKEm8hOCXDVKgdVB4nGR+fjQEYGl+Mx8P3CGX/y6LPrNE5eXT XSH5gQB5IxntXrG5yZ0JRD1XemAS9Ztiwtz17AposTwc9m5oxqVUtV+3ORixqnVElm+E 6lpoqPPKwCWYTcJVv/r6vA8fu1Ev0UxBVijrrfKcf8cXBQlB39ZP1SqM+yw20piO14le xeC5cTXlf5IBHkJP3hG+mnEP5j4fPOH0Q6ZcM0J+tCqQEG8/aeBR6F7/UZe4XZBHFjFV xK0Q== X-Gm-Message-State: AOAM5335jMHMXnQ4o9+iKrjxVhXYfFsj/gOTE0RvZfwFiPWtxBB7hcE8 FfO/X/Z58CFIYTVOumj52yAB8g== X-Google-Smtp-Source: ABdhPJyUiLCxqCC6f1d5CYwKUP8Qk7BYcm75N+d9XbtZsZfdM08Fxck+IkBKHdeny9OLqapp+4YTTQ== X-Received: by 2002:a62:8f0b:0:b029:356:ba53:a041 with SMTP id n11-20020a628f0b0000b0290356ba53a041mr2443083pfd.10.1627646985133; Fri, 30 Jul 2021 05:09:45 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:c144:3a3e:e06f:59]) by smtp.gmail.com with ESMTPSA id a9sm2182071pjs.32.2021.07.30.05.09.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jul 2021 05:09:44 -0700 (PDT) From: Hsin-Yi Wang To: Rob Herring Cc: Linus Walleij , Enric Balletbo Serra , Matthias Brugger , Sean Wang , Andy Teng , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] arm: dts: mt8135: Move pinfunc to include/dt-bindings/pinctrl Date: Fri, 30 Jul 2021 20:09:35 +0800 Message-Id: <20210730120937.1435204-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.32.0.554.ge1b32706d8-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210730_050947_000563_475FFE89 X-CRM114-Status: GOOD ( 11.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Move mt8135-pinfunc.h into include/dt-bindings/pinctrl so that we can include it in yaml examples. Signed-off-by: Hsin-Yi Wang --- arch/arm/boot/dts/mt8135.dtsi | 2 +- .../boot/dts => include/dt-bindings/pinctrl}/mt8135-pinfunc.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {arch/arm/boot/dts => include/dt-bindings/pinctrl}/mt8135-pinfunc.h (100%) diff --git a/arch/arm/boot/dts/mt8135.dtsi b/arch/arm/boot/dts/mt8135.dtsi index 0e4e835026db0..a031b36363187 100644 --- a/arch/arm/boot/dts/mt8135.dtsi +++ b/arch/arm/boot/dts/mt8135.dtsi @@ -9,7 +9,7 @@ #include #include #include -#include "mt8135-pinfunc.h" +#include / { #address-cells = <2>; diff --git a/arch/arm/boot/dts/mt8135-pinfunc.h b/include/dt-bindings/pinctrl/mt8135-pinfunc.h similarity index 100% rename from arch/arm/boot/dts/mt8135-pinfunc.h rename to include/dt-bindings/pinctrl/mt8135-pinfunc.h