From patchwork Wed Aug 4 04:40:32 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: 491847 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=-19.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 CF4D3C4320E for ; Wed, 4 Aug 2021 04:40:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B44A96113B for ; Wed, 4 Aug 2021 04:40:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231767AbhHDEky (ORCPT ); Wed, 4 Aug 2021 00:40:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233471AbhHDEkx (ORCPT ); Wed, 4 Aug 2021 00:40:53 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C521C06179A for ; Tue, 3 Aug 2021 21:40:41 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id m10-20020a17090a34cab0290176b52c60ddso1830679pjf.4 for ; Tue, 03 Aug 2021 21:40:41 -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=UX/UnOCuyTy3v0EXWLKoH7U8OPmiSc7yDpkVnsooOzcdNs1JtQ8bqMip4c0QiCTz4J 3d17+yVN+tI+xJuUOin0E6/AhuuqqCwUpcvPim+x/pZ5zGNQHbK3mbWnNOEZGua1IVB3 hQVtMuMxAv9QD8xQ1hzQWJaNjmNO/QmmwzuqI= 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=uG4hoOmSTXQiZhgC0+AXgNgBmxUpyMjIuWR8rr5DukZCvqspTIksFG90GHMAooT3GI kBsmsgoPpzVx+CK3d4xp+PmagafcFtg1K+odlBoYNABj4Cu4n+M2en7OPI8kmwhdMkXg MmhxMEWBkzsWkSc0hVEk0XlpK/yo/OilM7lFFzXppBy6a87/1mkfQHn09SadX1iIqdHO Q4DVt4J3dvGY8vmE83TSG2QUBbqlFlVleif4thAS+CoQKjmRJUccRX+MeVU7YTYdsdnf r3TGIa+/YqYxVqpbWF6B3mC8B13D0ZR+TgQLfUCNKdf4FdQzUwVb351DGVK/hAD5H85a /u8g== X-Gm-Message-State: AOAM530pC2OvkUC7xiljDz/vdsLUfjb/IAYp3bHtkdruMWyKssmle8be qtkPfg4cUTkbvIDgNzM0NSq8sQ== X-Google-Smtp-Source: ABdhPJzu19nFqHAGY81WXc9rtIkcm7bpgnmaMZ5pk54JQzeoIfqI2plg+3Fu2VljFyZVRq6bHTRChg== X-Received: by 2002:a17:90a:e647:: with SMTP id ep7mr7909438pjb.145.1628052040736; Tue, 03 Aug 2021 21:40:40 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:6fea:f7c3:8233:dc51]) by smtp.gmail.com with ESMTPSA id t9sm1075355pgc.81.2021.08.03.21.40.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Aug 2021 21:40:40 -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 v4 2/3] arm: dts: mt8183: Move pinfunc to include/dt-bindings/pinctrl Date: Wed, 4 Aug 2021 12:40:32 +0800 Message-Id: <20210804044033.3047296-2-hsinyi@chromium.org> X-Mailer: git-send-email 2.32.0.554.ge1b32706d8-goog In-Reply-To: <20210804044033.3047296-1-hsinyi@chromium.org> References: <20210804044033.3047296-1-hsinyi@chromium.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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