From patchwork Tue Jul 27 11:02:31 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: 12402529 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 37836C4320A for ; Tue, 27 Jul 2021 11:05:12 +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 06868619E5 for ; Tue, 27 Jul 2021 11:05:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 06868619E5 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=tTroR0cLvCLKbhAwZCEX8ppjNDB0JG6ewavC9u/FYMI=; b=ngCt+GGWjcG1ve ZUc9N5hDl9BcqvzeGS1Vt6L2gJisoCVoJWC/I30US12m19kt982FXi/Jkc5ZKMrqCoLsb5CK2YfdI ndOuBg+c48q/72aLHxch2BF+3WVM24gotNh8zrR8uOrrwXRCxyAMQUICCsSQRCC7PTi+tPgKo9TfB QSzcuJNfWDnrk1aqLBAwgCx9P7DM9BR+OUkC2FT9VFbXQbqfipzvyyQRGzawGQL5s5wKzIRHrENk2 oiqwnWtQ73wDRtQf1OWCndwHn/lCRJ7Yjly9rvv3ylzZxBtQUfx6zdQZ9FQEHaLlmtwT1q0afvTJk dZhtK+lBskCH3uCN7NfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8KrV-00EXjF-MP; Tue, 27 Jul 2021 11:03:01 +0000 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8KrG-00EXfK-TA for linux-arm-kernel@lists.infradead.org; Tue, 27 Jul 2021 11:02:48 +0000 Received: by mail-pj1-x1032.google.com with SMTP id k4-20020a17090a5144b02901731c776526so3568111pjm.4 for ; Tue, 27 Jul 2021 04:02:46 -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=p6xuRUHpcGQs5eq1jKvwySsSmC2GFWn67Q0w7eS6EPs=; b=cUb/2cDKn+kDycoRMgKRvfqgevtzh0aEeaAL28/IMmmBDtC7mEGslXSomHPZYTBaOY 0MXBfR2wdJwdmuTBemay8bHU93O2YAkK+H70C05rg0XZ7nF1u+wNVxo5j0/V6xa/ba8Z OK2t0fjdO1FbSrwSeI6/1uIt1XEUJ2V4EVB4g= 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=p6xuRUHpcGQs5eq1jKvwySsSmC2GFWn67Q0w7eS6EPs=; b=Ed67mfWPAlB1QbY2D8/evjXejs1c7xF7IXsOy2fNeh7Lgwg5G7qZ//I/zWdOvlJHx2 e0zrbRuQlLLWt1e3tQHN2h8+pCmrhsh0C1BYrjJF1pJAOfEuQdosLQNeMyOo2XLvRqWr zgDFxpjZeV1Be8b0Xq42idbhR1JW/dHpvgjQp2cN/vswySska5kJ6A9x70s6m2aiM9PA IHwLlsg7c0cnn3x4GIDLv0D+9vMX7+Kz2uv/nRCd0+6SAMfEDnJhkvJG654y1TwPM1fp /aq7EPPHIepvHpelw48CuA0/fVgb7ITIaWqwPZ9JBgi+pAbBKY7qLc8883tZuo/++XnE lLnA== X-Gm-Message-State: AOAM533+E97GEWankyodsxpYI1IlTQYvJUfgJhXeTwMkPDDxjye7mNov WRWXZG6o2SpNbQOfOJxYfbPYDA== X-Google-Smtp-Source: ABdhPJykNwzx0rI8jjHQMeuyocw1gausM1uqd+GK6kNDets4ZJ7ARYHkxlBe8eY/0WNr0Q2ipWdfJA== X-Received: by 2002:a65:6555:: with SMTP id a21mr23204572pgw.53.1627383766137; Tue, 27 Jul 2021 04:02:46 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:5176:76cc:2193:9b8f]) by smtp.gmail.com with ESMTPSA id 33sm3553683pgs.59.2021.07.27.04.02.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jul 2021 04:02:45 -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 2/3] arm: dts: mt8183: Move pinfunc to include/dt-bindings/pinctrl Date: Tue, 27 Jul 2021 19:02:31 +0800 Message-Id: <20210727110232.2503763-2-hsinyi@chromium.org> X-Mailer: git-send-email 2.32.0.432.gabb21c7263-goog In-Reply-To: <20210727110232.2503763-1-hsinyi@chromium.org> References: <20210727110232.2503763-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210727_040246_976997_029E6984 X-CRM114-Status: GOOD ( 12.69 ) 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