Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1840026rdh; Sat, 25 Nov 2023 05:05:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/AQRtSIuyq7l/GcCXTEypHncXHUeFzdl92ft/KfAp7BcsLQ8kOoF2as1hc5QPUajHV2Tz X-Received: by 2002:a54:4499:0:b0:3b8:339a:85de with SMTP id v25-20020a544499000000b003b8339a85demr7183603oiv.13.1700917507550; Sat, 25 Nov 2023 05:05:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700917507; cv=none; d=google.com; s=arc-20160816; b=b88jqi0x4unqeDRQH34XJrQc+U+NtCvbaOse2gLx5O9zhnHa3e/1LxLLe30daa8yDU w78orja1GLi7l6DeSTz+S60w58K+JtQ09dYSRK6serF7ZQNsvOQ2Aq0LKb61an9NshPk lPgz/C4JP37nD7mZhmS94g58FScDSBADtcZflkzPqiK9WtKiMGbAX74htWSQQFtDWMlY INR7TqEmyU9dpjMb4nKneG3h+vvjtMNNnxmRYwkBDVar79yJiazzcFVGSKN5goswA3Gj /HtnhJvLRKVcuKccjLAw3z6jNPVCB6kfnlRoo4EeWiCQc9lA7BAgueLSiK214vvSUYiv EdwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=tG/eml13csvxIp1oMDXpaSHee6jGTwYfsVkZCG1NSN8=; fh=eHG+RAOcICnzA87RuMie1IWZNGQb3hwEDg6Yr6gwrl4=; b=l8ovJSTWV3ZUengBDFhzFu7HSiB1UjJwOJs9iWeoSCQXYQsqhYgjk+Oct/UDi2MEcd GTJ40+nMd1lvlSrq74YnLUw3sNqiZBlsG2owBp2RnMm3KM+ZL1xtS2Y3Bl5exPcqtgfy mQJAZ6Hs2kuqB7huQ2Hn1mJaLobvoFcNJTLOGu5tIRKVAxWhNBDhbYZ2gazDu/se7vnw ++pHGwcBm7/85zgEqc9RNehawqqN1EG2JdNccuoDsseyR0h1jTRmzRLR/3B9nJtvFfc0 mJhgRbwL2L5nLOocrVrcsLh05axNNPyR8AtWnSsxe6t1bHJrnFR2wKXLEbTYKzJGC4AN Gtkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZJHHidH1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id bq14-20020a056a02044e00b005b91518ab92si6099383pgb.671.2023.11.25.05.05.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 05:05:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZJHHidH1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id EB6E5804755D; Sat, 25 Nov 2023 05:05:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232137AbjKYNEo (ORCPT + 99 others); Sat, 25 Nov 2023 08:04:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232133AbjKYNEn (ORCPT ); Sat, 25 Nov 2023 08:04:43 -0500 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DF27D3 for ; Sat, 25 Nov 2023 05:04:49 -0800 (PST) Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-543c3756521so3704964a12.2 for ; Sat, 25 Nov 2023 05:04:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700917487; x=1701522287; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=tG/eml13csvxIp1oMDXpaSHee6jGTwYfsVkZCG1NSN8=; b=ZJHHidH1Yy2ivuHaeobn7Ya6+3bpYvRz+2lusm/N9325VBQT5IoIuEfs3HbXO8SedU yAUsEQm+s9XatiUP2B3gBhGDWqS3rzozq7CmL78un284P0MCjoQBlfYzoZbF3rL8oVJs vJ84R8OEbLGS+qcCeJHpemce37ZEFbQ91dZmdbU7YLtdSPzQcXPjh0Zbw8OB4USTK6ls R5O6JrK8UUk10gF2bmoNd/Wp4gl3wvsjPNgtv5gYATkPSMJZCp5SX/O1tsiwDG2oCs6N LjLUMsPZksmsiQEPkZdpyJYGqca805zr0FRs/SzzN6NJM2pffiv+JPrc798o/ojFqpoV ybaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700917487; x=1701522287; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tG/eml13csvxIp1oMDXpaSHee6jGTwYfsVkZCG1NSN8=; b=tp3HP0NVrQnoJOYBpakXAjlIbbgF5ct1typFGtJj0mfji5647+H73gXh0zRlrOYMqx SFbr6Vp53RuVsWhih3lKt8g2aNB5b2Ml+nHjDdhSNGhnF9QT8mXnDPtizxju8udTw1Qq ET/lfkq76sQN5pA0PYPtz9mDLmVjXRym9afBIAXLyp652PeZ8ymf7yaNH6RIeN8Pf7Vh qWGoGvSWonnDlZlKQNH0mCVdoSL8THgx4c/aWsHjiOXpRSQ/dPiozJmowRxByvGcfgMR QLwsRY8zaTQ4YPgdAKn3ntF1uP9kik+950xMt4mF/wPYe6QLxzXLQvuy1Fb4hC5q6pHe LyZQ== X-Gm-Message-State: AOJu0YxfxtlTPi8tdsAC3N8LNbKu4EEzkzEiwNc61Ttr0fpYXx3okZH+ xdlkFWMP4WY/6snnXG6u36gKjA== X-Received: by 2002:a17:906:b20a:b0:9e6:4410:2993 with SMTP id p10-20020a170906b20a00b009e644102993mr976066ejz.18.1700917486865; Sat, 25 Nov 2023 05:04:46 -0800 (PST) Received: from [10.167.154.1] (178235187180.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.180]) by smtp.gmail.com with ESMTPSA id q22-20020a170906361600b00a0290da4a50sm3433750ejb.186.2023.11.25.05.04.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 05:04:46 -0800 (PST) From: Konrad Dybcio Date: Sat, 25 Nov 2023 14:04:41 +0100 Subject: [PATCH 1/2] arm64: dts: qcom: sm6115: Add UART3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231120-topic-rb2_bt-v1-1-509db2e28e70@linaro.org> References: <20231120-topic-rb2_bt-v1-0-509db2e28e70@linaro.org> In-Reply-To: <20231120-topic-rb2_bt-v1-0-509db2e28e70@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1700917484; l=1620; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=kYyiyFCu+n/yVlnn1CSwFTlalzCOHYGEMtzMtZRhGhI=; b=G5ebID7d1aULu/2B8nMXlCvmpQ9JAsfd1g4jYrXsg872o8+HCNHRlvntlEVOWAespFq8teleu 0hr1msx4m1PBQoDJGHIkxtcp1/b85oaYbPPAgOyt5sHDJjKxY0wT37H X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 25 Nov 2023 05:05:04 -0800 (PST) Hook up UART3, usually used for communicating with a Bluetooth module. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 839c60351240..0d13d7bf6bd1 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -273,6 +273,25 @@ memory@80000000 { reg = <0 0x80000000 0 0>; }; + qup_opp_table: opp-table-qup { + compatible = "operating-points-v2"; + + opp-75000000 { + opp-hz = /bits/ 64 <75000000>; + required-opps = <&rpmpd_opp_low_svs>; + }; + + opp-100000000 { + opp-hz = /bits/ 64 <100000000>; + required-opps = <&rpmpd_opp_svs>; + }; + + opp-128000000 { + opp-hz = /bits/ 64 <128000000>; + required-opps = <&rpmpd_opp_nom>; + }; + }; + pmu { compatible = "arm,armv8-pmuv3"; interrupts = ; @@ -1208,6 +1227,17 @@ spi3: spi@4a8c000 { status = "disabled"; }; + uart3: serial@4a8c000 { + compatible = "qcom,geni-uart"; + reg = <0x0 0x04a8c000 0x0 0x4000>; + interrupts-extended = <&intc GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; + clock-names = "se"; + power-domains = <&rpmpd SM6115_VDDCX>; + operating-points-v2 = <&qup_opp_table>; + status = "disabled"; + }; + i2c4: i2c@4a90000 { compatible = "qcom,geni-i2c"; reg = <0x0 0x04a90000 0x0 0x4000>; -- 2.43.0