From patchwork Wed Mar 8 10:40:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66139 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp256474wrd; Wed, 8 Mar 2023 02:45:33 -0800 (PST) X-Google-Smtp-Source: AK7set9m6uCj1d7aq0AKs3r0sYoUIR670hwdMIxTgeygNYDpk7mgEqscIVCfCJfRYYYUXGcpFRHG X-Received: by 2002:a17:90b:38c2:b0:232:edb6:9710 with SMTP id nn2-20020a17090b38c200b00232edb69710mr17765000pjb.17.1678272333527; Wed, 08 Mar 2023 02:45:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678272333; cv=none; d=google.com; s=arc-20160816; b=y9/XMYgGMz88aapx8pf6SnDvlPn44uEGmXxqseaydn8MLRi/e7A/KQTEpwPk7gnyCv Eo//zY3w7X3st6/l6pKIttjSFGLdk0/Prz0FLhCK2OQII0/ndB06NpR4t7d6Udy1ZaeI B8gDtidocPZFsTEbvAu3mVJ3AaK4kvFAG6ir5HpXX87Zvbvuq4GuM0htaaHQyar5/DzH /RDl3eZ9+OsaivLiXRjCvnVDiOnqWIaqmwY7JlK18C8VBElg3hhVXlRoYgWs/Q+cdmrw NvS/HX3hQsElLrbDbiAAHSqYVTY6tsqQoQiBrLlBYpaVtx89kPtzl+rFVW+toSl93htL 6Eag== 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=6crUD0nELm/BVOKaOmrsnATs1eKM4ep25RzmB9fG+c4=; b=oF9g4lxeADKKm0hoQdYLodiHSVftjwJKLEhDR1Ih/01o/lf6n2uDdp6blx1x7ltOvg 7iH+JiERsdLpwHbAp4dWV3mfjnHB10D/PaIoal6TOHTEnU2vw9QcIJpQxKlM+nZoixU6 /IjKVvhMlnG8MKO4tLqHdgBHK0TsPvz4gYHCz9gBZ9Tbtgmo4dKGhdAPGaq/WkTrSNyK 0rMpsrhD2kPMbsBhI3lw7zom71WicmdyiZvsGi6ZRJtfk0Cv54Lf8BWSz07EoOpzLiff kUV+u+q9E9nLQ/zRQa+QYoFBxWSOyqj3qMNKjg2FE2Xoam498roVmbpBmdQWLJF4NiOO NQNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=6BzixgFo; 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 r14-20020a17090a940e00b002296a8ff568si13168594pjo.152.2023.03.08.02.45.20; Wed, 08 Mar 2023 02:45:33 -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=6BzixgFo; 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 S231193AbjCHKkY (ORCPT + 99 others); Wed, 8 Mar 2023 05:40:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230007AbjCHKkS (ORCPT ); Wed, 8 Mar 2023 05:40:18 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 837A59CFC9 for ; Wed, 8 Mar 2023 02:40:16 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id l1so14837455wry.12 for ; Wed, 08 Mar 2023 02:40:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678272015; 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=6crUD0nELm/BVOKaOmrsnATs1eKM4ep25RzmB9fG+c4=; b=6BzixgFox6capZv7CQM8jct/uzDTPBatobRgwmWp5D9zZHFsMBsqa8rliMbu5rZl2H 03J6CdayY1o9YfFwLasMqNBBULVtNW/hN8eG4C6tPuA9dEBr9NNjRvcn+BgKBFUblB74 6WY+VXb6QB0LcDSkb4/z+tIpQkwBtQjNj/53+FNm9EKzMhot9LKtqvvxP1fGQd2tnAVv 1bXqMR/ThgMnId4sfDkHJGn4sLALd5E2THYblDLZHuGR6O0npcZm4ifkHTV0xY5Mdkzz yn2oUq2sSH0+stRk2PSAThsXZq63Y7brJZog7wrlBWv51BSNdPwz2thx5J7+Hza4Ah+Q EphQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678272015; 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=6crUD0nELm/BVOKaOmrsnATs1eKM4ep25RzmB9fG+c4=; b=rOkQwvHkoKQ5xYZv3G8Ca12Ui9dCAbgebAHMyVR6ZMUYDlZUYu8cgeiH97S/HjlQIb d6+jE0LudKP2WggxL8u/NewgcM2sP9Wonfgb921SnsfnXVSE01yGBntyipBsTueXTtyl CuOBmYBjNT/whRN3+F4aUVN9b41CQwRALM8/9FCfBFuC2+VGO8jICL1zNIz8lhUxnw47 /E15bxXdIja4iLCTei3lqDCGxrmlAb+EPUzYvlwLGsbC4c7N89Aghg5KWBsKWNU5+3iQ n16qcjF0sCROR7w45Pp3i7m+074Yn3+Mk3GVtqswy1DN7p9gYu1SmKMqlJPShbICyKOV sfdw== X-Gm-Message-State: AO0yUKXt09sHusAZIvnyCXQwAvMhSwdxvUmCPJAROkQ2Mgy89PbYW1jy Mg7vttEhNzAN374rrNrKEhPhwg== X-Received: by 2002:a5d:650d:0:b0:2c5:48bd:d494 with SMTP id x13-20020a5d650d000000b002c548bdd494mr13303404wru.29.1678272015023; Wed, 08 Mar 2023 02:40:15 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 02:40:14 -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 v4 1/9] arm64: dts: qcom: sa8775p: add the QUPv3 #2 node Date: Wed, 8 Mar 2023 11:40:01 +0100 Message-Id: <20230308104009.260451-2-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 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?1759796090372360103?= X-GMAIL-MSGID: =?utf-8?q?1759796090372360103?= 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 8e15a24e11dc..5efb3e4f2335 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>; + #address-cells = <2>; + #size-cells = <2>; + 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>; + status = "disabled"; + }; + intc: interrupt-controller@17a00000 { compatible = "arm,gic-v3"; reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */ From patchwork Wed Mar 8 10:40:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66140 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp256505wrd; Wed, 8 Mar 2023 02:45:37 -0800 (PST) X-Google-Smtp-Source: AK7set9t2WQkZ46CWMgfbmwJEOHC27M8KaL2aDx0LppRT3lTJXf7WidyjxdHsQUEhae+FQG0MPLu X-Received: by 2002:a17:90b:38d2:b0:237:50a9:e7c9 with SMTP id nn18-20020a17090b38d200b0023750a9e7c9mr19632544pjb.15.1678272337293; Wed, 08 Mar 2023 02:45:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678272337; cv=none; d=google.com; s=arc-20160816; b=TWZT0PysuL07KL/b/tN+WvDnES7h3LkUtBRhiCE1tt8O8eArvytRBgL3UTadS7vhmq UCVmdGysYy5CingC9U/kuY+yOFtJEGkTXOueD7yhE3KcuCTGyeVUxzRwyoPN913VaGql GZK9/9GUu/mR0BZeVeVzA484omDIVcq7HVjJvOcbAb1tUNhOLaLyrdxVC+BfS1W6iMFV //J9RIE8gsblx/lg/z8mfEz2VM1NrHfVnUffK7ozmgG56OYY12qI11fekFcy2z4pVgYL zgDDIqygguxVWxELKwzhVec59DcApT+zK+/KR4McqMSDd5PEPE6Yzv4o0UKfaUF2XSFF ktTw== 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=NuXf3qcdLoRKFYAi7wFYWNuVj8BPbd9z/6kD6caVGIg=; b=MHLYI+8+vNI6aMp47SMe7PZ5Mm443NJGgR17gtuq0lBkKmOO76EuRgXYjiDr58wyjS 3ShU4p7xunqJ3j2p1dmcXNLHCOXjaBV8q4Gspiqu1G1j8agyykDI+Onz0JilJuxAO9CH BtHlu8CdfK3Qy7i2aUOyE4qcc2EFj77AdwP86YxMVk7hO8nHdDQTxtn0/rs/nrb+k3Ux 3Y6+y4TnWpGHEnOgTSDyQAIrO1CQ7vcSK9l6dlXcvYpzjlS67h0HfhvPB24hy2ARnR5M wX2b3NQ435bZNgMzbogCIOhMaW6IBFm84we04YGdLm1m8eveVy12iveZnFR5LblGm0d8 Ii2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b="5C2/LiaF"; 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 y1-20020a1709027c8100b001943e4426a2si14562306pll.431.2023.03.08.02.45.24; Wed, 08 Mar 2023 02:45:37 -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="5C2/LiaF"; 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 S230343AbjCHKk2 (ORCPT + 99 others); Wed, 8 Mar 2023 05:40:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230022AbjCHKkS (ORCPT ); Wed, 8 Mar 2023 05:40:18 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70E489CBE2 for ; Wed, 8 Mar 2023 02:40:17 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id o11-20020a05600c4fcb00b003eb33ea29a8so841269wmq.1 for ; Wed, 08 Mar 2023 02:40:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678272016; 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=NuXf3qcdLoRKFYAi7wFYWNuVj8BPbd9z/6kD6caVGIg=; b=5C2/LiaFtyBREM0JKDYWoNNVB0qyOVdu3+HWqwuEmRi9luVy+Tb8FlJGMh529yIb6a B1u20kfEWf34yjdQu0vAh8P94GiqO7uoClkfIRpGnrrqMhDTMs+1dalCCTWF3/fpiNuq OsOCSnPGMTfqSwEJxljS4tNsrKXr7B9sCvKFTF8L4Gv3o03aakCCcCktX59/HzeIIoBv sMUjU2POXr4ikDUM+fNl/4IvcrKbQJMy1fadFOU5NbgXJhSy8K7qZeQszP+EiopswKUt IUmNtZmxDrHBHkEMxmx5iRiKXMEIzaYwu57EDLYUnxlQ6b502yJ7Rf6xXIL575QpRNXq pzGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678272016; 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=NuXf3qcdLoRKFYAi7wFYWNuVj8BPbd9z/6kD6caVGIg=; b=5ubCbloAXM/lEk9h+fw+7AEDF+qt6LacGdlyT2uRGrgAvBMlzK5Ld6FMKT3hvYNLyl qCb7FbLGJ/nxJUcPd14eNxMXF4CmcOzEoGxcuiigBd7vszktduQdEO9MYca6OVUVRkEL 8APpIExY4OjiasuTQPl0reJIlgPxfr+ZwhG9BcoCCvagdJZHUvMwZ+5pOp47mGwxwojV 2Y+9RXT5w1Qxvg7jxu8QeUBoffwlbhNV1ZyYQ4DrtjBTrVNtTA4oHVdvNe1TtDJFfkAB YPoe17LOf/6G6LCf2Rf6eg6nTSXmIkUOvsdMLgfqYnhViEWp7usOcjM73OXMs150ARij 0vNA== X-Gm-Message-State: AO0yUKVu8ytJzXdP7uxuM+wy+T2hDhGIjc1RZuqXjiWsTgvFUEp+v8Ql LCO5+mgyQL6hCAXqJ1ynFuoDgg== X-Received: by 2002:a05:600c:3512:b0:3ea:e554:7815 with SMTP id h18-20020a05600c351200b003eae5547815mr16735930wmq.9.1678272015962; Wed, 08 Mar 2023 02:40:15 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 02:40:15 -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 v4 2/9] arm64: dts: qcom: sa8775p-ride: enable QUPv3 #2 Date: Wed, 8 Mar 2023 11:40:02 +0100 Message-Id: <20230308104009.260451-3-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 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?1759796094408837555?= X-GMAIL-MSGID: =?utf-8?q?1759796094408837555?= 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 Wed Mar 8 10:40:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66149 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp266107wrd; Wed, 8 Mar 2023 03:09:00 -0800 (PST) X-Google-Smtp-Source: AK7set+5hRlNBM4b4q8tEw1REeLOtAvDNo7Et3Y2aN3kkQTNu0ThroEaKzLE8RvMvLD6vbxVr5Gx X-Received: by 2002:a05:6a20:729e:b0:a3:7d0b:5dcb with SMTP id o30-20020a056a20729e00b000a37d0b5dcbmr16860446pzk.15.1678273739714; Wed, 08 Mar 2023 03:08:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678273739; cv=none; d=google.com; s=arc-20160816; b=QqHjMcScserp9SxOR0G9mCyS1P+dSW/yujoZm5zl7QV5SmzhQjC6k4MMBINZKPJdvr NCto19P83E6rkve15w/d+WMtpPqKvfKq3D8t72YTJYsWrI56bClTR5smX18WIhbWWBCP FAYjwl45fydVMA9KvvvdSdw/ehGoklUqtJ0+os5483PQ4jlU2opgMdjqCl3/DNVnQhFh wdU/zad4Zqn82ZlTnXoS3hMgPgqb7Ml6+V+kq6SQLKiN1/K42GeRRoeB7Ji/eJyRRtUB nAb3So+5N+w70DCc3Hauq5dCeooGPgK4+qiJQyG0Shhlr9K6dpwWCdNRkh619WyHdac0 nE5Q== 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=BnjTJUURheMCpnq/4EiXlRkiu/sc76vfGYo6X61pH2Y=; b=MfYRk6YNq424q04R9HXCBFFTRTGN8AiIfvcSp412mjW1iqKZglggbQyLa9UaqP5Ex9 TXnnBwkj1NWVZlJtIMDDHED77Yu4ENJV1JaEs0OktFccqabBZXoB5tillkKu88pl9n3A uaGi7MzXRpRqwe4vQOxKQ8jTNpazMV3B/exv2w2LFSqCtM7Y2n9gX/isLnoLxW3kInkI fmUZAOGN7KxoaCR2zgEzRGaawrVmsoWiuaBKISRfkPVki7YPYuoTzjDB0T68PTPLb+KM oNdob6SOl78Pp1eRrSnnYiED2bUw4hDF2jFSDRYiNeWHitDMOv2NI8hdg83hdVLa6oYP b2Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=mEWqN68I; 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 h22-20020a635756000000b004fb99dd149fsi14745452pgm.239.2023.03.08.03.08.47; Wed, 08 Mar 2023 03:08:59 -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=mEWqN68I; 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 S230156AbjCHKkb (ORCPT + 99 others); Wed, 8 Mar 2023 05:40:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230183AbjCHKkT (ORCPT ); Wed, 8 Mar 2023 05:40:19 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48A189E067 for ; Wed, 8 Mar 2023 02:40:18 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id j19-20020a05600c1c1300b003e9b564fae9so944576wms.2 for ; Wed, 08 Mar 2023 02:40:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678272017; 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=BnjTJUURheMCpnq/4EiXlRkiu/sc76vfGYo6X61pH2Y=; b=mEWqN68IZDo7BbTn6nrr6q3NjbOYAEmJ80biTam7iaw4ucC2q5F/U9AynauXFbpM9F 5fRhGVZZV/oxnVHzvTCpd0JWtuc1RA0eOJ7uHRq3IliOdp5epBxkDT5mOMU2PjizCGd5 VrNBnTQkWi0lrchIim3C1R4QC4/sKDTIIZ2XHvhXf0EuhmzzF3KX/SqNrLOo6J0nl/cg EbokRk4gq00YdpmeoEIG1xmzS4u7rWlzPNSOq1lzPXURMjHhzN65G5F9rx9r5nR/G3DS odpRY9cALfkXqBPhhubqoqNUc1g4EFhh3lpm0AWZYW7R9mfKvJ/AQMUImbzFZ4zMInK+ BZlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678272017; 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=BnjTJUURheMCpnq/4EiXlRkiu/sc76vfGYo6X61pH2Y=; b=SqPeG0ABHX1OYL1iHRkWlEvz+bRXqkGUz0F5+Tga4pzFYBZDx1eZhalFfuxqUF/pZ6 WNcJVlWJou+HSp7TP71X98D3FfE145UPkyDwZTJUM3ZvFMGMiCDpyVSxLioWCnS7hJ3u YgY2bj6FNePYq1pefd9ih3imGoBzJ8MfgGolW7dCbNJYYBZFTqwRzGcZmTmmm57bOuBo 7plBqaV6IYzjlkU7yxnH1cWsyvZfoaJU+s/kUcfPXf6Js8ddrwqV/5761BE3Ezg8mPXe DVK6MKATZ13ICDep7UM6v+jqtyipjx2LVeuPSgJThkIUwuiaU7O1+0D2xtcQL9RMCILy qAzw== X-Gm-Message-State: AO0yUKUQDaHemJ9gSrSlwdtgmAKG2U90MlVpu6GINyEyivgjp5ZGup84 PhYm9PJ6+ogvJ59Loajw2u1W2w== X-Received: by 2002:a05:600c:1c9e:b0:3ea:e7f7:4faa with SMTP id k30-20020a05600c1c9e00b003eae7f74faamr16031738wms.26.1678272016909; Wed, 08 Mar 2023 02:40:16 -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.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 02:40:16 -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 v4 3/9] arm64: dts: qcom: sa8775p: add the i2c18 node Date: Wed, 8 Mar 2023 11:40:03 +0100 Message-Id: <20230308104009.260451-4-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 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?1759797564941354118?= X-GMAIL-MSGID: =?utf-8?q?1759797564941354118?= 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 5efb3e4f2335..d65e7826f1d7 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 { clock-names = "m-ahb", "s-ahb"; iommus = <&apps_smmu 0x5a3 0x0>; status = "disabled"; + + i2c18: i2c@890000 { + compatible = "qcom,geni-i2c"; + reg = <0x0 0x00890000 0x0 0x4000>; + #address-cells = <1>; + #size-cells = <0>; + 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>; + status = "disabled"; + }; }; intc: interrupt-controller@17a00000 { From patchwork Wed Mar 8 10:40:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66142 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp259232wrd; Wed, 8 Mar 2023 02:53:48 -0800 (PST) X-Google-Smtp-Source: AK7set+Na9w5v9oRY0hsxrDKwJ0M361Ti0zMs/xit2eIik5Ye8cZwsmUemWrXWJnVgjjmZ3/hCJi X-Received: by 2002:a05:6a20:a103:b0:cc:6c57:c252 with SMTP id q3-20020a056a20a10300b000cc6c57c252mr20587332pzk.6.1678272828624; Wed, 08 Mar 2023 02:53:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678272828; cv=none; d=google.com; s=arc-20160816; b=MGv4M8u+0gowG7iN4P6vAtiqHpsxwMC9MnmUx+3eu0HOaiTLkzl9e0dthCD0oG5+il zfHtKNiCS1pifoM6cj19o8xs44WOHAqfQxbc0Ps7pk5FeBBVIwDe+PGmjV+lFThYGrif Eqq5hMJ83BMU3PPkN+36dmuFF33qaEOzzcf3N9sB1bfPv0Ous9yRpyV0B/697Kp94qK8 pQ441j2eO3v9hyp+78kUYp6sOmgqGiokYH/xStTXrCrqfTQseK9cG1iqasgqrV91katE I3TG9eA3QILLZVlZGtFxaAozsa63muvN/j/WeeFn+/pG/yIC7fN4QitIXXHpeRADbxNZ RVJA== 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=VseiAEtr+0yLKZZoyvess8aTSSuhWIaFbWQ4D+U3gzXR9FgkEaHzuRSVkoG2RAc9Kk 1jqk/ubmBK8D5MTud0pmzD8Uid8lgOA93rjzx5nUiP9CjTi0o69AICFkll/1T64zKgKu Jb3aMuZLivOF61MBa5Bt+3lLPuF7bgnHIFCzHvO4aRN+O5VUwZPCmr9i4o4k/j+fCA+K MzRL9gXjceUzw19VuKWvTPgKE4NmG+ayP3FmsEaUQ0nc9w2sM4kSBoD/om0BTXntYj1j o3yWw8umKNI+ssTrQR2f8QsC8xhHGD+HwNuTzAskpw9bqFVhZyUgQ99liJFjvYSn1FHH A7vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=iEiNPFrV; 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 r18-20020aa79892000000b005a8b073a61bsi15008795pfl.78.2023.03.08.02.53.35; Wed, 08 Mar 2023 02:53:48 -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=iEiNPFrV; 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 S231256AbjCHKki (ORCPT + 99 others); Wed, 8 Mar 2023 05:40:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230347AbjCHKkU (ORCPT ); Wed, 8 Mar 2023 05:40:20 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B4A39C9AA for ; Wed, 8 Mar 2023 02:40:19 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id t25-20020a1c7719000000b003eb052cc5ccso932864wmi.4 for ; Wed, 08 Mar 2023 02:40:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678272018; 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=iEiNPFrVRZgp6UeK76MKsr4LSlEfNy+RDadnfmcA0hqvRgWu/rRNg7FyLmAwMNtDvX W/Ktb3jSec+QnE25SRijY1oGalG4fY3Prlwv3iePD5GZOtfW3SeC43LOyEZn4fTaq1JH /xzfI4trKN8UMQ4kzTKuJAkP6Ne+CE/Wk2xZgOagJ/EVAuhX03HXIfx2sCll6ADWN+qQ v+BPeMqPp/jVnAGtS8JN6l2iTCzxv2p0MTJE3ndBQ+cvFNTMyvlxxLnC8WtIwUYF0ehy x/lLfnMUG7n2cwrtlcoKq8ozLX8d2D+wewDk8kE/iFLk9w0sLmO72EDnRyL2e5+t2qC1 2HfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678272018; 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=pPiEuRu9kpcGauZgXSyvct26Y96vCTAkIEQ08PIAGZ//kZRl28Fh6FM751Wz78v+qB 7sj8Vep2A/c8ffehwPVQmF0DM/mLlYmrEFQcgw1UHqEAjns3fP5UUqhSafYDNvxQY2VU JTaJC/osuO8MLbr9Ze9u1IeKqlvoAiBbrFe0YtnWXnfyuAM4fTrkmLsjnx8Mh9CoYsMM +39svhsmjMmcYpR6dqgJV+Os8aWE7U8uPgErvH7xVs/rvGMMU1UK7LMjdtLRAvFNa5BA FvnW+vfHBfZwmEW44lBVt6oKOxp2gwRfwb5lHA+H7V5PnK0P8ABp+67sINhpIk0GJfdF qopw== X-Gm-Message-State: AO0yUKWm6eyiDUZIMA42hdWqOPfaLFFNDRxcoOkh+oFsm0DBraNAkUAL xAMtZhS+YaV0AbgES4/usp1DwA== X-Received: by 2002:a05:600c:1908:b0:3eb:39c3:8844 with SMTP id j8-20020a05600c190800b003eb39c38844mr16229922wmq.12.1678272017760; Wed, 08 Mar 2023 02:40:17 -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.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 02:40:17 -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 v4 4/9] arm64: dts: qcom: sa8775p-ride: enable i2c18 Date: Wed, 8 Mar 2023 11:40:04 +0100 Message-Id: <20230308104009.260451-5-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 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?1759796609855931888?= X-GMAIL-MSGID: =?utf-8?q?1759796609855931888?= 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 Wed Mar 8 10:40:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66143 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp261004wrd; Wed, 8 Mar 2023 02:59:15 -0800 (PST) X-Google-Smtp-Source: AK7set8PRQeh35bcMOL16POIjUq571Tqbx4T8vtrfygorHVSWRPO5uZZ3NcqvmX7RzxxSZVgTKz7 X-Received: by 2002:a17:90b:1c87:b0:234:d78:9b4c with SMTP id oo7-20020a17090b1c8700b002340d789b4cmr18198785pjb.18.1678273154926; Wed, 08 Mar 2023 02:59:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678273154; cv=none; d=google.com; s=arc-20160816; b=iw3B8uueVsUTR3TU11qLe8bH35HbzO1lDDmiM5FIxJmMhb6BCRXQtN1RGCPbE1YB4i x5k1U/zjYopqKn3ZBPHdQ++wiQLvR9qaGPqLNDtGNBdXaujqKq+AiClw0iyC90Er45c4 Y1HcoId6hS8RZBLELEDxEvR6ux+ODN9FnG6O0p17ueQfkipCVFZZKLFYgaj8A73JgFh8 HqN5+gKDftG7lrv0aoTLTvGApJFcCe0TVUIAKMR32SjLPHo7LAIzL4qU6nPpKLg7iIP3 Kgcg5I9beXNmH/NDtcRpoMIJstKD6oSdP7etPSmTW9OoZJ7D91buu+3iV1OdKf/GPsZs yLoQ== 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=AROI/tjMFfPnWcGbgejV93q7I8+DDtZkPpKGekOFje0=; b=nh76J33YEnUfdlx2XH/8eUGXJ6hyLutm4XShjbOArIreKcYJn7LKV1pocXRSsIccVQ zVr5mL+WT6PN59ApBUslTuFvT9EvMc5qSNT1TBhTKs+nGs6Yp0HRb6GYa9K/HPbWPv5Z WBvKcNd1tfOX9SdQrUhFRg7jCvbPeAwD9r2X5y1fuOpFRD7CDhrE8WyzOoW9VuZzS6u5 lSpw1bEYvrSzjyaJpp6z6O7KaXbaotkJV/nFYHCLpK9h0F5CJtjsG8VD0xm44cMXK7qU IwZ7U27EGMpHd2avQXqolRb7hzBTaj7ovytmCtrNuflgg2NrW788bkvzsFcOIU2U42mz lqAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=55+wbjaA; 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 l11-20020a17090a4d4b00b00233f3034302si16009016pjh.46.2023.03.08.02.59.01; Wed, 08 Mar 2023 02:59:14 -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=55+wbjaA; 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 S231231AbjCHKkg (ORCPT + 99 others); Wed, 8 Mar 2023 05:40:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbjCHKkU (ORCPT ); Wed, 8 Mar 2023 05:40:20 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16FDB9BE24 for ; Wed, 8 Mar 2023 02:40:19 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id d41-20020a05600c4c2900b003e9e066550fso832465wmp.4 for ; Wed, 08 Mar 2023 02:40:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678272018; 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=AROI/tjMFfPnWcGbgejV93q7I8+DDtZkPpKGekOFje0=; b=55+wbjaAZC++56lCkeffC5qxVDk5por5b7MVu9k0NYiH3ucpnW8s0o8k+OQ6RuLEnN GDDBaONSzh8472XE4SMV4ttWE/QgKmmIBpBQsK5OF9hVWmAwLwpcgJlBW6VyePL73H8e PslwiFNNP4NVY5hd3ixCM0Y0QQmYpy/Z3VJSW055aPsmHl3znAKXXjTlHJsMIICRCMi0 pHmVIQS46qozosJoD8sCm1apn8S0MPd+nc4g72+GgM5R8lFl1DIyrOKDE67g75B+gVCA 9q3i4TcpkTVmxLvPst371oOswD7rduGNA7/iYKn6FHTbHsyC/7k7btHVYyGM1ZZpOVcu qpig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678272018; 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=AROI/tjMFfPnWcGbgejV93q7I8+DDtZkPpKGekOFje0=; b=KZG1o1hwqILstqtgJFbRU3/nWvGdNDqi43CCsJxKuOCjU4obYXpB0tn6lWA8FVrqqr ODEzNsK3ka/hgacjE6k/HrntnZ5KWaeuqTBa9+9uFWzPlTzTyXfz9AkjkPp7/my/NeMo zJXz8ZuHIn1b8BmZr/Cb206bksPqhBXdOUbrxxOt2adgw3FniqauADKI9v07czZp9WsT NA0zGTeVTLbHwzNfPbbvOfxRd47NxrO7SB2bfHHGxg4BIj2ETKZDgZBD35r/Yp+rh3Ar 1ekYRHc1capM3255g9rXWafHZ3COTanXF3Pi3vr47Qw8OubBmomfZc8fcH0DawnYopJ5 WJ/Q== X-Gm-Message-State: AO0yUKUIju7F97vml8utkervmlR4cQFpkx7IdoaPHwocaLM+EdFl9HsZ H4ybpbZuriNQvg/KM5aom/q2dw== X-Received: by 2002:a05:600c:3c9c:b0:3ea:bc08:b63e with SMTP id bg28-20020a05600c3c9c00b003eabc08b63emr15964755wmb.2.1678272018709; Wed, 08 Mar 2023 02:40:18 -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.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 02:40:18 -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 v4 5/9] arm64: dts: qcom: sa8775p: add the spi16 node Date: Wed, 8 Mar 2023 11:40:05 +0100 Message-Id: <20230308104009.260451-6-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 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?1759796951557603730?= X-GMAIL-MSGID: =?utf-8?q?1759796951557603730?= 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 d65e7826f1d7..992864e3e0c8 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 { iommus = <&apps_smmu 0x5a3 0x0>; status = "disabled"; + spi16: spi@888000 { + compatible = "qcom,geni-spi"; + reg = <0x0 0x00888000 0x0 0x4000>; + #address-cells = <1>; + #size-cells = <0>; + 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>; + status = "disabled"; + }; + i2c18: i2c@890000 { compatible = "qcom,geni-i2c"; reg = <0x0 0x00890000 0x0 0x4000>; From patchwork Wed Mar 8 10:40:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66144 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp262737wrd; Wed, 8 Mar 2023 03:02:33 -0800 (PST) X-Google-Smtp-Source: AK7set/mT4/BGVRfXQMccOYAMDicj39hdbPGpPvyV4SM4HQ8EUidJkE+MERLbpLaVwxU1TVvKCHg X-Received: by 2002:a17:90b:4ac5:b0:237:dd21:c1e7 with SMTP id mh5-20020a17090b4ac500b00237dd21c1e7mr18306303pjb.35.1678273353530; Wed, 08 Mar 2023 03:02:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678273353; cv=none; d=google.com; s=arc-20160816; b=T+3TFXgyGSbYAmLbI/HoyOGcTf94c9kO9MfDNOcneHIuTjtSY7Gdz6BwcE+N/OWIgq CRl+iuqvXm68CiSS8xpCwZp6g66CX45s6UoRaHqdw3JZcYL2/AEEapfEHhRIXZm3zJro TAQ5eQO+br7z9azfL9nmL8EQgmg0351HPAJavmb5Pym1b7ZEaZbKv3MSeRipYLIc/FkF 5wcWV5kJ7nRqc8clQgS/JjRUnW2/2jTiUf/LAUEoCbK4JeNeY0KC71/xJhTSzINbkuL/ 8zPP+xxt3psYpnKaSBThqUKJg6dZmwPUpgh8ZtZ1g2Fi6DIx2er6ujJB5cLRu1CiVPDj ug6Q== 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=UXJ8HjL1HgIttad3+esS01Xk5dGlVo3CDNinXfs1MjIa7yg30RLgyVyBLbkners+dg QeFBrV2D7qB8KJQzlUZXRHiNeuNWX/gXmDjKUFVNbEpZ9PnG9YfLGESWxcnyO6wUDfPN /pMzM93qvzIfSTFZ3fgmi/oNed+i5eywJ8o98zOpEjpHUJy15Aw493Bsntyu3L7lLai4 7O+bblQlUadfk5T5H0wsVwSW3Ut0VuUm/Js6jPYfSfQPncUicd0LtKTqDQEQH03xvnSf pIOAVfLtz3c5/nKnZlcbLG/Rt8IK11hNIFENAlIPiG6+wqnv9ZpIZgF6rYo8Ljb83cId CZmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=WPlJXNPq; 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 nh11-20020a17090b364b00b00233773a522esi14021782pjb.49.2023.03.08.03.02.19; Wed, 08 Mar 2023 03:02:33 -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=WPlJXNPq; 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 S230228AbjCHKkn (ORCPT + 99 others); Wed, 8 Mar 2023 05:40:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231138AbjCHKkX (ORCPT ); Wed, 8 Mar 2023 05:40:23 -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 01E929DE33 for ; Wed, 8 Mar 2023 02:40:20 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id l7-20020a05600c4f0700b003e79fa98ce1so836999wmq.2 for ; Wed, 08 Mar 2023 02:40:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678272019; 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=WPlJXNPq9weQmaEHgmjFJqNEIJhCryuLWGg9i1041Fjka8OA5GMo6pXBj1IJQlSiRL AbtBd0QcetWoI9Z+XqSO25tjY3EMAzWnaCfv0dDnCJZ2sb13NGnP7iO0aP1yW27pXs2G qfZIi37a1RXG89V9AU3wE1zP9EyIcHFIfqWxe49WgZCufesqr6Rkuso75qSSUTUurvfw b2btVOzU0TbmQFGKtRVTpCmFq6nAo+tGGottBBurUXU9BZ84CgZSqQvmu4LCM7neHPO3 MNNn4qUHS1YoJwJVRDamckpDyQLH4ieTK1HWraR6U0EHHJDwurX6HcdmB9vWuYp63Q5m Bnbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678272019; 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=1jYyQHp+/9YuMEtE/uedB5FIPDP9PN+xTt1eqblhxm66Z4ud4qy7kB7krz7Q4C9ubh qvrQ5e4l8DlosRp03t0g1/DZeIoguS9aeCLM1ktgx1IxcQxt1b2NWVrTe/Vc8NybU75f XJxH95uMUhNgJhAJ5yHykfdjWCXDoPmMbb31fi7uOPyjcbZslGgefVkblFcxlAUOBzij fvRzHHFKppZl+ZKMyWypis0zEMYbts+LRujd5VuS3mE5J6j0eMDXkEeTXSxLXKMZ36ks e0TCUR3UNt7UvRNda58TP/aoTPqAhPMMw+Kcx0dk1axamifPruHHQy3RtzIzbC7L90ow 0SHg== X-Gm-Message-State: AO0yUKVdtGr//8rtNSZNLylCj7jXaR8xOUXOWInmny6zrmWvdrJVk3Ur yBJ8lptE8QPwoJJK1Bsgy8flRQ== X-Received: by 2002:a05:600c:198e:b0:3eb:36fa:b78d with SMTP id t14-20020a05600c198e00b003eb36fab78dmr15272995wmq.23.1678272019563; Wed, 08 Mar 2023 02:40:19 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 02:40:19 -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 v4 6/9] arm64: dts: qcom: sa8775p-ride: enable the SPI node Date: Wed, 8 Mar 2023 11:40:06 +0100 Message-Id: <20230308104009.260451-7-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 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?1759797159824673950?= X-GMAIL-MSGID: =?utf-8?q?1759797159824673950?= 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 Wed Mar 8 10:40:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66141 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp258207wrd; Wed, 8 Mar 2023 02:50:42 -0800 (PST) X-Google-Smtp-Source: AK7set9hru0HP8Amagc8Jxr2o/rIVx9ZAQInFnsW2lQimvccAyo2ytKHdw0zF3tKXp8Vt0jL+dcD X-Received: by 2002:a62:7bc3:0:b0:61d:e8bb:1cb2 with SMTP id w186-20020a627bc3000000b0061de8bb1cb2mr859358pfc.15.1678272641618; Wed, 08 Mar 2023 02:50:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678272641; cv=none; d=google.com; s=arc-20160816; b=b9ViOmBPiArPrAtDFNUzsyjhltqC4aoY6cYvifaME9ULmCALZ7Ax9uuHfYARGWrRb8 oIc0qY8wkzYlAaAxIr3LntDav+WD1DWMXhZ4Wa2JZIUo2yeVEURm6jIN9+Lib26RX+Ey d434LAVoFauVWxbvFaEn/F0Rpr9PzIyNSB+btPzLv5Iwc+qZg8dN6NtZq65oTcP0XHRt 5BccHKDmi9cARh49yHzaINpR2vBlWb6ThTUClDqeGH78xHe4pZvwYnwSDMDXNmnalso6 tHQvgaYJE71yCbaR8SW4fL6PzweOH0L2VeMTxdmq3m/PzgtR/8Keh5ZUwHVq/Y5rJ8rI nRUw== 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=aIczb2Q7kXmWhiNYlRu3La2aSJAULsh/LcO5fB6EKp0=; b=cNRobl79aTNe5sKhyGpGjOTHcRxWP/no1Qde1rM/PXicWEpbGRpnVQ8URCARX76MkF 6oLdr2a6pYMmk5ihWzZgMB4jViRTlv7whkZH7hg5x7mewjZoPrzMULfy9vwOVI2bzGX6 SYgGvnV3o/P8LpwGkuYgrxGK9lnMzoK1WQ9yES9LqSwwtWmMghpXXqNO4WE94OBWsbaH vcxA/j5P1c/2G90dnBwcmDXMbO72nzEGABAycA1oiDwvZ/NBaZC2iAIWhUvowvksSVH3 prMsYHZqZXbDmlwctfL0WRPRZ0Ne1EpZ1A1q3fOo/z7iDh8D9QAVAlM/Hl/QMgz890YT UjPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=dYqP5PzD; 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 h26-20020a63575a000000b004e541ab794dsi14855399pgm.668.2023.03.08.02.50.28; Wed, 08 Mar 2023 02:50:41 -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=dYqP5PzD; 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 S231296AbjCHKkr (ORCPT + 99 others); Wed, 8 Mar 2023 05:40:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231154AbjCHKkX (ORCPT ); Wed, 8 Mar 2023 05:40:23 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E4029CBF6 for ; Wed, 8 Mar 2023 02:40:22 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id bg16-20020a05600c3c9000b003eb34e21bdfso962777wmb.0 for ; Wed, 08 Mar 2023 02:40:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678272020; 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=aIczb2Q7kXmWhiNYlRu3La2aSJAULsh/LcO5fB6EKp0=; b=dYqP5PzDHB7kHW/GYzCdC4fcjnq9olULmSIXWjxpTjXXGsPWNjLklh6TJWPqm0OhAk ufCbiHtaaiTSH+ZX6Znz09eDpjvwteGD8Umb04hbWhiNgnM37/9pwDo55eJb6omNsnGo pnOYQhl4jYSDvU37bZZcwyTMQft0b0NS8Qx0biCWZ7LXh46K/hosDT6ZxibtnuGH8rGo P1tcTfCXcySKIiGHtT5ZLABES7rHJpxN80KB5H5klPe8LB51jiof1yHnL2tI17WnSYI6 tPZ2+xvb9u840OoQBzaa3jGb4Vd1v+eIc3H/4mso0Pbf27LyM7yCBqhSYLrn4ZtVfSmM RM9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678272020; 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=aIczb2Q7kXmWhiNYlRu3La2aSJAULsh/LcO5fB6EKp0=; b=RUt4jX2hKcekaMwB4Uy0fT3Q0MwvBq62hVPAuIC3Ca0gL7xgQv6uiNkS2VvGQH/bs1 hK+b+nN5BdL/GPRF5208EV2Bs8HW2qL0sHJxN0ueMobxiAsQmWqSdPrnNzq6i1YnP4iK aJkVS1G816HPs6qGvUM3lsNm3Lto3dfOMc/i3Q4cqEwwGvE0AtnSaFI9Qaoowxzj/Wsy wpciiipsqpK3y2a75fAODxCz+cGpkN3PI4P1GeCFMuh0Qno73Id7d0Jq1sUonj3pDltm Y+1qjPi5WnpmlRzx8NYRhGi+46kH9RDb2S0Tdb4cs4r19dsi60dyyWzYO7cNiksqUjTo 8n4w== X-Gm-Message-State: AO0yUKUnIHf/6Doddd8ZDspJcuVMlvVvS40qAa8zgAQcBGqONaSWWv6G 00xXxFSkBP17SZ8P1GtIqBv/bw== X-Received: by 2002:a1c:f304:0:b0:3eb:29fe:734a with SMTP id q4-20020a1cf304000000b003eb29fe734amr15720206wmq.39.1678272020489; Wed, 08 Mar 2023 02:40:20 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 02:40:20 -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 v4 7/9] arm64: dts: qcom: sa8775p: add high-speed UART nodes Date: Wed, 8 Mar 2023 11:40:07 +0100 Message-Id: <20230308104009.260451-8-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 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?1759796413814057456?= X-GMAIL-MSGID: =?utf-8?q?1759796413814057456?= 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 | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index 992864e3e0c8..5ebfe8c10eac 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,22 @@ &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, status = "disabled"; }; + uart17: serial@88c000 { + compatible = "qcom,geni-uart"; + reg = <0x0 0x0088c000 0x0 0x4000>; + interrupts-extended = <&intc GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>, + <&tlmm 94 IRQ_TYPE_LEVEL_HIGH>; + 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 Wed Mar 8 10:40:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66146 Return-Path: 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 + 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 ); 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 ; Wed, 8 Mar 2023 02:40:22 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id az36so9514916wmb.1 for ; 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 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 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 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?1759797288085085439?= X-GMAIL-MSGID: =?utf-8?q?1759797288085085439?= 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 Wed Mar 8 10:40:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66145 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp263248wrd; Wed, 8 Mar 2023 03:03:27 -0800 (PST) X-Google-Smtp-Source: AK7set+bCuZGNmTG1565lg56YhyY1mhxmr3nBELU74jzcVwZ8QLGfby1uzFpzdRC+XwrEILbE09B X-Received: by 2002:a62:3205:0:b0:5df:9809:2e95 with SMTP id y5-20020a623205000000b005df98092e95mr14263288pfy.11.1678273407234; Wed, 08 Mar 2023 03:03:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678273407; cv=none; d=google.com; s=arc-20160816; b=sldqdgueqW+pIQNN/jEv/EnUbLeRj85DmZ0LrMnTI6FdnoodouLWN8GANlRVmTd7c3 jCJ0bQEVoCF0NwCu7hYyCpUgfhtls20Xv6SYbvQA40dUfGbZwskxXfgiyQGweTLyPy0R 7WNRfy9ZtW29hn7DffhXIzsTgEx3FW+2UYcVagWBZ0mzJWNGbNNSCHIomHoq3LbrILhJ wokGYms6nm4UP6L/Cnk+2bAc/o7+0ET8dQIuUS13xMZtPf22hxyNLOxFRXEhGnOmMoFg rXJ7SqfO4dCNQP0FE38l3f2UXBqc+xiBo5k6AfaXwuPDmQ3i5cT0V4HTbbWVNDlXAOXR ZxHw== 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=7VRi2G4KEj+b07eyuUbygI6sMFWcdu49W+sjsRAYS8M=; b=LYZ9fQeJlR4u/kd9ZgHXZM06kiwiMeHG6882bhxCctzHd9N0NHfuC0Y+Q8/kMePbqE XjFAt0KMCa6UXhKV+G91miGiWT2hsMOjemSLObt8XWNLSKB3MtBRdZzzb383fLnsagAX DUySF+BUbJw48aWh3OCjVhy5KehSTu16aQkdVJCloQbnEyx1HIklBcFpLJsL6FTGQ4pY s8L2Lf6xYMWhkv7Qt4+SMKlwirXesZ2+U8qhfiFJgtSFowIhxRokL7BHNLyaz0YN1R5h XWzZ29lKDO49/fnFV+/SaU652g2zdblYkX23F/AP0fGvICjxUrH6shKfonhk5LK/XBr3 YAZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=hO8I0bUF; 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 j7-20020a625507000000b005a8b856ad47si14926734pfb.7.2023.03.08.03.03.14; Wed, 08 Mar 2023 03:03:27 -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=hO8I0bUF; 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 S231285AbjCHKkz (ORCPT + 99 others); Wed, 8 Mar 2023 05:40:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230377AbjCHKkZ (ORCPT ); Wed, 8 Mar 2023 05:40:25 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA20AABB1B for ; Wed, 8 Mar 2023 02:40:23 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id e13so14855314wro.10 for ; Wed, 08 Mar 2023 02:40:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678272022; 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=7VRi2G4KEj+b07eyuUbygI6sMFWcdu49W+sjsRAYS8M=; b=hO8I0bUFQcnMGnrxYs8/YBjnrSOXnpbVZ8zhD6i95pbMuPxPeUww+PZ8y45xlUvNKn Yxb08P8YKQ7NjdQelZtIIJ9EFYzIcvMrlmMo7++0V0/LK3WTboslwdEUU+AdGEQHB6EV 4mb3ArygA/1wR53r1PHEXj8hj+wagQRYe3s57ts4d1P3MpXmWX5EpX51KK7rxLldLVpz 5MuNMyj1luKVCWX9Cmy56M20o5enhtQkMVTNb9lay5DvpdF7NnPaK/teQXTtjf9dAxgF mJXlTR7V+T3JpivJww0TUSI+Bp1a+8RTNZOYsdqMZf78HAcCYcLGwFVYirb73gpm/Zkx M6OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678272022; 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=7VRi2G4KEj+b07eyuUbygI6sMFWcdu49W+sjsRAYS8M=; b=RghFw8n1Xluku7h9+W5Sqi8SlQIoDVBnPxZQYKtCcQCh05QmAlGOjM5BNsF1PbCVpN omXLCWQ1APmgnWEgm1EK+7otiHGwaLQ+a/YOM43hX+poeimIKutnkOOidIIGPWN8ymti J2m4RV1zgiZe/WTMvSqj6KG5GOiNAdeivB24bQBaxc2no7byVS+TK8Y/861ikqNr6egH TW2i1OKnzzh+/0SbgH8IezP5m4wnwhDXBXT+LURp38WH9DJVStmzJnji8c04BQZzsaDV LR87rYDxsMfocIN338FpG4ofYRhrJZsGmuNEB2ZVn5hMU92/bo3ZTQKpNCjRysVgWrXU 3k7Q== X-Gm-Message-State: AO0yUKWTUnPU1f6N0/VlL2GYBzI6ibE+7FBPgw9Ssv4gaJaxNdZrkIgJ AhjUHQ63vk8MSkQvILHKqOXBQg== X-Received: by 2002:adf:e70a:0:b0:2c9:e3d:88ca with SMTP id c10-20020adfe70a000000b002c90e3d88camr11179433wrm.67.1678272022251; Wed, 08 Mar 2023 02:40:22 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 02:40:21 -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 v4 9/9] arm64: dts: qcom: sa8775p-ride: enable the BT UART port Date: Wed, 8 Mar 2023 11:40:09 +0100 Message-Id: <20230308104009.260451-10-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 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?1759797216328954239?= X-GMAIL-MSGID: =?utf-8?q?1759797216328954239?= 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>; };