Message ID | 20230308104009.260451-9-brgl@bgdev.pl |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp263873wrd; Wed, 8 Mar 2023 03:04:36 -0800 (PST) X-Google-Smtp-Source: AK7set+0RPUjCCdFISnoDVQLetaI8K+ReUwrWlUFjdTi30cDF9e7yhbXalilW9xkV0bubfuXt3dt X-Received: by 2002:a05:6a20:441d:b0:ce:2fb4:5fc4 with SMTP id ce29-20020a056a20441d00b000ce2fb45fc4mr20949615pzb.38.1678273476085; Wed, 08 Mar 2023 03:04:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678273476; cv=none; d=google.com; s=arc-20160816; b=KvZd8HWyRonQYzTt003PO9KPqCdI5jw8Zzk0gsHIsP75vmx1NShqyqQt1tktxoJlR4 mR/666hpjy9d1mebga1LXvjCRmDepWkY1SaWPvkDVdNvSzmGMIbeBG4N89RQrxYW5Xhf 7g2vT5bb+7vh+o1G8aC65kCuv5P8MjjTA4mugyK2K+m0d+CJjBk/prIvWLIUj1btEEjB vbUiPZ6Lt+YIDR1IpYBKDFLc/5z3oUgUKc0x9kP3dIrM1IVz0B/uvNTflXXDqnFkkpLU khsBkLnyqik8Ns0VK2C1RpCRUzJvtwE/LnqYysmHrpacPpCQRRKpuQMA//jRmcUM/Rhr wC5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=38POzCQRXbyYZW4IlxaDC4+cp8JTJlsDSxILe4G3dTg=; b=oM7RuObkpZcjCzlsW0gVt3azk2ieqY1ciRqm+jjRiYLzKsriioRUeACIDgJiR1K2Uh KPuY7MusxWVWlB3/++HZGqDo5QxWIY6Fow1RNPjO38SHtAge+XtKIeeb6Arzl0suXgzY QG3hJQxFMkxAeuK9uN1q1p2gCOA9NGVACWgSwcbNk+JtBnxvmf4Y/G9h2c+pzOhdZUwU oS/fgEB84U5n9RpZk7tEV3ZFsgnlmBE8e0+2zF+obVz8Y0Hx9CDHRzqqv4Nc8FfEPmLG Y2X9jpp5EXTHDH/6KWqlskzJIq+KgOhDYFOgPuJlqNpppDhr3A6+2dqBy/DS77FtTJT0 zIhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=4TyjJNH1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s82-20020a632c55000000b004fbbc2aff35si14563415pgs.596.2023.03.08.03.04.22; Wed, 08 Mar 2023 03:04:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=4TyjJNH1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231268AbjCHKkv (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Wed, 8 Mar 2023 05:40:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231191AbjCHKkY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 8 Mar 2023 05:40:24 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDFDB9FE60 for <linux-kernel@vger.kernel.org>; Wed, 8 Mar 2023 02:40:22 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id az36so9514916wmb.1 for <linux-kernel@vger.kernel.org>; Wed, 08 Mar 2023 02:40:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678272021; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=38POzCQRXbyYZW4IlxaDC4+cp8JTJlsDSxILe4G3dTg=; b=4TyjJNH1V311c7SUBgd5SkwObW8WR5bD/BPRUAie5mpuowKNbE1KgXVw5YfCtmiSHa Cg4+eJ7ZZS0FlDh2jm+UyEVTiSiVR/tUSUJcARX+JKyCXNHiNrygscV05WTiJAiUsQR7 myqdGwYDTFit2x6wHYMVVALdNPla72Y5b+JL38xQt5E+eLIDp0bcXvd9EizNfOinwHD2 /tr+cVcFUQl+iHQUtwhKLyUik8L33g8Ql7RPKBMZ5eHaYvljWgoG3FgyR5Tiq2nmo0hx ssEGzu7YRrTd7UToDYRy7wkeEE/+trn7JKjAH8/zufIYw83rrn3dd+UUqWSdSgJGm2un Sdkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678272021; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=38POzCQRXbyYZW4IlxaDC4+cp8JTJlsDSxILe4G3dTg=; b=3uV/8cDOpOSrO/jzb5iVvTJXc15D53Ax7+bSgODpKASvWBKOl86J0XaJ5Tk5X+uuAB U1eVCY/4o1m8DUsBQ7DTzqjqPgcHD6PEQOdnoxJP9yucQpfuSLW0BNRFU0N128H6DXZA Vy0AzuddkUH0hNgbArhj5OR8XJ3X0A+wBHw1gkffZZU96fSgl390vLgYIvnCpCrqxMYZ dsVphn59A58mj+GPw75AyOS6jj8AXRgZboTPU6Vje2bxEuPUjcv2+/6yndGFDogYkmUr +MrA4lenWbdAJrOaY9bSu+GC/RI+Op4cnE5Y4nHiPNbNiw7kSrvBdLu5Xr/V/qchaWSS dZxg== X-Gm-Message-State: AO0yUKXq56QP2Wu0dazI+M7n9dAI+au1Xij/6XglkORQqGKWGhcgXekI iZUFvWq9KbSQRDzHbxLgWg4KcA== X-Received: by 2002:a05:600c:1d01:b0:3eb:38e6:f65d with SMTP id l1-20020a05600c1d0100b003eb38e6f65dmr15465346wms.11.1678272021458; Wed, 08 Mar 2023 02:40:21 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:2326:fd4c:82e3:7e07]) by smtp.gmail.com with ESMTPSA id v7-20020a05600c444700b003eb0d6f48f3sm20664135wmn.27.2023.03.08.02.40.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 02:40:21 -0800 (PST) From: Bartosz Golaszewski <brgl@bgdev.pl> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Subject: [PATCH v4 8/9] arm64: dts: qcom: sa8775p-ride: enable the GNSS UART port Date: Wed, 8 Mar 2023 11:40:08 +0100 Message-Id: <20230308104009.260451-9-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230308104009.260451-1-brgl@bgdev.pl> References: <20230308104009.260451-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759797288085085439?= X-GMAIL-MSGID: =?utf-8?q?1759797288085085439?= |
Series |
arm64: dts: qcom: sa8775p-ride: enable relevant QUPv3 IPs
|
|
Commit Message
Bartosz Golaszewski
March 8, 2023, 10:40 a.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Enable the high-speed UART port connected to the GNSS controller on the sa8775p-adp development board. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> --- arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+)
Comments
On 8.03.2023 11:40, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > > Enable the high-speed UART port connected to the GNSS controller on the > sa8775p-adp development board. > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 33 +++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > index d01ca3a9ee37..cba7c8116141 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > @@ -13,6 +13,7 @@ / { > > aliases { > serial0 = &uart10; > + serial1 = &uart12; > i2c18 = &i2c18; > spi16 = &spi16; > }; > @@ -66,6 +67,32 @@ qup_i2c18_default: qup-i2c18-state { > drive-strength = <2>; > bias-pull-up; > }; > + > + qup_uart12_default: qup-uart12-state { > + qup_uart12_cts: qup-uart12-cts-pins { > + pins = "gpio52"; > + function = "qup1_se5"; > + bias-disable; > + }; > + > + qup_uart12_rts: qup-uart12-rts-pins { > + pins = "gpio53"; > + function = "qup1_se5"; > + bias-pull-down; > + }; > + > + qup_uart12_tx: qup-uart12-tx-pins { > + pins = "gpio54"; > + function = "qup1_se5"; > + bias-pull-up; > + }; > + > + qup_uart12_rx: qup-uart12-rx-pins { > + pins = "gpio55"; > + function = "qup1_se5"; > + bias-pull-down; > + }; > + }; > }; > > &uart10 { > @@ -75,6 +102,12 @@ &uart10 { > status = "okay"; > }; > > +&uart12 { > + pinctrl-0 = <&qup_uart12_default>; > + pinctrl-names = "default"; > + status = "okay"; > +}; > + > &xo_board_clk { > clock-frequency = <38400000>; > };
diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts index d01ca3a9ee37..cba7c8116141 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts @@ -13,6 +13,7 @@ / { aliases { serial0 = &uart10; + serial1 = &uart12; i2c18 = &i2c18; spi16 = &spi16; }; @@ -66,6 +67,32 @@ qup_i2c18_default: qup-i2c18-state { drive-strength = <2>; bias-pull-up; }; + + qup_uart12_default: qup-uart12-state { + qup_uart12_cts: qup-uart12-cts-pins { + pins = "gpio52"; + function = "qup1_se5"; + bias-disable; + }; + + qup_uart12_rts: qup-uart12-rts-pins { + pins = "gpio53"; + function = "qup1_se5"; + bias-pull-down; + }; + + qup_uart12_tx: qup-uart12-tx-pins { + pins = "gpio54"; + function = "qup1_se5"; + bias-pull-up; + }; + + qup_uart12_rx: qup-uart12-rx-pins { + pins = "gpio55"; + function = "qup1_se5"; + bias-pull-down; + }; + }; }; &uart10 { @@ -75,6 +102,12 @@ &uart10 { status = "okay"; }; +&uart12 { + pinctrl-0 = <&qup_uart12_default>; + pinctrl-names = "default"; + status = "okay"; +}; + &xo_board_clk { clock-frequency = <38400000>; };