From patchwork Thu Mar 9 14:35:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13167580 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82FAEC64EC4 for ; Thu, 9 Mar 2023 14:36:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231838AbjCIOg0 (ORCPT ); Thu, 9 Mar 2023 09:36:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231852AbjCIOgQ (ORCPT ); Thu, 9 Mar 2023 09:36:16 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EB77E7CBD for ; Thu, 9 Mar 2023 06:35:57 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id q16so2098644wrw.2 for ; Thu, 09 Mar 2023 06:35:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678372555; 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=q+4iTbADfgePV9IaoTlALLpKBSR+3BkgWEf0N/93c3w=; b=7CM+sRIZEZzZHkrIxKc366M1h5Bp0A5IcJ0WU99BayzAY5UWdoY1cTvthO6gNblPTc 3NwF22dW44TtSbHoOLIypIbOoVH911IwyHyzI3347fwMejquUSr+1euYiSaAz95Ilytt 2KrmeRD256vcOMb048vLEmUmmrukCGPTFfoIADSGe97tFQcz3Z6cO952FaUsZHCt5Qql MJS7MiVePN2Bi7Pgkt+L/TF9vhBnKszVquySGZ39RFu00+Zko8Vb3y8G3Qro03ase4vO fXm2OZ7pJPaXty9uoLrudlSkxXkJ510/E6Ns/dNjR2/wpTJKG1/HoRsa7eOZd0p5C1zy fwvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678372555; 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=q+4iTbADfgePV9IaoTlALLpKBSR+3BkgWEf0N/93c3w=; b=vngrQM3BiEtMsxG5XxADn+CH7ln1kC5zvCsd+vrILNG5Kv6pC8LGHjIdvvrUYfuu93 YkvdEWFcBtLLbtQswE7uKK2XMoqhspoSz2PrBsLBwrnObr3FwGnEjHCkAsF/v2ajGXUt g6y0XqdueQwCkuK++Leu+tm1SCIRdR96kxVAB8+U9vQogKPMoURJEKAap/0psyrojoEG HOTs93SgPEPt34C7K/FPnUzteR10mcJ69+vBgV11UAb12v6HfP91q/Rz9of13HxCXZRe 4qKJI48tZPC3k1MIbL/loUYT7DU+HtzkGJkahXtzN5Z0JdOcrCrlilIdIMDxJRvaApYo kxOg== X-Gm-Message-State: AO0yUKXfKVvA9ru3pBmCeui7nBuqGa44Sxr/s5pi/SMwit6zuoJHlLhz zcJTG1c55tG5XXcitBnRI1iYkg== X-Google-Smtp-Source: AK7set8TD20B/UbZ1W660L4jklnRY/yYpKoZpPIWINJlUCWfunBhlSJmLKW5EsblItl2FKnNYAjojg== X-Received: by 2002:adf:f982:0:b0:2cb:76d4:42ea with SMTP id f2-20020adff982000000b002cb76d442eamr13819987wrr.36.1678372555665; Thu, 09 Mar 2023 06:35:55 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f14c:2275:50fc:c056]) by smtp.gmail.com with ESMTPSA id z4-20020adfd0c4000000b002c5493a17efsm17871405wrh.25.2023.03.09.06.35.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:35:55 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 1/2] arm64: dts: sm8150: add the QUPv3 high-speed UART node Date: Thu, 9 Mar 2023 15:35:50 +0100 Message-Id: <20230309143551.200694-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230309143551.200694-1-brgl@bgdev.pl> References: <20230309143551.200694-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bartosz Golaszewski Add the high-speed UART node to the dtsi for sm8150. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 13e0ce828606..cd0351a33516 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1334,6 +1334,20 @@ spi9: spi@a84000 { status = "disabled"; }; + uart9: serial@a8c000 { + compatible = "qcom,geni-uart"; + reg = <0x0 0x00a84000 0x0 0x4000>; + reg-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart9_default>; + pinctrl-names = "default"; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + i2c10: i2c@a88000 { compatible = "qcom,geni-i2c"; reg = <0 0x00a88000 0 0x4000>; @@ -2425,6 +2439,13 @@ qup_spi9_default: qup-spi9-default-state { bias-disable; }; + qup_uart9_default: qup-uart9-default-state { + pins = "gpio41", "gpio42"; + function = "qup9"; + drive-strength = <2>; + bias-disable; + }; + qup_i2c10_default: qup-i2c10-default-state { pins = "gpio9", "gpio10"; function = "qup10"; From patchwork Thu Mar 9 14:35:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13167582 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8910FC74A44 for ; Thu, 9 Mar 2023 14:36:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231784AbjCIOg3 (ORCPT ); Thu, 9 Mar 2023 09:36:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231855AbjCIOgQ (ORCPT ); Thu, 9 Mar 2023 09:36:16 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40DD0E7CB1 for ; Thu, 9 Mar 2023 06:35:58 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id h11so2089413wrm.5 for ; Thu, 09 Mar 2023 06:35:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678372557; 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=OIUwTydrTXf3QJzGFWhJQL46gDK6VbddHZPZXYJYKXc=; b=y0B9Hcs1/biM3E+xqnr5Xq43Ns5x8o410wTyLFqn8G2jr6ebZkBGkyicTFXrDJXMz6 M62P5H+1yp5zpItWURpWV8uDMMBkH6uSYBKX1bcIQgCmQN5DfwNlzvgRxLziXO9R/3dr hKtETefzMba4ekCbKMwFS+hLVQhprOK7BV6R1b9P/8M5lk4XM3dme4LzgYX2U4Kuygwp 73uqQ7vFTqNM2cvHLETER3xvnGaPxYYHoljrhYMN7qgkB5D8lJAG6y+cIL+PkpDunqq3 +vHT5xp8rK2LbZusw7rLpT/KL91qL/PCSS7WEL/U5M5tpNmbVZSPt3cqtUB3hizlScAa P3wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678372557; 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=OIUwTydrTXf3QJzGFWhJQL46gDK6VbddHZPZXYJYKXc=; b=CNiVUyVk71C+FveE8MBKM18HpNmSQjLf27FPMk3dzqWqe0EHfx3NYB/pI6zNF+Anws ApeN8uxN1U36FRYWyuOnO7I/cfsqzSAdblT+tZfLIltTuxrNZB9ELtJZNneTHlam7dzy UkLxuGVPYbJxVB+O911rDh0oTQdW3rLa+oCDERTJpstN0GXPTJRqgFYykB/tjZ4BzbvH gevrQNPWyQWvW09gfourhmiy6tbW/jd1xS4C5govJI12H3RPw5RpBQkvawAzENDRbVHk pJ+PPniMWWE/IZMYOb+AuwSid9EwJyserWi4vYOxyvwzc105W96yeijFPfqECGvOizkA 8fig== X-Gm-Message-State: AO0yUKW37y4f5tbttz89RaM/oRvsr2wsD43UllfBgERCBOxKvjD49Bau 0/QyEXPU0Xk2pL0xP6ry6+HbWg== X-Google-Smtp-Source: AK7set+SHZrMpols1HtgI6MGWnyUNIzywIdMYQ+O2g1hg5ZYIomGJuwbIh/DpYAURNX8P/gINrp7aA== X-Received: by 2002:a05:6000:c3:b0:2c5:c4c9:515a with SMTP id q3-20020a05600000c300b002c5c4c9515amr13252782wrx.51.1678372556872; Thu, 09 Mar 2023 06:35:56 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f14c:2275:50fc:c056]) by smtp.gmail.com with ESMTPSA id z4-20020adfd0c4000000b002c5493a17efsm17871405wrh.25.2023.03.09.06.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:35:56 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 2/2] arm64: dts: qcom: sa8155p-adp: enable the GNSS high-speed UART Date: Thu, 9 Mar 2023 15:35:51 +0100 Message-Id: <20230309143551.200694-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230309143551.200694-1-brgl@bgdev.pl> References: <20230309143551.200694-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bartosz Golaszewski Enable the high-speed UART port that's connected to the GNSS controller on the board. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts index 459384ec8f23..339fea522509 100644 --- a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts +++ b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts @@ -17,6 +17,7 @@ / { aliases { serial0 = &uart2; + serial1 = &uart9; }; chosen { @@ -400,6 +401,10 @@ &uart2 { status = "okay"; }; +&uart9 { + status = "okay"; +}; + &ufs_mem_hc { status = "okay";