From patchwork Wed Nov 7 17:48:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10672797 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7314013AD for ; Wed, 7 Nov 2018 17:50:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 638442CB70 for ; Wed, 7 Nov 2018 17:50:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 57BBE2CCEF; Wed, 7 Nov 2018 17:50:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0AC872CBF0 for ; Wed, 7 Nov 2018 17:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=sXSToPOhaWj3TB97nCJhzuiYE3NfWHpKWMnYJ1f6m34=; b=rBem4jNkq6oReMEdegc7xqPBoG ccz8wXMtxGihxy7zzTLJUvq4snDe2oFEM0fQLz3QbWcpnx2rGHNlF3WXupMAXoBw/+TS8Fjgs8m/s ogFQgfvZBgHtrOk8AGmvvuJsCVN35WUvsjGsyiH+sbKcTUZqR+A8i7teFoMc2Kojjuwa1UBpeVIFA nk9eZqK/KIp8BimhWFblTE4lkr4FPKsJMkb9lZzBS/DMwHSsZYEtorZymCWDmuFDvF4RFOBLRUcrA OjJVz19HKPAShT/bbttbgNdv7PPkJ4NeTABTr3+WE0I05RcwIK5w5ccpwLkY9Jfxpm3HRiyRcI/oV HulcOYew==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKRyJ-00077b-Du; Wed, 07 Nov 2018 17:50:31 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKRxH-0004il-Nx for linux-mediatek@lists.infradead.org; Wed, 07 Nov 2018 17:49:29 +0000 Received: by mail-pf1-x441.google.com with SMTP id y18-v6so5615300pfn.1 for ; Wed, 07 Nov 2018 09:49:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=v+EkBGJYgP5l8roNkAIcHxwpqxLvNbg8+WmAulqw8rE=; b=VwwAthh0B85ajA9GkQEvFwNHX72Ayd9FtzHG+fDvqnViLraYeRrrsynDx7f/L1s4hr rBi755aMl/HGQsuKBfw8SxOQIIcpoGhjNvwDXjnpumE1JLpY5vGmhqQBFxjFskFWApjb bp3NhxA2PaROm+FgrP+2/C5oecq1KR46uJNiA= 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; bh=v+EkBGJYgP5l8roNkAIcHxwpqxLvNbg8+WmAulqw8rE=; b=ZKoWWM5jeDwsAnUVNmMKZeEQxslcU8ScavwJOs9q9qQ4H5fy0whdpezqRF/DMuht0r NNZD1Tzs+yKKQP8xyfjx6lsvRnAxgmM/OP+HJge6R7wdco4kZ2qE8J1xrLAqMBfi5SlS aKffqGqBGKISECvcwpPKY8LOVPKj5XH7K4zCVJ15Sh6hybuQknWaXXrWya+4GaZwGKxw mbbdlVQ00vOqh0X5fpKBtpAot85YTOBAJroxEXw3iFr7lLnE9/e6SFyc+5gFnHctxWBH SFYEsBqwPdIIepZIk1k2CrNuAZd2N5apyh8jGtIFh9NFiJpU6Oy/z/qqHNQL2QShNjZ7 cYIw== X-Gm-Message-State: AGRZ1gLjIAK9Oh5FGzuclxYpxq+kF5gby6S38VcpGw0CQlgYVjxOplU3 yMtaOw46GArqOo0FORFR+r+C X-Google-Smtp-Source: AJdET5deKLsNwFLmsO1x4UcMK+2eE2AiapEiuBaX1NvQrGmHGUqBRHsz9goW3XLiev8vpCnJBt6H5g== X-Received: by 2002:a63:4d66:: with SMTP id n38mr984121pgl.270.1541612956699; Wed, 07 Nov 2018 09:49:16 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6282:6ca8:a0d9:6a81:97fe:992e]) by smtp.gmail.com with ESMTPSA id e70-v6sm1232645pfb.113.2018.11.07.09.49.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Nov 2018 09:49:16 -0800 (PST) From: Manivannan Sadhasivam To: sean.wang@kernel.org, linus.walleij@linaro.org, matthias.bgg@gmail.com, robh+dt@kernel.org Subject: [PATCH v3 3/4] arm64: dts: mediatek: x20: Add pinmux support for UART1 Date: Wed, 7 Nov 2018 23:18:43 +0530 Message-Id: <20181107174844.5381-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181107174844.5381-1-manivannan.sadhasivam@linaro.org> References: <20181107174844.5381-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181107_094927_784890_3C41D1D7 X-CRM114-Status: GOOD ( 10.16 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, linux-gpio@vger.kernel.org, linux-mediatek@lists.infradead.org, Manivannan Sadhasivam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add pinmux support for UART1 on MediatekX20 Development board based on Mediatek MT6797 SoC. Signed-off-by: Manivannan Sadhasivam Acked-by: Linus Walleij --- arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts | 2 ++ arch/arm64/boot/dts/mediatek/mt6797.dtsi | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts b/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts index 742938a1a548..13939d55b85b 100644 --- a/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts +++ b/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts @@ -30,4 +30,6 @@ &uart1 { status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins_a>; }; diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi index 231230d32d09..a64bb84bdec3 100644 --- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi @@ -141,6 +141,13 @@ "iocfgr", "iocfgt"; gpio-controller; #gpio-cells = <2>; + + uart1_pins_a: uart1 { + pins1 { + pinmux = , + ; + }; + }; }; scpsys: scpsys@10006000 {