From patchwork Tue Aug 3 05:13:17 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: 12415399 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,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 96D8EC4338F for ; Tue, 3 Aug 2021 05:15:48 +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 5DE5B60EC0 for ; Tue, 3 Aug 2021 05:15:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5DE5B60EC0 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:References:In-Reply-To: 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: List-Owner; bh=TfHDMXZTVtgP274BfWT7KRbBgxhrXxAHxntARbevspE=; b=3nV/W7rdRZ7wVg 9oiC7ZNxkyuELpkn0CXykhQKtxb7qlQEGznxK5msAe5ZxWaY7B15w1i9wgC56Lbtc/hP7USIHE5rz jdf8f9WKFiGpVR4j4k5sGYcop1VC1QzBr5C/hhqR7GrpREBtuyADPfxwYM+m+DM1FMJNxokZtxu4q 6HZgdrmByWUiUK4zU7b5V1t05+y/jx/jZhqhKVGFJx8g4UrDY3BmOFBwDL9B/zXqnjvXYhypTt1ee +ZYhTTq/WZJD4SO6WJvdhrFcgthwsZcoG4hVunsnsIZRFYzkQ55l6Utg7ToVjFTvYi6kX9r5TQQHa d8ARg9mz0L2CnH+DdOXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAmkg-0019R7-2I; Tue, 03 Aug 2021 05:14:06 +0000 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAmkI-0019Fn-TW for linux-arm-kernel@lists.infradead.org; Tue, 03 Aug 2021 05:13:44 +0000 Received: by mail-pj1-x1031.google.com with SMTP id u13-20020a17090abb0db0290177e1d9b3f7so2250409pjr.1 for ; Mon, 02 Aug 2021 22:13:33 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=A/eExhXdIB0K8jv2+SmtKO1+FtOUyPYgVYzl6RJq3V8=; b=UTBe3IQVAlVhEdWXsxUvzz2ICfA2z/fzXCB4Q5r+4bdnmj6mJoVLFsQE2GZqliTgUA 6raQ3ESffrnA6PFRdfN9nUwhzoiQlNbnvPQiGYKlHIzsoIpQEPi75Jq8wDIYDUI9+cBk ZSD5pN7WfoHn2au99FIOdL6aoYbAxI8arJ3dg= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=A/eExhXdIB0K8jv2+SmtKO1+FtOUyPYgVYzl6RJq3V8=; b=e3IuqrjBklVNB1uEqRtHdXxfxPFDmOkDukjsW9Bsb61XLmAsBhsywU2Rx8+JoT6bqn 6Bg1m2bn2No6/8cxjUbuBPnnb+09sl2x9wa6PBVVNT29hYqIlcZXzRMuRv4vrK74JWzh 4XHWpu42Tym6Tq+QoD0HIeIgKtD1H9Uwc6nDe4Ep0HsDh8Kr0rMBhM06zYkJzm9t8BCb GusWDDhz+yOL4+4ZnnHPV95xAnHZpDyFfkdJ+s5/4xQOUBuoTuh79mo7HGIQQM2NOvi1 YLkDxPLkDN15kdNoddxmSdO1sPW8FC4hvf9tS5h6aRob+tbEjLAVMvwVI30PPEvBou1J hlcw== X-Gm-Message-State: AOAM530pqKryMOLlFDQjXUFUGa+7qC/65qRZs0KkfKhVe0CFt/rHopaH gbI1Oi83J6BqyF4J/SPpvtuqOA== X-Google-Smtp-Source: ABdhPJzQt8TWRZsHH1uJM4CJVQw+lKk4RiXB/VDw+tt52D8vL7+IRXvqOexSWAwzK6UWFlXEaBzIUg== X-Received: by 2002:a63:4e51:: with SMTP id o17mr949944pgl.126.1627967613386; Mon, 02 Aug 2021 22:13:33 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:c800:1b1d:5677:31a7]) by smtp.gmail.com with ESMTPSA id x25sm115732pfq.28.2021.08.02.22.13.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Aug 2021 22:13:33 -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 v3 2/3] arm: dts: mt8183: Move pinfunc to include/dt-bindings/pinctrl Date: Tue, 3 Aug 2021 13:13:17 +0800 Message-Id: <20210803051318.2570994-2-hsinyi@chromium.org> X-Mailer: git-send-email 2.32.0.554.ge1b32706d8-goog In-Reply-To: <20210803051318.2570994-1-hsinyi@chromium.org> References: <20210803051318.2570994-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210802_221342_978803_8F36D443 X-CRM114-Status: GOOD ( 13.01 ) 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 mt8183-pinfunc.h into include/dt-bindings/pinctrl so that we can include it in yaml examples. Signed-off-by: Hsin-Yi Wang --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 2 +- .../mediatek => include/dt-bindings/pinctrl}/mt8183-pinfunc.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {arch/arm64/boot/dts/mediatek => include/dt-bindings/pinctrl}/mt8183-pinfunc.h (100%) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index f90df6439c088..1933045da95de 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -14,7 +14,7 @@ #include #include #include -#include "mt8183-pinfunc.h" +#include / { compatible = "mediatek,mt8183"; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pinfunc.h b/include/dt-bindings/pinctrl/mt8183-pinfunc.h similarity index 100% rename from arch/arm64/boot/dts/mediatek/mt8183-pinfunc.h rename to include/dt-bindings/pinctrl/mt8183-pinfunc.h