Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2956317rdh; Mon, 27 Nov 2023 03:23:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbk3IE4blkR4yRP+UKKzzRNWtJ7enzYnJ/zWQNAfoJ9RAoyQSTvOR8l3HyWLa2faUmjUW3 X-Received: by 2002:a05:6808:308a:b0:3b8:6151:cacb with SMTP id bl10-20020a056808308a00b003b86151cacbmr5727194oib.10.1701084229620; Mon, 27 Nov 2023 03:23:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701084229; cv=none; d=google.com; s=arc-20160816; b=m7pJMLbcwlRavyWCC1AkmRYXCVJ0HvRzhlOP5qvV18RT7RO0ISLSVhz4uqaTp8zV0J jUF7JkEVRobyjNfVvXslPGQ296Y898TqobdRgWv+SrNMXM7Y65T3IHsEiDeNYzPboqcs cVYLVAE1cCx80KNNLBfOE/iV20XerLGAAMqw/T007UlmNzB6GrQFxQknrJul/XozqOLO qq0UGaK2npELfjjd/X2yFXlAVw9zFOl5OHY9ieYVjTIfvEO59X4ZWLveOXEuYfsOuiPV +GaDLphpje5XllPdzn4BaL3VVlhI0FFJ7MkqCsUBiT1h4auIRyCXncW6PFOOKcrYS+7o zSIw== 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=BvkFOc8sRrk1y+bNZ8Lu5d+KOQmz/fK52WJEyE4LmuE=; b=JmFWYcqwQnhcL3c89oYhV1BN8AisGdEAcJUH8RSjDtNLF86IPZ6lMMeET4mNvDq2d8 mOHKt4ggJNBsZvT1D7yJXuZOUJZvtJgjeA20fFMzzc8HpCNg1hW/WlAHa2JB8vgYXz1f XVnAhbHONG+8/iR7OO+PWD3p+uvl3n94QTfi+8yYPS2EhB+jpXh21bBgSQFPqFnWLpB5 X9TGtfkQQTVeIMljII7pf+ac7LZHCih26q99gc9/ThZJxAyWa8nSYNENHAyitMaHpKWJ bhcivcZDj/pDsTnoNSokwcnhDfXg8dx7hjYf9Z/d/kCO1caqjvZJyjMc5EWLJsLgDUho TYcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KfgOWrr4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id n7-20020a634007000000b005b874265d1fsi9455566pga.513.2023.11.27.03.23.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 03:23:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KfgOWrr4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 7B725805F0A2; Mon, 27 Nov 2023 03:23:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233140AbjK0LXe (ORCPT + 99 others); Mon, 27 Nov 2023 06:23:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233134AbjK0LXb (ORCPT ); Mon, 27 Nov 2023 06:23:31 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FA42191 for ; Mon, 27 Nov 2023 03:23:37 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a00c200782dso596111366b.1 for ; Mon, 27 Nov 2023 03:23:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701084216; x=1701689016; 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=KfgOWrr4O9usu7DOTUJmpw/sdcN5gc9FWta5OoyBH6sk3cWRBOp0pFyYC46QlStN8Q XNTRbSlVDBy/ZFYcB8Qm0NpgY4HvlNHpUQTvGDPBxQJSoOaO6DLTtibZbB6LP5OCZRmv fd9DXG6iq6zNUTKZLbIWCQbhdBE3+IxE2j74mRYPaOe4dtr4RYSNT3PRe5EfsXRD/IE8 QyB6tjZhLVhKQ7y3keJnAV0uU3L/SJp+ufKqDLSexXXbX355kLdCxD4ABAbkUZqox0wx UpZjXruj+jnl54cEGXeEn1wF6uZytlDPVZhlyt5n3SZDyBKDuWwBxWWwIIisk4/hWvJ0 ghFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701084216; x=1701689016; 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=uDZV2ZAkQZcPzi83yjXoPWKRNFxkJPuuc9iXAkIdcVEOq6ucmMEPm9Je90azESeUrw VZhEexClTS92GeuOx4YZf2L0NqR3hIpWnb8lWMbI79hv+ycexFfKBDCoZ+goeU0d17UK HWM8MU+D02KC7SVA5I179F3uLeFBamcNYiq4kVuP4SEC3Y7WvxnNCmjqWhubGFEjiWFb X854LR+I6nQ/wJEsQEgGWDe01s7L0tTQltII98Uy/yw8traCY5PGyg2pSokd/FKTLa3I pViTN758SNydwZLKdVKPOrE88ODG8xEtvZgWqHDLvD2mcmexlZz8+7gvcw9t2ToG9EkN SJMA== X-Gm-Message-State: AOJu0YyuQa82WpLwjtjSixzWUHl20oyCj9/VOp4VqtAR8hh2Y4YcHVg0 rMXusq1Hlo3xZjJ9tUuM7oWuEg== X-Received: by 2002:a17:906:2306:b0:a01:8957:7c75 with SMTP id l6-20020a170906230600b00a0189577c75mr6727359eja.11.1701084215850; Mon, 27 Nov 2023 03:23:35 -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 oy9-20020a170907104900b00a0db5da857esm1804866ejb.217.2023.11.27.03.23.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 03:23:35 -0800 (PST) From: Konrad Dybcio Date: Mon, 27 Nov 2023 12:23:27 +0100 Subject: [PATCH v2 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-v2-1-4bbf266258ef@linaro.org> References: <20231120-topic-rb2_bt-v2-0-4bbf266258ef@linaro.org> In-Reply-To: <20231120-topic-rb2_bt-v2-0-4bbf266258ef@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , Bryan O'Donoghue , 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=1701084212; l=1620; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=kYyiyFCu+n/yVlnn1CSwFTlalzCOHYGEMtzMtZRhGhI=; b=Var6ClDM79jvegu831olSzRh7LYB42zq/l205tA37Oif102CfzMuic2pxTVWa5oRDYzGQ2/+l NE/8KZ74Xu+CYYfvD3Dp4ojAxgbXJYqJ53e7xiXJ4/Go2+uXamzAtcU X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 27 Nov 2023 03:23:48 -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