From patchwork Thu Mar 9 10:37:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66760 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp216608wrd; Thu, 9 Mar 2023 02:44:02 -0800 (PST) X-Google-Smtp-Source: AK7set/Sejv54l2PruiYQyP4N+PEFTuWhYJr9kiGZA6FUAc0OICOGRDphNHLdWx/kDcZUoUt11yo X-Received: by 2002:a05:6a20:7f85:b0:cb:c276:5898 with SMTP id d5-20020a056a207f8500b000cbc2765898mr24074161pzj.0.1678358641989; Thu, 09 Mar 2023 02:44:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678358641; cv=none; d=google.com; s=arc-20160816; b=0p8ZtkV5Dp8dLWuC6AZFHWvIdPXk4JABIKdEQWPb3mXniQ8cPrtzOSUhmq3ctDCfEJ OH3rTPbja0xCHxv8McTWZ1CjyQghrLqoeFH3ggFijsqaQxzh55ex3n7eMGuZiEA+Y+mu CgkxsmKpEKxbgRpsBy9QR53yf3Yu5PVLCoJncQGMnwj/GaqphLYGBGF8UtCcN53NqFL9 tkImXeUNeVYpyVT5p7wB+VjYjT1avFr2pN58SgOxUnyseSDxJvWPgFfVF+NoaIhLeRsW 4pKu1lSwPIyC9zijaN6ysnCfF1OvSr8k05dTjRTvADiF45GW6ihnXtuSqDfCksYnDemM D4ZA== 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=w0O6KLG4AD6cU6QR8jdZ8943aOzJAUAKXP/tQx0/IXw=; b=YvR8kmcC6lgiTZ+ocq/61/tOCN/N1L7+DAukbJRb3XDdG2Ein8eeSGCH+386IBTWIE nQD4n1z1Dy9iv0NbfYyggIkKGB4Gzz0Lk//i3Giz2l7+X4574vJgfXjIvekAVXh6troT oWgP2hE8M6Rd8FfAPHLcMUrg2T8if1etkHAFlTKxXHKDvdOWNK9/IZ8DIOqZp3VvlJYa QpohYTvbSK9F2PNZXHlsmmGBUx/QjuBiZ5CYA0lEFXpALINjrhqqKkZSQS0WTZk92Dqh YVCowKQ3TFNNjcX+TO0d82NGY0q4kaTWUUacNLvUFB3Htd5CkpGZsfr5xCQRv92X590X M5ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=MLj4MA+M; 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 t186-20020a6381c3000000b00502f4fd0c16si17803143pgd.653.2023.03.09.02.43.49; Thu, 09 Mar 2023 02:44:01 -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=MLj4MA+M; 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 S231221AbjCIKiI (ORCPT + 99 others); Thu, 9 Mar 2023 05:38:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230394AbjCIKiB (ORCPT ); Thu, 9 Mar 2023 05:38:01 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58C125FC3 for ; Thu, 9 Mar 2023 02:37:58 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id m25-20020a7bcb99000000b003e7842b75f2so887214wmi.3 for ; Thu, 09 Mar 2023 02:37:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678358277; 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=w0O6KLG4AD6cU6QR8jdZ8943aOzJAUAKXP/tQx0/IXw=; b=MLj4MA+MwLBpY4FzxYXotzt1+CkD8LOaFWmjaO489j9Zq4NNFvTNXFwEsJYojZ515G bDHvmK0VDNhe8eiocgv6sJEDZyCJRLdVC638hdBnpZwYDvv7XlhJQ1gHRX6cvON+SFiS kh6JjiKyXvMxVSDOpOtHS61qKpNYHjBMMgKqCbzHUCAVvCtLqNuQV8UhQBdHzxIllivY 0xIdbVOnbaMYkAiLDx8d+oS4BlukH1hy4cjI/3O5nd7s4cg6LtgYlA+M54UUDPLeCY4Y L+a9exzIUXvpXiwZ83zy1vD45FODCWdxbV/NYU12QiZCUtYHO2cNxp+YPmZ8rhYgmFs2 IJ7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678358277; 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=w0O6KLG4AD6cU6QR8jdZ8943aOzJAUAKXP/tQx0/IXw=; b=ob5hWIwd57uvoRwdm+Hfpb7Cf5FZ1APJgLJZMTUBKIvIlyJWCW4T8lS5OlAhis4Rh3 EIPz3ALSrsedsrbq8tk3YMUwzUXu5LSMmM+uAOME8Cgr/TjwwOgO2UZghuuwQcncIYL/ ZgteZ6MI/2dhNzaU4falXnpiMWMPDRAvSYS4Q0/9YrvbkdJ5ZganS/Hd9f/o5d3ie7IR Ik9aPCNKtqf9kUB7PCbVRzcMmlASwZd40kFO8C71TeVNOwR3y3zqgC1f+SQCEfym2c7n Qh9B8E5VMRF0GoIn9KOh82bvzLVwvL0U2kM9IRbcWyeIlXPqirhKpbMHDMdHGm2tWWmI DIoQ== X-Gm-Message-State: AO0yUKXiqAHSw9dvUCdBFAfpRUv6Ns7gLUejNdZmCWW4t8/xjtNRZ/RY exgznv63grBQ/2Kz1XR3Nxl04oGMWJP3IWL/1ZA= X-Received: by 2002:a05:600c:35d2:b0:3e2:1e01:803a with SMTP id r18-20020a05600c35d200b003e21e01803amr4505099wmq.9.1678358276815; Thu, 09 Mar 2023 02:37:56 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f14c:2275:50fc:c056]) by smtp.gmail.com with ESMTPSA id f2-20020a5d58e2000000b002c56af32e8csm17638119wrd.35.2023.03.09.02.37.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 02:37: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 v5 1/9] arm64: dts: qcom: sa8775p: add the QUPv3 #2 node Date: Thu, 9 Mar 2023 11:37:44 +0100 Message-Id: <20230309103752.173541-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230309103752.173541-1-brgl@bgdev.pl> References: <20230309103752.173541-1-brgl@bgdev.pl> MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759886591230131017?= X-GMAIL-MSGID: =?utf-8?q?1759886591230131017?= From: Bartosz Golaszewski Add the second instance of the QUPv3 engine to the sa8775p.dtsi. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index 565c1376073e..9e30c1e3e66a 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -491,6 +491,19 @@ &clk_virt SLAVE_QUP_CORE_1 0>, }; }; + qupv3_id_2: geniqup@8c0000 { + compatible = "qcom,geni-se-qup"; + reg = <0x0 0x008c0000 0x0 0x6000>; + ranges; + clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>, + <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>; + clock-names = "m-ahb", "s-ahb"; + iommus = <&apps_smmu 0x5a3 0x0>; + #address-cells = <2>; + #size-cells = <2>; + status = "disabled"; + }; + intc: interrupt-controller@17a00000 { compatible = "arm,gic-v3"; reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */ From patchwork Thu Mar 9 10:37:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66761 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp216646wrd; Thu, 9 Mar 2023 02:44:09 -0800 (PST) X-Google-Smtp-Source: AK7set86ogvLi/EvXr3jFDRrERt/9YaXUO/BJsN4RwhMy1Y2Ml9tGg0H2UBKbEs17/L9X9Du8DdD X-Received: by 2002:a05:6a20:c105:b0:cc:47ae:18dd with SMTP id bh5-20020a056a20c10500b000cc47ae18ddmr17784385pzb.42.1678358649239; Thu, 09 Mar 2023 02:44:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678358649; cv=none; d=google.com; s=arc-20160816; b=ZWsUamJCjxc76oUnDQhR3e1wH7aR3WaiyonN9Idj/2cSsIs7SUvAZXJs0g3N2JiPCg RbKqQ8tRg8CKAB51O2+YN5758wB9HZFjIJg1Kuxex2FqsL2LrTTKnzczDUoLT1F74ey2 jLxd3uk4PTwjDm+qIj3av7qgORtgIL55eYR2lILIVJ7XD5auMNZ+QFw+hPHWuMkrDrfV iO1yOjYsHRQJgumMiaKrFkJjUlxhypn8uFQYrl5nyuQp5bZ5DpTMqajWGsAi+//NhYTt gS0iR5ynf8L4c8wFRxxfwlh9tP3jzLTKp5oRoxp7bKSdbzs8xgH1ziQbH5cLaTmXqcZ4 vj9w== 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=oHOI4UkUK5oO1VdssttDKu7g+Xl2AjZdIgfXK9JY2WI=; b=jlXUU9h2U/pgvEcQZ33XvIGe0+ewHu/aFo1euxyM0DiAsb7KTpxL2upnNRT2p5ROdt LOOxmEBNyiIpnEbAOO5YHUYxtSoc3Gq5DzWnYsrqzpMWIGJpaoSKDKefYo+XodojkaLp /GDyAlE9UXDVcGDQ5V5Nm2tLSEvEJoqw8Z/XbWFrkx/LTAU4J4v0Vl48XmnSz5w9cDvq LlrG6nMmoDlKA5MpOYZPdNZKqCIIlIfWF72ewW5/4TDEncUCnnPW9UBMbxCj3gPNwBH0 eWqZIWvx5ZyUj4WHegPoHhwoRkI4Z4PWv66IXwxe4rLfagZSRH/QmfbZWqYzvmt4lryu rPWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=N47O0yIx; 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 h67-20020a625346000000b00592a19cde96si16203858pfb.369.2023.03.09.02.43.56; Thu, 09 Mar 2023 02:44:09 -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=N47O0yIx; 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 S231357AbjCIKiM (ORCPT + 99 others); Thu, 9 Mar 2023 05:38:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231206AbjCIKiC (ORCPT ); Thu, 9 Mar 2023 05:38:02 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4261E7A84 for ; Thu, 9 Mar 2023 02:37:59 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id j3so812734wms.2 for ; Thu, 09 Mar 2023 02:37:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678358277; 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=oHOI4UkUK5oO1VdssttDKu7g+Xl2AjZdIgfXK9JY2WI=; b=N47O0yIxAB8zKuR5DuYc6rpvpqmlzYZfVSaLpJW8EljfQm9j4ieq6RJnl6Zn+NKvMD vT9INX7fBkuG6jhrWgl1hrvtlkszp2cQtxv/OQQKcqpXJmL5GYEWaxX53IFz5Wn2tnHT tGuMJWuDilLUU5izS3DSKExnoujEZQ2qD7ACAmp+P+vgC7cSrfOs2RzXWsur7tW1lG6n B4BlxmOUxTpfAtS6TObRaRtRuz2i57F3Kr3yZ7YKHpS0hcqJ5Wa85lg/P6YA4oJnmwqr PSQmjq80oE78JHiDPH4CMMQZ8MXzSBaK0AL4KXm+ywnp4nZ8bpbWRVkmR94E6JiT2W1h eK4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678358277; 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=oHOI4UkUK5oO1VdssttDKu7g+Xl2AjZdIgfXK9JY2WI=; b=JmUnwChh34SvAqwjF2IMqtDsmoEya65/x1Dy3PmwiIGhsWEvt2iQrWq4aSTG9IPsbC 13W7067cRyzijyKT7mn7/i38rtgx7sIFbnhrB/8MZLNudR42+cdzJl1DugrdcTOddDo4 ngzFYqM+6GQshYb5cnMAFWLYg43MK2Ov4yEqktZBH8CAG5frPtQFtXPdJ7Sn2oFQttqX JUDeJW+3qDcI9AjuPPc5U9mxwsv9wT2fuzBWVGFPoytxwC4KylN6ppzCtQD8grBcr/MQ yfe8Lo7PIrG6CEADNz8hH9vhABcWJ2T5TPUjOmVlcOzFSD5u3KbtbUvC78QXVf19qKfU /DZA== X-Gm-Message-State: AO0yUKX/5vYV3sXw8k/Q34vyVusK3JEvu+oF4R6dChZnag7dKPIiwi2S cRwP76/IW3DM/zwC9GgyjMoyFw== X-Received: by 2002:a05:600c:45d2:b0:3df:e6bb:768 with SMTP id s18-20020a05600c45d200b003dfe6bb0768mr19090612wmo.24.1678358277776; Thu, 09 Mar 2023 02:37:57 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f14c:2275:50fc:c056]) by smtp.gmail.com with ESMTPSA id f2-20020a5d58e2000000b002c56af32e8csm17638119wrd.35.2023.03.09.02.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 02:37:57 -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 v5 2/9] arm64: dts: qcom: sa8775p-ride: enable QUPv3 #2 Date: Thu, 9 Mar 2023 11:37:45 +0100 Message-Id: <20230309103752.173541-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230309103752.173541-1-brgl@bgdev.pl> References: <20230309103752.173541-1-brgl@bgdev.pl> MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759886598591737603?= X-GMAIL-MSGID: =?utf-8?q?1759886598591737603?= From: Bartosz Golaszewski Enable the second instance of the QUPv3 engine on the sa8775p-ride board. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts index 3adf7349f4e5..a538bb79c04a 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts @@ -24,6 +24,10 @@ &qupv3_id_1 { status = "okay"; }; +&qupv3_id_2 { + status = "okay"; +}; + &sleep_clk { clock-frequency = <32764>; }; From patchwork Thu Mar 9 10:37:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66771 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp220797wrd; Thu, 9 Mar 2023 02:56:38 -0800 (PST) X-Google-Smtp-Source: AK7set8/k1MzLJWKuQSEfiOrnD5Ez++4ksHS4MSmLkiuu06aetoNWEcoY6oowx0Ll1C3/O5X4nTs X-Received: by 2002:a17:90a:fe8c:b0:237:64dc:4b65 with SMTP id co12-20020a17090afe8c00b0023764dc4b65mr22203236pjb.21.1678359398076; Thu, 09 Mar 2023 02:56:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678359398; cv=none; d=google.com; s=arc-20160816; b=k1hDOScb01u04vkOoXV65jrXvKpa7KPhi4Q+w5QHdbium0/3p4OOLdYK+d7F1NUj73 mLlqgv/yYrrGfYhlngwYZ9dv7hT4j329p+vBJF9iLe6YiU/ZtQaDVOgQQCKtouI1zg79 o0Cc8bwXFro5ebH/e5yU+nkesr9ckvieY0hdYzd9PkYy4Ec/bRTTJq9LuJtgvV4qY+XC pPNmRpOwC7+fZkbN9YH0xhIwU1u0CdvBkd3zA5Y0JJIG6U97+82W+cClQfHhjIXHRZYm WGXiexJvPczlZ5aDIiP942V69YQIEqIlDg7PeczYkGCjGM+wFm5aQS+kUSTLvHGmyktR MIJA== 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=yEdI6IptwEvOPoe2m8zVGUNDSr2cKpU09XYXcL318IQ=; b=sbH+P/6hHo3eBmvkOgM4kDmAxgv+NeQ7aaMqVh7yQS6E5zp0IBg98Tk0LqI0L3pI7z YxZimuyqFsUvYcqWKoRYSKFjkSIsI1Oabi9ICo0CU1QhqXWDoqmsLBpf3/YU7yJawjyp I7P9x8+UuTEo6tEEeF1Z3pXDnlNpPEsdZdMqmwidF9e2o7U5dJKERVrNznx7f6KadOCu +/OkzCV8efUsCHZrOpMXHtgDbEJatBSS/WrR7JPkOCUFY2aoZfZh9+6hsav4J7EZs7r9 yapJDSmFQEPc211eYCeh9sHMUEsB0j03suM2zQ/EhgAc0BcfbAECAjUlcJdJmAddGwU4 LqcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=2zMfCQfh; 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 h10-20020a17090aa88a00b0023aeb602280si1955422pjq.67.2023.03.09.02.56.23; Thu, 09 Mar 2023 02:56:38 -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=2zMfCQfh; 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 S231367AbjCIKiQ (ORCPT + 99 others); Thu, 9 Mar 2023 05:38:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231208AbjCIKiC (ORCPT ); Thu, 9 Mar 2023 05:38:02 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AC407DB2 for ; Thu, 9 Mar 2023 02:38:00 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id fm20-20020a05600c0c1400b003ead37e6588so3221185wmb.5 for ; Thu, 09 Mar 2023 02:38:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678358279; 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=yEdI6IptwEvOPoe2m8zVGUNDSr2cKpU09XYXcL318IQ=; b=2zMfCQfhjF/vXXLxR4n7qE1iv1DxbZkKshTMJ0BOqQUyJ0f14N6J1vjPAvd8Qc4/pq KTfZA3VR1M3dZGA7sEQ1J8C++7+68DInTmMlsRMiDKP5iXZXINExitdd5mdyWd4gO8rC CJU3WJ99/c7uFucsqea+Gl4JRTuz1vuyOjc2wZxa3J4ztIJjLCc0x+Ks8SzjKLGSy2uh /GU1l/CAZoAhjTUHPP3v3jg6ZvFth34PkfZ7Grhb7PibJOeJv93m8SsN85tNslSFzJSU gOFpfyhNH53zgd4NGhlF2jjMdD7t7BAlQ+ZXeKekdp+EalQ01N1sm2ISwgTekrVYhf29 q32Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678358279; 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=yEdI6IptwEvOPoe2m8zVGUNDSr2cKpU09XYXcL318IQ=; b=ZDd0lr+NiAjvMD+3A5TF/h22vOYD3Wg+qug047TMS8CxUt24cixmIJGed6TICJF0II mn/vgQifCSvyBmB0Nh08DAdGsFzHSqjO0/mXWYmi/d1MDajZloyMjkcVYroja49nM2OF QpnOnfu0FsDdjQpTLJ9TwHkZDW3+vkPHpCD5G93dEEwu+aR4FiR3LZd1+euYhiV9vjBa UsKvekyK6hLx24IQ2Xi1QpWu0PUnFOgInhB88cbrgHSkmKug7ZcAAkhlBJYflY0vElln 2PPeVi+vwv3m5V9GW3Zsyf3WYb+ocOjVLB80SOJIxObv1WJDrkjsI3TU4Yq1sXmManXt PW9Q== X-Gm-Message-State: AO0yUKVvKXDGR2ofncTGHPhDKZaXxP6lyhOqj1CDF7lcHutjT6/LxQ5+ 5wdXka5ygfPeEKnaRuEFjubh/Q== X-Received: by 2002:a05:600c:1d93:b0:3df:9858:c039 with SMTP id p19-20020a05600c1d9300b003df9858c039mr18025163wms.14.1678358278962; Thu, 09 Mar 2023 02:37:58 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f14c:2275:50fc:c056]) by smtp.gmail.com with ESMTPSA id f2-20020a5d58e2000000b002c56af32e8csm17638119wrd.35.2023.03.09.02.37.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 02:37:58 -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 v5 3/9] arm64: dts: qcom: sa8775p: add the i2c18 node Date: Thu, 9 Mar 2023 11:37:46 +0100 Message-Id: <20230309103752.173541-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230309103752.173541-1-brgl@bgdev.pl> References: <20230309103752.173541-1-brgl@bgdev.pl> MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759887384472510593?= X-GMAIL-MSGID: =?utf-8?q?1759887384472510593?= From: Bartosz Golaszewski Add a disabled node for the I2C interface that's exposed on the sa8775p-ride development board. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index 9e30c1e3e66a..e7ed309fc04f 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -3,6 +3,7 @@ * Copyright (c) 2023, Linaro Limited */ +#include #include #include #include @@ -502,6 +503,27 @@ qupv3_id_2: geniqup@8c0000 { #address-cells = <2>; #size-cells = <2>; status = "disabled"; + + i2c18: i2c@890000 { + compatible = "qcom,geni-i2c"; + reg = <0x0 0x00890000 0x0 0x4000>; + interrupts = ; + clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; + clock-names = "se"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; }; intc: interrupt-controller@17a00000 { From patchwork Thu Mar 9 10:37:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66768 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp220436wrd; Thu, 9 Mar 2023 02:55:35 -0800 (PST) X-Google-Smtp-Source: AK7set86dHj69CCA/ocUtkdi1hX+Rq536IXdf55Ia9GXz7cypsbjXkJK0Kz2O9FaiWyl2qJv3ZUl X-Received: by 2002:a17:90a:305:b0:233:d3ac:5dc2 with SMTP id 5-20020a17090a030500b00233d3ac5dc2mr22458993pje.18.1678359334715; Thu, 09 Mar 2023 02:55:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678359334; cv=none; d=google.com; s=arc-20160816; b=rf5GwNdBlGmHXppawRMCeUF2VUc6RiHoemNGLZELmMpNVbKTgU2e7F8JFHTaepl/wV FOwSozBgZbIP8+Z+3EkqZKuM8xuuhI5GlKYcO45arTSXPJ8OUWqRDSmDFdrLFg1t7SkP c7PWCoyNDTH7V95H5JJIy1eqExcMsi3KjO5jS9stOqVaSXD7rmToK60pTN7c+C9Ey9M2 YdwLb8SbyWB88LBrOiP60ofki/fHizp05vd9kNxMcJNSH2akhJvA2fCcEEB8LqnyDXGh b5ToexakRTfh3y6z7MrTx/0GxDwLl88z7gHFbJCBNa7SvHkMB4edRvrx4pqaqj9TtGUz U90A== 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=B8KzYFaNC31XGy3z1a5fC/b9IAo0DBq/FXy8tjU946A=; b=EpbRxjzQoDvW7bDe4tP1lq6YWV9Sl0AGE2kRriTOhr5SY9Vmh9xpOxU9RYGtnjzeqp As6tyz74gQKKULMQleUJ8UHBmqGfEFVGUryEC8wFgxKpS9h3iQG+SXsnvqHcxoiLYneV IsEmPkMrS4Z2ZL3LzcKa4w+atqENOMbMC+0pwQC+aEOlDfONc3YqfYN8Q5QMCQGfy+2D Glpy2QoDUEWi0S0Xr3q8R5HN94BlJsMv2RvcyVnGZZnuYrLBor6Ybkls+U3oC/Zos2RB QcVj9oiL0iClusMIGYeLUidVXeEbSyiQAqseqBUV38xr+x6mWGEirypFAUtWSJS5Zu9C KfBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=DO8k7fPN; 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 201-20020a6306d2000000b004fbc41d5416si17855080pgg.581.2023.03.09.02.55.20; Thu, 09 Mar 2023 02:55:34 -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=DO8k7fPN; 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 S231374AbjCIKiU (ORCPT + 99 others); Thu, 9 Mar 2023 05:38:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231267AbjCIKiD (ORCPT ); Thu, 9 Mar 2023 05:38:03 -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 658189004 for ; Thu, 9 Mar 2023 02:38:01 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id l1so1340767wry.12 for ; Thu, 09 Mar 2023 02:38:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678358280; 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=B8KzYFaNC31XGy3z1a5fC/b9IAo0DBq/FXy8tjU946A=; b=DO8k7fPNDDmPBblcD1EQBHtrAcYkuYotdqK/W83NPqgPruh4/jqz7zPv6SzqmC48Nt MWVylCIKxpVklFOabPti8pPq/nzbK7ANAcZyWJBa+syuIgujaOB52eW95D1QguD/F2Ix /H+rZ0TMUATREoe51WKSjDO6xpoFg/Fyi9gPbubq1eK5Kq3f+pm0URO+vGld5DyomKjm 61r6Dx5E7XjfkMgOiXpS1vLoFWW0fdCZsV1uVsixEwiFdfAZLkH23eEPHdvwtHN99d/w PL1UsF2cjGKT7rMqhXi1+1iI+jejaA3dOSKt0d5c6JnJXgIV+vORRh3P8LZxIvF+jAcD WULw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678358280; 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=B8KzYFaNC31XGy3z1a5fC/b9IAo0DBq/FXy8tjU946A=; b=R9IPp9PtgifRVBvHP4LWxZZmBaIzJDycJNfVTWSFGC90lf9ZRnv7LWLjDEhBkytqAU MdMtpk7h5/G/njRA2NiWrvCF/J8au+bA9uOSAzq1/WTGfGI4fZJyEBpSOfFzw++RRE8u 1r866UakT69dyNLwfWf7jlsXmxazOLV3BXyjWvEL8sDA8jXQ7uLYY2jHTi37+U5FVK7g HHxVnLWbYE8JoHrmaJnp2Wk2tV4G0s4aVe91WS0Gnpj1T99zqdtbxOYu5v2Xor/S1jeE Hp3zAAQo+sJQheTMbnhCRdjbjQilO7rYYq4C+aqYk7WvMUgVl5LV7Aj+MAfQlRRmIskl 8cSw== X-Gm-Message-State: AO0yUKUORCoQfRh2xc/RKIdMmwjUM6mctUJ0iobJjVXggWPmVyZDY86t DIKn7yR9IEXgqncNWOZ+io0h9w== X-Received: by 2002:a5d:5689:0:b0:2c7:1b3e:362c with SMTP id f9-20020a5d5689000000b002c71b3e362cmr13091572wrv.42.1678358279886; Thu, 09 Mar 2023 02:37:59 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f14c:2275:50fc:c056]) by smtp.gmail.com with ESMTPSA id f2-20020a5d58e2000000b002c56af32e8csm17638119wrd.35.2023.03.09.02.37.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 02:37:59 -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 v5 4/9] arm64: dts: qcom: sa8775p-ride: enable i2c18 Date: Thu, 9 Mar 2023 11:37:47 +0100 Message-Id: <20230309103752.173541-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230309103752.173541-1-brgl@bgdev.pl> References: <20230309103752.173541-1-brgl@bgdev.pl> MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759887317704838428?= X-GMAIL-MSGID: =?utf-8?q?1759887317704838428?= From: Bartosz Golaszewski This enables the I2C interface on the sa8775p-ride development board. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts index a538bb79c04a..5fdce8279537 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; + i2c18 = &i2c18; }; chosen { @@ -20,6 +21,13 @@ chosen { }; }; +&i2c18 { + clock-frequency = <400000>; + pinctrl-0 = <&qup_i2c18_default>; + pinctrl-names = "default"; + status = "okay"; +}; + &qupv3_id_1 { status = "okay"; }; @@ -37,6 +45,13 @@ qup_uart10_default: qup-uart10-state { pins = "gpio46", "gpio47"; function = "qup1_se3"; }; + + qup_i2c18_default: qup-i2c18-state { + pins = "gpio95", "gpio96"; + function = "qup2_se4"; + drive-strength = <2>; + bias-pull-up; + }; }; &uart10 { From patchwork Thu Mar 9 10:37:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66766 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp219955wrd; Thu, 9 Mar 2023 02:54:07 -0800 (PST) X-Google-Smtp-Source: AK7set8Gf0nM5YCgRz7tQqfwyPwf4dxCxn0F2nI6ZvLNLNJelyH8KghTuo9HQHE1geQ3cfkz5vGe X-Received: by 2002:a17:90b:1a91:b0:237:c379:d3b9 with SMTP id ng17-20020a17090b1a9100b00237c379d3b9mr22576830pjb.24.1678359246904; Thu, 09 Mar 2023 02:54:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678359246; cv=none; d=google.com; s=arc-20160816; b=UPg43rOR2e/Cu7rvSTDHjfkhcP+diCDAjGlNSURfoVIIfeIRUfDxHUex6v5LqsTgjc 4caa8Y6cz+DwcIV0TKR7mACVLjfwRZ9Pw7mUzFmjOB2ibMzX2zwwavaaVAFcUEpciFex yvc6r+mYepCUq87hXeq/pCZAp4bbLHylBe5lvNC/2ha7O6D9JiLfEbhcAuPDA1gzEl36 IhEkNmRSoZu73FCk+zysOeukLidKUirNz/S9KMTIzbP7q7F8wihcKiRlPHhrNqKWgSK5 vd/n73ICS+MwN9U1YbiXl97vJW4obf4cXZQsHm+6XcD5WeNHFi0N1dvQdCt/OcOm5dxa V9lg== 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=o1bukp9ZasDpBqQmQkWmR1O8qeMiBN3BNf0JM86ADpU=; b=K09Lqi7JZDU/tuynkwTq91zGYhRiK+wE8DVzSkTrnd+ZmlCXMX945BTOqIv1m0KKML kM14B/X2qCoIxTD9I4a8hLlsWJFlXA01mkh1yxqTS5lFuO39dXhatDgB67WuYytZ34d3 TT7ukEt50BMTn+7UbYCxTx0PIP4+DmEhNRO8X7zEYr8473sGFDN8OPbnsswn12bM8Pbi fev2lZiOxEgHuNZ+Bxnt4GA+fBoUdA/I95kbx9NVuY5md12y0zh1K7jUbE68oL6IQm/g mwsYtIG2/5wOr8SeuoqWTtJ8nrQrzNoDE948o7u2/q76KMyM2/b03zwf+vPXHedMcUh1 M2xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=AtrkVf1A; 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 q92-20020a17090a17e500b00233d9187eb3si2001892pja.78.2023.03.09.02.53.52; Thu, 09 Mar 2023 02:54:06 -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=AtrkVf1A; 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 S231414AbjCIKi3 (ORCPT + 99 others); Thu, 9 Mar 2023 05:38:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231299AbjCIKiE (ORCPT ); Thu, 9 Mar 2023 05:38:04 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4697410A85 for ; Thu, 9 Mar 2023 02:38:02 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id l25so1375273wrb.3 for ; Thu, 09 Mar 2023 02:38:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678358281; 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=o1bukp9ZasDpBqQmQkWmR1O8qeMiBN3BNf0JM86ADpU=; b=AtrkVf1AJ9fU+tdNfw4J6JfsSl9Dyl1HqO2GLW0pSE1YJMH9hmy5twfY2Os8fTqt55 vccsgXGppd1GEUvQkkfrbippJQuv0Qc18iIISzZvT7YAQyRWuAhOPCYOWQ9skEg7Hxo9 yxzxXkhjGbDTcbYHPdHTnY05UfyDJr/BktTy99LqLotBCg5VgH03tnTZLpl0y0fMxnL7 wkRgs9hjyo9NqHg8S+sispVAOG07szsWEeHfz2j2SRPVrTyerOz4duw1n42kxP0kYPpR jWNiCQ9pRh0Cvdm/EEaJacJV01z8EbchKUXUkhUA2MUGOgAstq3aBWas4DGqT7EToX4w Fodw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678358281; 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=o1bukp9ZasDpBqQmQkWmR1O8qeMiBN3BNf0JM86ADpU=; b=F6/SLHIwEHRl6Hj9wZs8jXxunhZLDMf63daUxeScOEU71NNFeQ55mHqv3vOpotQjED OqbNpQAmiCAfKxrG2jh4NwRXfKZN5PZ/LmdWk9jpPLDtuFNmYTeDDSJtlv7nB3BctQR3 3xHW/xZXYH0QvqpxYgFKpbgYJXrjHqlTvZkHfsWMlKvMqy7QpicHhDmxekzci5G8TK4i W2DBuoGnkBT7dSuINa3MvS1bvUvu/XbCwVlLvwdUJf6IXSLZfdZakKROZXRwfT+fUaD9 IMAvKeAqnUGpDbaY/0sGQ5/QVXZaYopIHxWe0OWoZoeMq8zn7Ro0bP1rTFMQcIgYJ75u gptg== X-Gm-Message-State: AO0yUKWEgzuUwQCk29GSAXshD1DvQOga14n1XrEtkddLihAwCYtR+JZD UUk0EVqkz3vF8tyjeyLNof2RRA== X-Received: by 2002:a5d:4486:0:b0:2cb:9d29:7242 with SMTP id j6-20020a5d4486000000b002cb9d297242mr14280623wrq.27.1678358280789; Thu, 09 Mar 2023 02:38:00 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f14c:2275:50fc:c056]) by smtp.gmail.com with ESMTPSA id f2-20020a5d58e2000000b002c56af32e8csm17638119wrd.35.2023.03.09.02.38.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 02:38:00 -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 v5 5/9] arm64: dts: qcom: sa8775p: add the spi16 node Date: Thu, 9 Mar 2023 11:37:48 +0100 Message-Id: <20230309103752.173541-6-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230309103752.173541-1-brgl@bgdev.pl> References: <20230309103752.173541-1-brgl@bgdev.pl> MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759887226015016995?= X-GMAIL-MSGID: =?utf-8?q?1759887226015016995?= From: Bartosz Golaszewski Add the SPI controller node for the interface exposed on the sa8775p-ride development board. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index e7ed309fc04f..d1b2a6d30eae 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -504,6 +504,27 @@ qupv3_id_2: geniqup@8c0000 { #size-cells = <2>; status = "disabled"; + spi16: spi@888000 { + compatible = "qcom,geni-spi"; + reg = <0x0 0x00888000 0x0 0x4000>; + interrupts = ; + clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; + clock-names = "se"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + i2c18: i2c@890000 { compatible = "qcom,geni-i2c"; reg = <0x0 0x00890000 0x0 0x4000>; From patchwork Thu Mar 9 10:37:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66765 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp219166wrd; Thu, 9 Mar 2023 02:51:39 -0800 (PST) X-Google-Smtp-Source: AK7set/25qQHn8pXBXnSFrdwvf/1Ff6TtAmYLqf5AjJVk1AnfEbPs46M8bhWH2aja/UrUiklmu17 X-Received: by 2002:a17:90b:4b81:b0:237:d5de:5e6f with SMTP id lr1-20020a17090b4b8100b00237d5de5e6fmr21853905pjb.25.1678359098861; Thu, 09 Mar 2023 02:51:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678359098; cv=none; d=google.com; s=arc-20160816; b=nr9J+6rixpHNOGP4Epj+051IYi7J96ATzsz+X1DAuETVRwVSbY0FZuKL3YeKuZh3s+ aAclC9VSy8+Ey8RaoKJDBgrkUgxbb4/Pr2Yabg9vLBBlO4TNeNZPsb60VAkDFX/laM2v AQMUHwg1ZeeJ1aKE68AyAaBlLa76HHl6ODGTOKHeiQku9b1MJ84x7FqvAXPQnNZ7ekAd psWpt/i247lU/h/PNzOgpz7mpO/M+98vJpbirZHZMtVmp8sCtL2VvAviamGg73ATDi8Z jqErLVHljqQ3ShwdKt0pF2hgOjMYwjxSdOSlAXl8Wodr1piuBYQJB95RW0Wq2krwVukE 1cdQ== 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=1XIMBXfDU/R4FYmgYxRTe35TNzbPerUdpZusJBGj0r4=; b=kewWcXZxb1aZe7faiXqOMxiu39xAO4Xd8yLHpeRu6jIVGcnnHg+0rB+Me5w/UjOXxl cNmbE5NdT2Y9ijtZnNee1VB1ajyFK+C2cnBoeLz71JZTmvpVL2o1UC1hb2ICVPMZSYHP Br5/hRZV/w66MSA4hTe1SR4JjWUd6pP0IkPcCOckVBpet5HKu9TxmA1B30pGQOqiXqaX MwWQL+YuN2qqK3TpW7LfZRjlDH21E3x1YSCxF4qzHClgy/zvG+W/0H9RNDOR/HQF+REK tzT0ZoyJ+gDxIkqD+WVzFALtKdlQCluBeAMiZxtLHdEavm2ihzhSz3SlQxxMNT5pRwub HjnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=XcvVtUvA; 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 y6-20020a17090a474600b002340f45c0ffsi1829431pjg.90.2023.03.09.02.51.26; Thu, 09 Mar 2023 02:51:38 -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=XcvVtUvA; 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 S231400AbjCIKiY (ORCPT + 99 others); Thu, 9 Mar 2023 05:38:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231287AbjCIKiE (ORCPT ); Thu, 9 Mar 2023 05:38:04 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BEB62696 for ; Thu, 9 Mar 2023 02:38:02 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id h11so1369165wrm.5 for ; Thu, 09 Mar 2023 02:38:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678358281; 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=1XIMBXfDU/R4FYmgYxRTe35TNzbPerUdpZusJBGj0r4=; b=XcvVtUvAXAab+67J6assIe04iklARgy53+JNhGztFB4px7cQUfi03AqeyjoOqDSUnF j02LjX+r8/XlMJp/smV+XJh9ZTbCSV8RqU6LK3AWcqDtgzYSJdbgM/JeRIMaZZbZC5G9 iRXc9d79SV8ZnFh7ku9RiBDQo/qaZKJv42m21aAgfT132BN5Fh9xs5GiHxrFYCAEmaRT CAzoTP0fq1qFy3Os2JXF/enSH6XPap7S3tU0OKuppqd3ZbkwUQIu1ntCmjNfnL6HtZdV FOKaZB29gBgDMJwplXgTDFHtYOT91DOCRi0sNgH/0+JkW89WaTfq61ffPOZxsQ+5fKF2 81zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678358281; 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=1XIMBXfDU/R4FYmgYxRTe35TNzbPerUdpZusJBGj0r4=; b=txiOpj4Nh9LtQ82R2ZXuhfKOw6h6spdIEJjF+iLZ3eta6GVdseNl2rHJIifQrTwe0m zpMKeE22UpDVnKK5e9bjDnq7wOcT+1mOh7dos436BxSA0ijqoqv8jWPCNvCXeW+Cr9VN ObkjofbcRqvQoOlOFJQWnM5iAv8eh8W81WE3CBAaFPuYQgODgkVfhjWmnpJ3Wx39gmYd Lgy5oJWY78QLPoHJ98FMbFHiWMWNFO/9NicgpZLV8jWeXfQ7QKcjGjCmDJS4QceeiVOc T4XMzXdnJK26Spm/G419yfFYBLRAkzMX09gniwfmSUslaSzMHI6J8jo9ZgJS9vXzCqNj uafA== X-Gm-Message-State: AO0yUKUZ/Gs6kJ89ENSPQXS4bTBhn0Q+0T9Ra0Xs+Gr4wGs+DGtS5EC6 QFw2ans0uKcJ1bhOzFRsYf7fCAlOTm8N3BKYOyE= X-Received: by 2002:adf:fd07:0:b0:2c9:8a3c:9fc5 with SMTP id e7-20020adffd07000000b002c98a3c9fc5mr14347426wrr.41.1678358281742; Thu, 09 Mar 2023 02:38:01 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f14c:2275:50fc:c056]) by smtp.gmail.com with ESMTPSA id f2-20020a5d58e2000000b002c56af32e8csm17638119wrd.35.2023.03.09.02.38.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 02:38:01 -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 v5 6/9] arm64: dts: qcom: sa8775p-ride: enable the SPI node Date: Thu, 9 Mar 2023 11:37:49 +0100 Message-Id: <20230309103752.173541-7-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230309103752.173541-1-brgl@bgdev.pl> References: <20230309103752.173541-1-brgl@bgdev.pl> MIME-Version: 1.0 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=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759887070127007837?= X-GMAIL-MSGID: =?utf-8?q?1759887070127007837?= From: Bartosz Golaszewski Enable the SPI interface exposed on the sa8775p-ride development board. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts index 5fdce8279537..d01ca3a9ee37 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts @@ -14,6 +14,7 @@ / { aliases { serial0 = &uart10; i2c18 = &i2c18; + spi16 = &spi16; }; chosen { @@ -40,12 +41,25 @@ &sleep_clk { clock-frequency = <32764>; }; +&spi16 { + pinctrl-0 = <&qup_spi16_default>; + pinctrl-names = "default"; + status = "okay"; +}; + &tlmm { qup_uart10_default: qup-uart10-state { pins = "gpio46", "gpio47"; function = "qup1_se3"; }; + qup_spi16_default: qup-spi16-state { + pins = "gpio86", "gpio87", "gpio88", "gpio89"; + function = "qup2_se2"; + drive-strength = <6>; + bias-disable; + }; + qup_i2c18_default: qup-i2c18-state { pins = "gpio95", "gpio96"; function = "qup2_se4"; From patchwork Thu Mar 9 10:37: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: 66762 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp216839wrd; Thu, 9 Mar 2023 02:44:48 -0800 (PST) X-Google-Smtp-Source: AK7set+IHEOUowmNVE6K1bUVbBYzuPPOEz+nHpqYou+bEhw7+MIWg/8fzgLvcQiBqyaLIGphZtgr X-Received: by 2002:a17:902:ec8e:b0:19c:bcae:b45a with SMTP id x14-20020a170902ec8e00b0019cbcaeb45amr22195880plg.65.1678358687733; Thu, 09 Mar 2023 02:44:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678358687; cv=none; d=google.com; s=arc-20160816; b=yle+tGWSMuNMeYHDUohXr+mL4IwuWAuWJeXHBfDiej9PfJYBVG6FTAVJNPce4t1xKx aJyVy8D0po897o/FPcTzm+4UcMxadcuK4N8LNjEcX9M8ubyHR5XnQeu22M9lqPNC3pbs aLu2ZHRUhtEG60mgamgeZPxUccfQnG768AxA1B3Z0oEiUQ6tyt83KCyjgwgkKkcbkPv9 SPrtXK6VLOoxUedsJmtbeaIkuTX7rAnK6DpuqXHDGSRhXiYbj/L/fES8vDlf3VWDtTPg 5KTvzaAk7eflYX4HvqAfI7IFoQ6rqAgS3jb1tne0EZ7AtuWG9GLZg8RMaQ76hcu9rHAD vm4w== 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=ZQ7qwaWhTP1sdEt6dec5mYyXeH36jDZTEXpRK58r+Rs=; b=wi6+cEF/fjqI1zuV3UtTsM++Y405Vt55nwAhtYK+VRTbt+T3xOlEPTH6AE3GTkNOrS ux4mPC46DPz6mVoEmgdAltdIQgCqumMz2cNmVW0ik18xn6xkvXBYib+176rDKIqI+UoN IyqM8a3GroEW2iqTVcMe5qG2EIFH523IAIaqXmZvD7yIKxvWyICCq3vVa5Pl48aGRary F53VivP/caz4/WUu/492QFl6r0fRjmoVkqHs9wnraCbAADVgqTeOLAZ76KN+7gya0CYe 2tc2VfnKHLaNtmPgcKF9M+WE8ljrqRgZQqqS6EG/3k71WfJmEfeCJS2o1oScIzflLekR RhCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=eehEsIMy; 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 k6-20020a170902ba8600b0019b4ee071f3si16294880pls.584.2023.03.09.02.44.32; Thu, 09 Mar 2023 02:44:47 -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=eehEsIMy; 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 S231425AbjCIKid (ORCPT + 99 others); Thu, 9 Mar 2023 05:38:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231216AbjCIKiG (ORCPT ); Thu, 9 Mar 2023 05:38:06 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45A5714E80 for ; Thu, 9 Mar 2023 02:38:04 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id g3so1367204wri.6 for ; Thu, 09 Mar 2023 02:38:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678358282; 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=ZQ7qwaWhTP1sdEt6dec5mYyXeH36jDZTEXpRK58r+Rs=; b=eehEsIMy1Fd2fn+39Zh7PVoMcS9kNOEUOLgBLSv3+ud7BlOYwBP3V3cposi9bUHYAT dOQpqM63HhHzl4Dbin0iISQFaRAAJIy0ky7ckNVaKpKZwQLh4A6Z/iT+woWbY/9fPAuc 3opcTDLjd8px4SDKErZJXOmw1JeMHo4yzlVNph7iGZGpL1GbEiU6p/wGjhvbw2Qe3Liy VJdzT/4G8mVCysHHHrqT7/ROZVvPWImvnF5u/6y4V0Q15tiIZkikRbjEwsHeyXjBvK5N dfI4EegGI8MGzPIXL5nW39e/K1FOLt1WpUJdtkxCnQVZqC6jtohge/pXjjGdK5an1Nkc 8v/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678358282; 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=ZQ7qwaWhTP1sdEt6dec5mYyXeH36jDZTEXpRK58r+Rs=; b=nsTR2yU4cY/1wpWQe0aL+e18g5DBiXDSa5BIZgMfdqdpkLs26aqdyEDUk3S3sIFxSs ifCpKEzQENkVCQP4lHBAdNJYtDVR/e4K5gYSjkqrbfPbPO323X9f6dskOcJFvcVNRWfX hppuUd6EGKm1jLHJE66zYDtJb2eCHs2JywIl1T5peUDK/CNrjwBCIi+M2uDy5ubXrpNc VbwT8LodpmPW6nloYCuCxP5oPFjcDrwMROSMnB7Qh5+VlXUoWius2kXx51FEbImjNshk fHahdr1v+GHH09PnJ9qKPwENJL9mjEWVMcu66BF14SgH7QxedLrQTHOpLqRSZrgmiYeJ QYBA== X-Gm-Message-State: AO0yUKWeh+XyilCEQe98cO+za3FBHPGtD/k6YtXKByPcPT3hTKsGj3oM hKGGX8MwPwd0ue8zuoPeHRuv0w== X-Received: by 2002:adf:ce91:0:b0:2c7:1e16:57cf with SMTP id r17-20020adfce91000000b002c71e1657cfmr12732352wrn.67.1678358282638; Thu, 09 Mar 2023 02:38:02 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f14c:2275:50fc:c056]) by smtp.gmail.com with ESMTPSA id f2-20020a5d58e2000000b002c56af32e8csm17638119wrd.35.2023.03.09.02.38.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 02:38:02 -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 v5 7/9] arm64: dts: qcom: sa8775p: add high-speed UART nodes Date: Thu, 9 Mar 2023 11:37:50 +0100 Message-Id: <20230309103752.173541-8-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230309103752.173541-1-brgl@bgdev.pl> References: <20230309103752.173541-1-brgl@bgdev.pl> MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759886638989622146?= X-GMAIL-MSGID: =?utf-8?q?1759886638989622146?= From: Bartosz Golaszewski Add two UART nodes that are known to be used by existing development boards with this SoC. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index d1b2a6d30eae..468390edf049 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -490,6 +490,21 @@ &clk_virt SLAVE_QUP_CORE_1 0>, operating-points-v2 = <&qup_opp_table_100mhz>; status = "disabled"; }; + + uart12: serial@a94000 { + compatible = "qcom,geni-uart"; + reg = <0x0 0x00a94000 0x0 0x4000>; + interrupts = ; + clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; + clock-names = "se"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; + status = "disabled"; + }; }; qupv3_id_2: geniqup@8c0000 { @@ -525,6 +540,21 @@ &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, status = "disabled"; }; + uart17: serial@88c000 { + compatible = "qcom,geni-uart"; + reg = <0x0 0x0088c000 0x0 0x4000>; + interrupts = ; + clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; + clock-names = "se"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; + status = "disabled"; + }; + i2c18: i2c@890000 { compatible = "qcom,geni-i2c"; reg = <0x0 0x00890000 0x0 0x4000>; From patchwork Thu Mar 9 10:37: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: 66764 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp216906wrd; Thu, 9 Mar 2023 02:45:02 -0800 (PST) X-Google-Smtp-Source: AK7set8xzf9ygvenp2k2mJ0QsrUzjC+lP1IKN2X7u8tf8Bv5rTgo8P0clKdewMPgnfCUi5CQYiLw X-Received: by 2002:a05:6a20:bfd6:b0:d0:455f:4232 with SMTP id gs22-20020a056a20bfd600b000d0455f4232mr8887594pzb.12.1678358702257; Thu, 09 Mar 2023 02:45:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678358702; cv=none; d=google.com; s=arc-20160816; b=mxQfThMHL947gqHyXN2MPViDY8y6d4hY+cc3mb8GveRdAiXH/UAadmYRASzz1ONUcY 3bt/TDwqJs2wv1whzEsiPmG1I1rI+SVcHSnQMVmkgCHN+xFqi626v63Thg0j18C0tx1K YB0id2z20loYyWH2kQlHfohAROr6xdm33UsnbgNnrCLhBZU0JUA220kRNA5C+Pn7EAj6 i1ytS+qA7LZg5b+3trABrCM0QCleCGi9qvwsTWAIS1g6J0UsnF//HHflSQNmmZ8bD958 IJ5JvlcMRdlakJ9wZuk4Iv4JcvxdpWNQL/M53qmc/rB16w3Cn22mnZVePwt1kHn/eBxG zaTQ== 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=SP7ogHu4uEwFtspxJxJ7OoykCfesXqAmJ+tahNVJNKA=; b=zR1H5nSjkbfwojAfl+uRtg5A9pZeTTkdHRFPeKD338e1s0Py5w2npir50icFBv2/l9 VSlajme+Wa4laNDcGM6EjsNf7yMpyscAMxLAf5dibE30kzorEWQ0RN5qNRpNWKlTBiuS B1bD0qJWNvKOcqAA4lC16p088PBBYWrWed1TRfP1uUMOF3JRzVvFOxyJ2QPn6a3PZab4 +KCWJohszGekOs+jxy1+FIYtUEubsVukhvHdlxcs8rXRQM5QYfxUloCmdnagOs75QQc8 84uisvd0DB9iO7OyJ3J6kW1BnVevPUIqmQll+uLSuq9eWBitEG7fPQiN7j736MAdNeWN rfeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=TRC+oJTm; 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 m3-20020a632603000000b00502eff43824si451471pgm.601.2023.03.09.02.44.49; Thu, 09 Mar 2023 02:45:02 -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=TRC+oJTm; 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 S229927AbjCIKio (ORCPT + 99 others); Thu, 9 Mar 2023 05:38:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231317AbjCIKiH (ORCPT ); Thu, 9 Mar 2023 05:38:07 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C6C41ACE3 for ; Thu, 9 Mar 2023 02:38:05 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id q16so1379463wrw.2 for ; Thu, 09 Mar 2023 02:38:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678358283; 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=SP7ogHu4uEwFtspxJxJ7OoykCfesXqAmJ+tahNVJNKA=; b=TRC+oJTm6Zc1b++7xNIfOjlLy+Ts7/BZZ/x8NQOaGx272Dp1l2amWSdxhGQ8woXz9t Sf+lD275+aGmAE1DiXz4opuuRexUsPLBHLAu6kPfwGf9cluYeiash+VpaIhONMRIpdO2 tptM75YgR2dU10WL3KH+zUQeU4fAiy+ISqfy/oM8NNxAIqV2JSOGzMSvUWgDT9rnq/fO fj/re2TQr1mlJSwtB3N2rC97IHZmJxwuUFehVwkWtGmj0G3PYUPM24E6tH61QCXoVdeN ZACfLCYIA4SswA7CDenzWxCKc/v25GAuXwJ7JcxUskufzh1gcaDFplY7Wk/7plb9rl6E o2jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678358283; 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=SP7ogHu4uEwFtspxJxJ7OoykCfesXqAmJ+tahNVJNKA=; b=AnkHpLgMfZADbrNy9RzRiTCXuBse/8Lz2TDXFGPDgHeiQjRfQWw3CecvvFSysMsu6c TcA8uuQCI+LsayAFesw45VxV5dWRg198h645usO4w7RhwxNDhA4J4pzL2OXmXEDFNorG 0hHHQYbg+zJSSyoXzXkMO/cIJCiQ5A5cWJM7/NBjF5bxmH8alyXcwk+tK/pwgfOnHJfR 8IZ5eeBgXMfY7yGq/MMjozFjAMSvCOJFRLKOUvLO3ljuD8Uv9ppKlt/aupay3uXf8od6 2aZlBhQFgW3tmpm/JPEWoG3ad5Cd+BeCgs+rADe4DHL49rg+FjJnKIoZGpiI1z5MwKov HbWA== X-Gm-Message-State: AO0yUKXuCp9hRqVvK1WP2xYf4WY65BF9y19+bXJVWsbXODOyiXVHImsz foF6XD2QwLSYX6uedkmIQ6onrg== X-Received: by 2002:adf:ee86:0:b0:2c5:3fcb:681e with SMTP id b6-20020adfee86000000b002c53fcb681emr14191497wro.4.1678358283505; Thu, 09 Mar 2023 02:38:03 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f14c:2275:50fc:c056]) by smtp.gmail.com with ESMTPSA id f2-20020a5d58e2000000b002c56af32e8csm17638119wrd.35.2023.03.09.02.38.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 02:38:03 -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 v5 8/9] arm64: dts: qcom: sa8775p-ride: enable the GNSS UART port Date: Thu, 9 Mar 2023 11:37:51 +0100 Message-Id: <20230309103752.173541-9-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230309103752.173541-1-brgl@bgdev.pl> References: <20230309103752.173541-1-brgl@bgdev.pl> MIME-Version: 1.0 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=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759886654889350957?= X-GMAIL-MSGID: =?utf-8?q?1759886654889350957?= From: Bartosz Golaszewski Enable the high-speed UART port connected to the GNSS controller on the sa8775p-adp development board. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- 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>; }; From patchwork Thu Mar 9 10:37:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66763 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp216877wrd; Thu, 9 Mar 2023 02:44:56 -0800 (PST) X-Google-Smtp-Source: AK7set+Gzwff+eOFRmBT0uhMDev3JMTFITjr/oXHvt8XtF2kRlnk8GEv8Q6HKKn6MDVBICT4vw/i X-Received: by 2002:a05:6a20:6909:b0:cc:ca9:4fde with SMTP id q9-20020a056a20690900b000cc0ca94fdemr1180079pzj.33.1678358696034; Thu, 09 Mar 2023 02:44:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678358696; cv=none; d=google.com; s=arc-20160816; b=UH4SKfCMD14ivpkQGBSKBz7GuF3R9EdpdROEf819br42JsYjeRuwVkbvRhS+H+izBs SsvMg2Z1psxCuy0ZKWBZZF5mzqvWmTWb7sL2t8T40LUv+3rKv9yQ4CK/YozVkjmVwhLe BSucllcej2Tbl9OqDxLf55DqwJfWrqPN2qiAs4OX8qStC2W5y/Agujplt7ygJswxoqPJ UbdNkgg1ZXXUIgXpxPcnxcE/fdZOC5kfmyghKv2e2LgL6utA2csVHgVw2TCFAKwCOsCA 6Fyd9kqrAKuAJiBZIdGv8wnU0ZEFgnqIqxebkGjuzN9P4s4/BD+ZiGDkQhFDOIYh+IQo 6UhA== 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=h4J+1GJ0DTm4BTyDlgRz+lJ76XEQHv+rIcqt4lsLOI0=; b=h5b3ZzIOKj3b6hJWEPT+ISFdqdNwdulm/kQi4GyOsTz45FEWJnHj1lQrS70wnWq0yw amM3PgucBDN1ETd96jaVhE1oS1lG8RWd6YrDP4CuZk3Dnkj8u3+eVWtGhuQBgVizDMqQ DQY8sqw73RoTRYAdrPIzdj2hHJm2oQrJXztBsYBHCO4smLrJB+7qTfYfvxwgOCgE8OIf UxIrHpCMb/rID/cptbHjamHFnmiuLquI+ckamP4ODl2hl0UI/F6TOR0V2vnJpn9c0Dhp VRKAtZjVKLkxO/Mk4I8JtbwF/SAiLOSIoUd5H01mW0JtyEMlIk+5kGfPqtOKRX0P6rGg 1VZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b="Pi6/etCx"; 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 y14-20020aa793ce000000b0061d8b300c10si6307914pff.321.2023.03.09.02.44.40; Thu, 09 Mar 2023 02:44:56 -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="Pi6/etCx"; 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 S230420AbjCIKih (ORCPT + 99 others); Thu, 9 Mar 2023 05:38:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231303AbjCIKiH (ORCPT ); Thu, 9 Mar 2023 05:38:07 -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 CBE03193F5 for ; Thu, 9 Mar 2023 02:38:04 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id q16so1379494wrw.2 for ; Thu, 09 Mar 2023 02:38:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678358284; 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=h4J+1GJ0DTm4BTyDlgRz+lJ76XEQHv+rIcqt4lsLOI0=; b=Pi6/etCxC3M1Ec9xrJa0vEZxTvl5yADqVtsEQHDYZWWvKfJzwnrQPBJQnHF5fBfeuL 9SKKb/iKogiJJDyM4zbTE8X9KLBHpywwY5NFV0Jnieweud9+zuKNbLslGBN9zejgoEss k1RuoGjkmb9aen9dz2fP+OV9LeWDI9E0F9WX4f4nW+GGaHt3ICRsdKVXufYDMfcAm8/k n0NIauOJKLWRVIiLjoz70Ziw07ZUkU1qxyrdV8PMjJZTGvGy+pEQQCwajwEXshtQJ7Ph rcPyBbnfNg458Oyi2EEHp01RiebEAkjGiq9xWw5TxQWOGm2mQ83KxPW2Ubtyp7u46EmM V6Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678358284; 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=h4J+1GJ0DTm4BTyDlgRz+lJ76XEQHv+rIcqt4lsLOI0=; b=ste+eSPHuyR6TTRpfcVVhwUjTRuJAfHstJWhnadWi7ILw/d9tfChHWFbv1y5pRc2Na ZUknuLv/jz8i4EYPnv0z/GQvyqzzvbUBa6YGh0OYDX9XptapM0o5skf3LePS+6V6fYlQ qiLXysM42ChsQo5CIk5leu2sQDMfi4nPe0HCRNrHPXQkM3kQK8b3lUXKHJaOH/JF0q8E rnQrosACJB1qnKDenOpgRGDRs06y1MSHhQuneqcoVA3aBY2e1+Xl9+BV+BPkm7K2K1E2 atlZcK4jiYpTq4kHaErlzI1kAYOAQKDDdW81RRNEX36DKDV1tJV7Qtu1pKMA4eiyH4Hc XkwQ== X-Gm-Message-State: AO0yUKVV0V3jD0XIozRWWlIBFtYg69NlsSCs2LpPETvAuuN+T5lrmMs+ Egayvzlncw5Dc4UzY8U4MxLV4TJH0D3KHMi0GCY= X-Received: by 2002:adf:e681:0:b0:2c7:faf:af28 with SMTP id r1-20020adfe681000000b002c70fafaf28mr13879476wrm.43.1678358284462; Thu, 09 Mar 2023 02:38:04 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f14c:2275:50fc:c056]) by smtp.gmail.com with ESMTPSA id f2-20020a5d58e2000000b002c56af32e8csm17638119wrd.35.2023.03.09.02.38.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 02:38:04 -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 v5 9/9] arm64: dts: qcom: sa8775p-ride: enable the BT UART port Date: Thu, 9 Mar 2023 11:37:52 +0100 Message-Id: <20230309103752.173541-10-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230309103752.173541-1-brgl@bgdev.pl> References: <20230309103752.173541-1-brgl@bgdev.pl> MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759886648169970946?= X-GMAIL-MSGID: =?utf-8?q?1759886648169970946?= From: Bartosz Golaszewski Enable the high-speed UART port connected to the Bluetooth controller on the sa8775p-adp development board. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- 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 cba7c8116141..1020dfd21da2 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts @@ -14,6 +14,7 @@ / { aliases { serial0 = &uart10; serial1 = &uart12; + serial2 = &uart17; i2c18 = &i2c18; spi16 = &spi16; }; @@ -93,6 +94,32 @@ qup_uart12_rx: qup-uart12-rx-pins { bias-pull-down; }; }; + + qup_uart17_default: qup-uart17-state { + qup_uart17_cts: qup-uart17-cts-pins { + pins = "gpio91"; + function = "qup2_se3"; + bias-disable; + }; + + qup_uart17_rts: qup0-uart17-rts-pins { + pins = "gpio92"; + function = "qup2_se3"; + bias-pull-down; + }; + + qup_uart17_tx: qup0-uart17-tx-pins { + pins = "gpio93"; + function = "qup2_se3"; + bias-pull-up; + }; + + qup_uart17_rx: qup0-uart17-rx-pins { + pins = "gpio94"; + function = "qup2_se3"; + bias-pull-down; + }; + }; }; &uart10 { @@ -108,6 +135,12 @@ &uart12 { status = "okay"; }; +&uart17 { + pinctrl-0 = <&qup_uart17_default>; + pinctrl-names = "default"; + status = "okay"; +}; + &xo_board_clk { clock-frequency = <38400000>; };