Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2725246rdh; Wed, 27 Sep 2023 10:42:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEJAAmocQ+4+bvvIsGmJlPUiID2dN9im8WMYJzk8mbtAc6RWZhSGctmOt8qL60EYiMMHN7d X-Received: by 2002:a17:902:dacf:b0:1c6:1861:70c with SMTP id q15-20020a170902dacf00b001c61861070cmr2857411plx.20.1695836571184; Wed, 27 Sep 2023 10:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695836571; cv=none; d=google.com; s=arc-20160816; b=ADtz/qnqEK/GdnFz2Ah7fud6lFW220MFeGEy7dHXf5W+Dpb0QrCw38b7GusseC/u8Y 8Cy87LJDvDtyC8B0Vg2aa3hfn5hLDSdzdbSJw7kIjXOUieP7e2Xp7v8VMBpL6qLboCa+ rJ/KXcA1lM7yz9/njKPzrs051ZCQDVyl8lSImWliCHSzuco+u2oEjS2qfGyJyMj1KR9z duoDooWZdmMXpJw4H05ozmyHGsoawftEV293fAltlVmsFk3/GjGxKo71XpVSLlPdljCm 1RYEzBaEuV5DOhakBAmLoqm+YFD9gXsqmP8Rw0qymPHuJaYSaSDnZYvGptJGlWNGtgVl HWcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=IWg5TiNW1Dws0r0H6VHI8s8vbhc7ehxun/IKO0phH0Y=; fh=zGi5CJJZAMw9xX2pTJfTKGkVHPWNauX/uQAeZ0/4YiI=; b=RHZ8YGummd6A0A33rvQ5/eNh4PFQg8nlcPtB8YOtRI3raDZiEQF8uRCz7dL9kLkgqD duzl/U6ZOV0S5rvnWs3kLVTMvK3DhDb+wI7weXREpck8u3bfQHwzPqLVbCGb8Un/H+gF /v+uynq84svEaBlW5UIJPB5S6pbbwGjasCsiKqJ5Af5B/djdVFfOCerqMsPeYMmZJKif rDYKPWFQzh4kCuCZT1/oFTJQfmSsVW7I/QjMEOvNb6MmZtqjr4gJQFz1McnDjXmOUeMC R9FpCGqzkalgmQpQk5QC6S54svQjSetwtaWOdLEmcsvZS4zm9MWOZhuf7cJCItbTxpzr 4mxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ztCHOP7O; 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 x4-20020a170902ec8400b001c5f0fd51bfsi13471078plg.100.2023.09.27.10.42.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 10:42:51 -0700 (PDT) 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=ztCHOP7O; 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 0349B80B5A33; Wed, 27 Sep 2023 04:00:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231211AbjI0K7x (ORCPT + 99 others); Wed, 27 Sep 2023 06:59:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjI0K7v (ORCPT ); Wed, 27 Sep 2023 06:59:51 -0400 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 2F430F3 for ; Wed, 27 Sep 2023 03:59:50 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-405361bb94eso109288025e9.0 for ; Wed, 27 Sep 2023 03:59:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695812388; x=1696417188; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=IWg5TiNW1Dws0r0H6VHI8s8vbhc7ehxun/IKO0phH0Y=; b=ztCHOP7O6ndfRucAyWcGFFtW/OD19VIZcg4K2Byr1Uc+GzrlkS8a1fp5Et5zs3vz0u /woZeMS+Pop2neTfqe0VM/j0UtPydkFJo7RftnZtI5io61NJuYBGWyK6kH+A/w4hqi/d /T6Y9cUJrWyAcmmiDdtDPCm8ASkTMI7duMDi2JBRwMF96iCF/Aw1nu17nbOybod6eL83 T9+gIdxNaWcDypN9RZlDkSr1zHYVgGl2CnWQOUDdAsbpHXDKD5i0lBKHl7osekZmiFJh fsXskhtxLGr2JxrJjpPFcEO7pTrrp1J+5vuzT9Ce+jTpUGUaaeJnkhVd5PAkhK7Kxc/O XYlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695812388; x=1696417188; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IWg5TiNW1Dws0r0H6VHI8s8vbhc7ehxun/IKO0phH0Y=; b=GSzzGMU4C7MIxydLaS5mUuJD1htVnL8ZRDjsXPjb2RwRgEQWT0+0DvuDLUAbXzv2Lh Wr50BzN52wbuBYyM51m48BMpRE1A7D4oC9G1w1zwx+YsxOP8RDzLqeugadqDJQqLqTYC w80DXEZwf4jyJI4A2L8xd5mexsC5lh9FS5Cwnuq3duClLzZWKq0JmUruTqPqlUV0yA6Q RRNTRhHeb8aJ1zR6r7706szsIucqZ08uNvpExxdb2q0lpQfGKsKqCprNW9qzQTXyJRGz SBtaNYEFuyH2QdKTyuzx61I1GNm6bN17mCZtAP9d1Z2tIQqJZEixaeXtkqFXKiZMNK/0 Wvrg== X-Gm-Message-State: AOJu0YxFKrOksS03d9y96JMTmKBJoQGcUUcZAwgCvx00HI911tOQ7UtI GDhnhFZnmBQ+5wnAMGP9yWiK+Q== X-Received: by 2002:a7b:ca4d:0:b0:405:359e:ee43 with SMTP id m13-20020a7bca4d000000b00405359eee43mr1694856wml.1.1695812388513; Wed, 27 Sep 2023 03:59:48 -0700 (PDT) Received: from [192.168.0.162] (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id p19-20020a05600c1d9300b0040531f5c51asm17650473wms.5.2023.09.27.03.59.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Sep 2023 03:59:48 -0700 (PDT) Message-ID: <7f4f3e06-af20-4276-bcb9-6ad7acbf9c35@linaro.org> Date: Wed, 27 Sep 2023 11:59:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/4] arm64: dts: qcom: sm6375: Add UART1 Content-Language: en-US To: Konrad Dybcio , 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 References: <20230927-topic-6375_stuff-v1-0-12243e36b45c@linaro.org> <20230927-topic-6375_stuff-v1-1-12243e36b45c@linaro.org> From: Bryan O'Donoghue In-Reply-To: <20230927-topic-6375_stuff-v1-1-12243e36b45c@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 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]); Wed, 27 Sep 2023 04:00:06 -0700 (PDT) On 27/09/2023 10:21, Konrad Dybcio wrote: > Add UART1 node, generally used for the Bluetooth module. > > Signed-off-by: Konrad Dybcio > --- > arch/arm64/boot/dts/qcom/sm6375.dtsi | 43 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi > index e7ff55443da7..2fba0e7ea4e6 100644 > --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi > @@ -896,6 +896,36 @@ qup_spi0_default: qup-spi0-default-state { > drive-strength = <6>; > bias-disable; > }; > + > + qup_uart1_default: qup-uart1-default-state { > + cts-pins { > + pins = "gpio61"; > + function = "qup01"; > + drive-strength = <2>; > + bias-pull-down; > + }; Any particular reason you are doing bias-pull-down here instead of bias-disable ? > + > + rts-pins { > + pins = "gpio62"; > + function = "qup01"; > + drive-strength = <2>; > + bias-disable; > + }; > + > + tx-pins { > + pins = "gpio63"; > + function = "qup01"; > + drive-strength = <2>; > + bias-disable; > + }; > + > + rx-pins { > + pins = "gpio64"; > + function = "qup01"; > + drive-strength = <2>; > + bias-pull-up; > + }; > + }; > }; > > gcc: clock-controller@1400000 { > @@ -1111,6 +1141,19 @@ spi1: spi@4a84000 { > status = "disabled"; > }; > > + uart1: serial@4a84000 { > + compatible = "qcom,geni-uart"; > + reg = <0x0 0x04a84000 0x0 0x4000>; > + interrupts = ; > + clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; > + clock-names = "se"; > + power-domains = <&rpmpd SM6375_VDDCX>; > + operating-points-v2 = <&qup_opp_table>; > + pinctrl-0 = <&qup_uart1_default>; > + pinctrl-names = "default"; > + status = "disabled"; > + }; > + > i2c2: i2c@4a88000 { > compatible = "qcom,geni-i2c"; > reg = <0x0 0x04a88000 0x0 0x4000>; > Reviewed-by: Bryan O'Donoghue