From patchwork Wed Sep 27 09:21:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 145364 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2605831vqu; Wed, 27 Sep 2023 05:54:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFP171A99fvyeMDH/QR1dr3aSkcABalkrFBkFORclSjEKFFOy/czfXUPtE+/lGzchCc4pFU X-Received: by 2002:a17:902:dad2:b0:1c7:2d69:4ed4 with SMTP id q18-20020a170902dad200b001c72d694ed4mr790328plx.16.1695819290909; Wed, 27 Sep 2023 05:54:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695819290; cv=none; d=google.com; s=arc-20160816; b=Vi7dYGY6xTuzrx6dsWpZGczcFhvmF/rFdJ0TmLSBEWlGrQJp3/jWWRA1/zk4PZo8Fz JsgLIADzJYndDYaydLufq1LKPef0U7QaSqITNjOQlPIZLMXKHQOVktjbA4FjFloQrlVk aSwJN9t56veA4OzMrNA2k3x9dSYmvbMilgFyszPb5wbGV573US7R6TvGmp+kft7+xvAB AyivcNyvPMhFZsugGxo8r+0sQOeL2rz43Dfuf2g94czvlmidB9x75bwCWD0vmTtj6SIi MATTC3zS0PQxc94GWPMyfRgAKevcZ41ZhUMm5J26qq2Nhzhgv0fc7m6mB7OUpgw9KPK0 Ytjw== 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=YrNZz4J5AB8k8tkCs4OKVB/Yb88Y5s1jcClgfUjs9SQ=; fh=eHG+RAOcICnzA87RuMie1IWZNGQb3hwEDg6Yr6gwrl4=; b=r/UhqP/aC4UJl+r7D/XSLCnPmaitmn1fAtae2E/hYxBfxaxfe+RkwCd5iQ+aY++rbb BBOq5w7DUQ1LDTJJsqOWSzzZxr3ZGHLVzaOrB8nL/I5khcRe41rv1+Pto6H8n/tuumqo K5ZfIm+gE1Nv/101PUl4ieRUId19Rq8Qg1E8iovTNmvOt5iH/pVO8LVFwhDQVloocGiN vb2TQEufNoIwntbQ5m3PtAOZ2t/zONhBmIQFb/1XHVsE+HeppZdnP+LULNWTWvVVdQ7m IOpnEATxSgvqRUetBT+lhlA41G5pKaTuB1HhwXHPjf44qo/8cI4D3SwXlb2UudCljF3b eaRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="CkgDm/AS"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id s11-20020a170902ea0b00b001c36705bce1si16729532plg.474.2023.09.27.05.54.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 05:54:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="CkgDm/AS"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 9707082A41D2; Wed, 27 Sep 2023 02:22:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230395AbjI0JWA (ORCPT + 24 others); Wed, 27 Sep 2023 05:22:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229803AbjI0JVx (ORCPT ); Wed, 27 Sep 2023 05:21:53 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F48692 for ; Wed, 27 Sep 2023 02:21:52 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-532c3b4b55eso12712941a12.0 for ; Wed, 27 Sep 2023 02:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695806510; x=1696411310; 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=YrNZz4J5AB8k8tkCs4OKVB/Yb88Y5s1jcClgfUjs9SQ=; b=CkgDm/ASGW4OdpwDxXQJPkm+CDuW2cJOvL62rKvItYXe/KmhSkTGOIyAPewEGA2GhE U325O+WXTXqPK2crI+v7C9sGl3vSdL5MKklcUDpSU477Y1yblgqfIInqL1Vv5ePS0ZEU G4iSHtmZ1LGhm4bKt+3s72omxgaQxSLX/bvuV4wzNgJrKN53DnuTZiu2/U8ZnNoa6E8O eye6XWg9hvhQMFyDusXdkmxoU3aw0Xx96DdGuPJP32mF3qrDL1L6/JOkNRRmhuQeZ9QL DXTeAdhb4N1iJY4o/nLpwc4rlmmvqg0mRu92vG5hfHtzClP8/KJwREdtQW0WWTacNWOo tirw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695806510; x=1696411310; 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=YrNZz4J5AB8k8tkCs4OKVB/Yb88Y5s1jcClgfUjs9SQ=; b=vi5wZpmQC6jpW4BPNW8swdoR0+0X5w9w8K1TaqLZCgEias3NimkflZ6J41Emd6Qsu8 UKDUrEP2ydAGahxIJBGUEbZURXFJeAlw15Bw5DEjn/RT6yte4tMa3nndAsWW1f9cuAnr QLOVXgs1pt1DWZLHGNSVNXf9ZHK4kKYrHWn3e4f225HWUQ1j9uOXXkZKQUJ8np/14Bz6 dUeSP3I8RiaYWIOQNSxhdNK/2859wQyadGEcz+fEFYASdphTdrVVfJF6yQchkZXuW3Km cy/CswHGRUo+CuNJ2zJuivLR2KQ6q1jiE2OYzVJ/BOxqdS9VX9Fi6F9akkweTbBUlLyF euHQ== X-Gm-Message-State: AOJu0YxGaOuyodgFuMW4sStC6OQjqH86eqhMGWT6YokBTGvBc8sYY/1H k4jgv1SdfkU3KOqBeRMe1cvG5A== X-Received: by 2002:a17:906:8466:b0:9ad:e2c8:1741 with SMTP id hx6-20020a170906846600b009ade2c81741mr1143116ejc.58.1695806510527; Wed, 27 Sep 2023 02:21:50 -0700 (PDT) Received: from [10.167.154.1] (178235177023.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.23]) by smtp.gmail.com with ESMTPSA id qq23-20020a17090720d700b00993664a9987sm8948574ejb.103.2023.09.27.02.21.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 02:21:50 -0700 (PDT) From: Konrad Dybcio Date: Wed, 27 Sep 2023 11:21:40 +0200 Subject: [PATCH 1/4] arm64: dts: qcom: sm6375: Add UART1 MIME-Version: 1.0 Message-Id: <20230927-topic-6375_stuff-v1-1-12243e36b45c@linaro.org> References: <20230927-topic-6375_stuff-v1-0-12243e36b45c@linaro.org> In-Reply-To: <20230927-topic-6375_stuff-v1-0-12243e36b45c@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=1695806508; l=1838; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=nKwVvVENwQlrT+MFxAKAsgUztjCszp4MAxYLAwEAU5E=; b=5qenOHOxD4iU/AlqhBhUgcQlADszVQIO/2tGeWeoTJqDP014QTQEhy/Ox/uA3gak6K8orXIgY tnRfRXcQ8uZAX8K+svitb1nJSgAy9wXymQhYnK0H6/m4xnGfoTRtKxA 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_NONE, 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 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 (howler.vger.email [0.0.0.0]); Wed, 27 Sep 2023 02:22:10 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778195408991960640 X-GMAIL-MSGID: 1778195408991960640 Add UART1 node, generally used for the Bluetooth module. Signed-off-by: Konrad Dybcio Reviewed-by: Bryan O'Donoghue --- 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; + }; + + 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>; From patchwork Wed Sep 27 09:21:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 145659 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2998443vqu; Wed, 27 Sep 2023 18:03:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG7FiJr60/5T9wLx7ld6n7ZKhp4bOneuQ5uxfTwusSf42fCk+KSjFuYZwclK0ej/BWEmK0B X-Received: by 2002:a17:902:bd94:b0:1c5:634e:e12c with SMTP id q20-20020a170902bd9400b001c5634ee12cmr2894685pls.37.1695863028887; Wed, 27 Sep 2023 18:03:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695863028; cv=none; d=google.com; s=arc-20160816; b=fqbLU49NOgidAOX7aX4XRVbOPWe8vymK3RYSihjGFnU3pXqWcf68tGdzKV28agnFyg T3VsZ/5k2g973BHF7nQFifOD384Txb5e4BuRWaGeYqQ2fpbRothiymx1WgRgxx0jCOXu PuUF0adi5+IJLGculM/SuLv3cbOch1lr6UJM64HAGu7BYKlAGETKvA/6U3Z0SZB7CeIJ 3dI4ZPmfBnON9MmHhkNDmQTw0FKMriVgNj0v3PZr5WTj0JuqVBOK5ZfmRsCMx4q3FR5m lYMD4vwCcVXNtzFjKx0WvH/49+dXkRj6PFtUHYYSSHs8drh5tRTsOM3f0matDEvQ2Vzb 98uA== 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=WW9O+qX10fuSUtolwUwOcuZrhGmJhLxghHZNu9pvopI=; fh=eHG+RAOcICnzA87RuMie1IWZNGQb3hwEDg6Yr6gwrl4=; b=ImqFOKJscMv8ZPBVUcQCNDd1eGVPAklSA9ymXDP3tIgjLhPIsuO6EQVpXJc1gKSN93 TSuod0H+8rpaPudNF6Vu3h97sh3K6r5rlbq9c0GgcmUbSfYTubY1LkkH97tFzsHlLS0c 3rBHA8viRpD+K7B9IZN/5NdGVv0jyUm+LN1dI81novCw547Oa9Z84IR6MOdWZsMqxDAs R8yZB3Idcvw2c4ysJiTbNJnWTGptKGvfWeB0WCF783m7xOOYjy8bf0gAwvHQQ7POsJCv tJnvRHxsj/yOW6k/S51tc2IO9G/sgRUPbbQSwy2vr8Qvt8BDjiHfdQ88pyIzK+RpKN4e ioQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nEB3BZ2E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id d7-20020a170902cec700b001c5c632aea4si18999132plg.217.2023.09.27.18.03.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 18:03:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nEB3BZ2E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id A7B408227791; Wed, 27 Sep 2023 02:22:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230444AbjI0JWD (ORCPT + 24 others); Wed, 27 Sep 2023 05:22:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230308AbjI0JVz (ORCPT ); Wed, 27 Sep 2023 05:21:55 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D53D4B3 for ; Wed, 27 Sep 2023 02:21:53 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2c15463ddd4so114341321fa.3 for ; Wed, 27 Sep 2023 02:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695806512; x=1696411312; 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=WW9O+qX10fuSUtolwUwOcuZrhGmJhLxghHZNu9pvopI=; b=nEB3BZ2EPiEyf3pmGg95/vSGKDBF4UbMPA8WZVbCvyf/8Cg/Vw/DSLcpv3+28EUlg4 AKL7PRWRpmG47QUofQSJN2QDl7xWTxWltXQdKgiShf7PoHRLrS7S82QCMa9cwN4ol7DM UPZ6aQJgsMWkFzirvcbRfYYixe81vnRXvPkoUD+zFlvNQgMbC3kZRag8DxZvkwH2nIFd 5C11r0485mI5rCACwehcKW9ETPYyfxgSraUEnHBOYtwF6KZOR9hQ1ygw6/7L9nAtyWnM A7J1pXtui/YHsu13Dcp7kGImJLL+sDXUsSg4SAZANx5EnTW56GNpYDw1VRRd3PxdP1Fj 9sfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695806512; x=1696411312; 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=WW9O+qX10fuSUtolwUwOcuZrhGmJhLxghHZNu9pvopI=; b=nactiyUXkYPWF4QwcqlcF5XzFuGX+7QGwWprZ3R8S95rKLW2VXvGkZRTmIxOIUAoVm RVaXRbkhHFoVa1QMGAxwJZDBxs1nKnRgpaOoKsVI4kIVvO8dACZJtLJPEfeSZBlVizRr 4U4uMMInXc4siYBg+AZY0vVf2mEblB494dCSex/pxFv76LDBXrjFciNxAxGLk15M+aPH /M5+QUI4xXfkZ+uW6afMwBe3WS1l5+eRp1bs4yljs14FcgcyCesfKFj+rBtL2XCsyhAp coMjjq+sp6WwP/Hh/W5bHUyaLfiOoxeMwO/nwvG0q5WL0RSsHaGfoUz/SHS58LJSLUbE WFXg== X-Gm-Message-State: AOJu0YwkIsqAXrCd+kE21dCl6/kbzM9EygFwo0s0OSU2Py3nvwouGEG1 Kg20x9cZmRwibJ7A3I93AXfr+A== X-Received: by 2002:a2e:b0d6:0:b0:2bf:f365:c7b9 with SMTP id g22-20020a2eb0d6000000b002bff365c7b9mr1682123ljl.18.1695806512171; Wed, 27 Sep 2023 02:21:52 -0700 (PDT) Received: from [10.167.154.1] (178235177023.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.23]) by smtp.gmail.com with ESMTPSA id qq23-20020a17090720d700b00993664a9987sm8948574ejb.103.2023.09.27.02.21.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 02:21:51 -0700 (PDT) From: Konrad Dybcio Date: Wed, 27 Sep 2023 11:21:41 +0200 Subject: [PATCH 2/4] arm64: dts: qcom: sm6375-pdx225: Enable MSS MIME-Version: 1.0 Message-Id: <20230927-topic-6375_stuff-v1-2-12243e36b45c@linaro.org> References: <20230927-topic-6375_stuff-v1-0-12243e36b45c@linaro.org> In-Reply-To: <20230927-topic-6375_stuff-v1-0-12243e36b45c@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=1695806508; l=811; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=75nX4j0RzJI1wshwB+Vg1dphMpUe3Tavrj5ASyWGPHU=; b=ZDfATHGXicJ8fB2th8gLs8l0IN62uzMwqI6pInsVBmZfdAc7ICA4/mEv+VoFYumS+6IeFxqaA sFk4pBfy8xcA5t2N+zlHi5c2iW/AwP9oEzljWvwWTrTheiw6iiOhYiL 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 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 27 Sep 2023 02:22:26 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778241271711358714 X-GMAIL-MSGID: 1778241271711358714 Enable the 5G modem on the Sony Xperia 10 IV. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts index b2f1bb1d58e9..964fe86a18ef 100644 --- a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts +++ b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts @@ -187,6 +187,11 @@ &remoteproc_cdsp { status = "okay"; }; +&remoteproc_mss { + firmware-name = "qcom/sm6375/Sony/murray/modem.mbn"; + status = "okay"; +}; + &rpm_requests { regulators-0 { compatible = "qcom,rpm-pm6125-regulators"; From patchwork Wed Sep 27 09:21:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 145354 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2597956vqu; Wed, 27 Sep 2023 05:39:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHUNwwWqqiw96RLcK24FOe0d1IwfDoT7h27dq7sXDgOVI9W0pCTnwkd7hehkSeuEIriXmU4 X-Received: by 2002:a05:6a00:2d8f:b0:692:af9c:d96a with SMTP id fb15-20020a056a002d8f00b00692af9cd96amr2138631pfb.5.1695818378746; Wed, 27 Sep 2023 05:39:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695818378; cv=none; d=google.com; s=arc-20160816; b=mfK3OLTzNbve+UrxAUPR6CbWrEsZmEa9UDKHXM97JmRFnyOVFm0GVAkWlN5F+QsvJ8 QCHYl+cc9hnUY/cENNX3eS7siU4behqmddXzq6Wm+ZUePYPIAwPlpOGvbzgr3bikFk8O 8B7sMzNm0V+BptYdcE24ab3w5haSryK23Dm4BTZrnm6+qjuFyqDU4CBSAzwNJ5kVn8YO UDMcqTX7mN5XsqS7e6WN1t7xc5FQOiTh38rB0V+3leh32/1htUrHM3VumuLkK/IHgljf fH0H3yFWj+JYXJH/xL/JE+tPl9Jp8wXMZ8kngfz6llibGFZNkqzHyLG9GXGjEaswUYYQ TqNA== 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=VOmdtpYYB0nH1RKOD+w6l5qeav03+l5rKiJiUIHP088=; fh=eHG+RAOcICnzA87RuMie1IWZNGQb3hwEDg6Yr6gwrl4=; b=LyqMrDwla2vcyfYbtfvOciU1YLlHUsYFHPOy5Leyj9RLpCUB6NAfrcPWM48/RKBVdB BPRm+ft2mjP15tGI2XdU8ikp935bAs+rdabOPuoKDCEnzP9LU42DGZBtJ7iz3N75e0td 1pkMhxVduQleFq5kWpofgVCLGtyv6YD63XeTvQTMmww78wNlogHG9bV2boxRs2jUZ4Mp HzNaPdMI2i1gfSr4XAa5DAHcB3HqUAY3sl4xMaFp+jP4NdWYeO+eodCq8jkXqXUJIG0C oI9MSrmT7i7HWz67QWcyDDlcuDaVkK28m5e9IMcnGkm6jWUw1Wpw4oYRVFzOrbmj/BtV 6oHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M5gRVv4+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id 69-20020a630048000000b005775e13a6b9si15078619pga.363.2023.09.27.05.39.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 05:39:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M5gRVv4+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 2A40E81552DD; Wed, 27 Sep 2023 02:22:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230468AbjI0JWI (ORCPT + 24 others); Wed, 27 Sep 2023 05:22:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230392AbjI0JV5 (ORCPT ); Wed, 27 Sep 2023 05:21:57 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69947D6 for ; Wed, 27 Sep 2023 02:21:55 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-99357737980so1323100366b.2 for ; Wed, 27 Sep 2023 02:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695806513; x=1696411313; 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=VOmdtpYYB0nH1RKOD+w6l5qeav03+l5rKiJiUIHP088=; b=M5gRVv4+NqcVxYyUvo6kB3CdD7xEYqJNFSND8fzvyNdAVO/WRcEVtmQxmf2srbLPlF o8/jQ4egb5swL23aRG6c5+gWlaNw+NWy/UBGqjCWdgHWedDoqg/o0O1hjgdbBvLEamri CW5WiqNnTH2G9UF38rBiokjQVdD6GBqVfVfqc20oFrUYKVeXjGGUwyG/Tkb5XZh98oLA 6kezITqvUZvFgpclB057XBujf/5xNa2/EbgbzsMlXmJo/+btKj++0blhxnaqC6m5qy8h UQHymDnkfTl2Vc8TxRvWLGvxB/LbfUlYN6h5DG9RpYWs/ci+ArzNxfUZktfFbP9gkyWw Dpsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695806513; x=1696411313; 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=VOmdtpYYB0nH1RKOD+w6l5qeav03+l5rKiJiUIHP088=; b=eq8IoJ3lFKcmtADR+EZZPiv1ZDPU9bFf8MfL5M8Mjsq+VuqY//kTONEO8xkjRVHMv/ X0N+EZMYSH6Pa1JZtutrlhEkP9KE0Q57ntdTc0X+5D4b0YECo4HiOHPV3/ZZEzBINWgN vpDCPDaGqgwvgcXTek2V4bmejg1+lM/kyEktZkWiSxXcnV/SD9sGIhLdYGRXGsL5wU8M zzovRPnozssJoULfb0VBqW6MKaIqPvUW+bRxcxVq328D/9jz0R2q0rMy/SWm+6b6ifEv L3HbsvSJCPpA5oaP8kAdT/FUZ+8rqtyAEk8Jbe2RPYaYxNg95Fj+HszWm/OQy758SOy2 aszA== X-Gm-Message-State: AOJu0YyBX7g21xeqkE1JnlwrWKgR8NqscjdeEb2AiOO9NB4+c7qKlfXx cQI1WUVobTXH5CeHwgj63HYcWhrQyr85voXbz1ALRA== X-Received: by 2002:a17:906:454d:b0:9a5:cbb2:3fab with SMTP id s13-20020a170906454d00b009a5cbb23fabmr1215634ejq.2.1695806513795; Wed, 27 Sep 2023 02:21:53 -0700 (PDT) Received: from [10.167.154.1] (178235177023.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.23]) by smtp.gmail.com with ESMTPSA id qq23-20020a17090720d700b00993664a9987sm8948574ejb.103.2023.09.27.02.21.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 02:21:53 -0700 (PDT) From: Konrad Dybcio Date: Wed, 27 Sep 2023 11:21:42 +0200 Subject: [PATCH 3/4] arm64: dts: qcom: sm6375-pdx225: Enable ATH10K WiFi MIME-Version: 1.0 Message-Id: <20230927-topic-6375_stuff-v1-3-12243e36b45c@linaro.org> References: <20230927-topic-6375_stuff-v1-0-12243e36b45c@linaro.org> In-Reply-To: <20230927-topic-6375_stuff-v1-0-12243e36b45c@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=1695806508; l=2599; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=dBlzjBm5zbQ1AFa5JfUYhZfkMAGM+ne2VSqV4/lI2ig=; b=p4R0VYkY5NDJzTfJ17AMssz81CZVG8zMBKFvQLMhPtklHVhHKHcLr+PmFEHREDCZlw1vaLgdZ 5HH13PNqc6zACb6y4Tr7K7iVlo2UNPyZ5XAg962ZoCvo7go3Ughdyxj 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 27 Sep 2023 02:22:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778194452040130502 X-GMAIL-MSGID: 1778194452040130502 Enable the onboard QCA Wi-Fi. HW identifiers for reference: qmi chip_id 0x320 chip_family 0x4001 board_id 0xff soc_id 0x400e0000 Firmware sources: /vendor/firmware_mnt/image/wlanmdsp.bin -> qcom/.../wlanmdsp.mbn /vendor/firmware_mnt/image/bdwlan.bXX [1] -> [2] -> ath10k/.../board-2.bin [3] -> ath10k/.../firmware-5.bin Not sure where 3 comes from on the device itself, gotta investigate that.. According to [4], it's called WCN3990_STRAIT. Enable it and tighten the relevant regulators. [1] XX = board_id printed when the file is missing or by your downstream kernel firmware loader in the dmesg; if XX=ff, use bdwlan.bin [2] https://github.com/jhugo/linux/blob/5.5rc2_wifi/README [3] https://github.com/kvalo/ath10k-firmware/blob/master/WCN3990/hw1.0/HL3.1/WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1/firmware-5.bin [4] https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/qca-wifi-host-cmn/-/blob/LA.VENDOR.1.0.r1-20700-WAIPIO.QSSI13.0/hif/src/hif_hw_version.h#L55 Signed-off-by: Konrad Dybcio --- .../boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts index 964fe86a18ef..bbec7aee60be 100644 --- a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts +++ b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts @@ -311,7 +311,7 @@ pm6125_l20: l20 { pm6125_l21: l21 { regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3400000>; + regulator-max-microvolt = <3312000>; }; pm6125_l22: l22 { @@ -322,7 +322,7 @@ pm6125_l22: l22 { pm6125_l23: l23 { regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3400000>; + regulator-max-microvolt = <3312000>; }; pm6125_l24: l24 { @@ -345,8 +345,8 @@ pmr735a_l1: l1 { }; pmr735a_l2: l2 { - regulator-min-microvolt = <352000>; - regulator-max-microvolt = <796000>; + regulator-min-microvolt = <640000>; + regulator-max-microvolt = <640000>; }; pmr735a_l3: l3 { @@ -433,6 +433,15 @@ &usb_1_hsphy { status = "okay"; }; +&wifi { + vdd-0.8-cx-mx-supply = <&pmr735a_l2>; + vdd-1.8-xo-supply = <&pm6125_l16>; + vdd-1.3-rfa-supply = <&pm6125_l2>; + vdd-3.3-ch0-supply = <&pm6125_l23>; + vdd-3.3-ch1-supply = <&pm6125_l21>; + status = "okay"; +}; + &xo_board_clk { clock-frequency = <19200000>; }; From patchwork Wed Sep 27 09:21:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 145412 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2687892vqu; Wed, 27 Sep 2023 08:00:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IECGdPl+X0qNreDr8LkkSw0zHIAy5v5kCb71V7fUK40IW+orD6FAqiDzobDyOhlSwYi/ZyK X-Received: by 2002:a05:6358:33a4:b0:13e:bf50:73af with SMTP id i36-20020a05635833a400b0013ebf5073afmr2594515rwd.18.1695826815682; Wed, 27 Sep 2023 08:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695826815; cv=none; d=google.com; s=arc-20160816; b=dpK1wJ8wAqovTsI5si8ZZjtMNWYLYD2rTsYMnUZ+xOwAhsyaiz1OzSDsFjUz0ZwptB LHOzGc/1PoFGD/gdpw9WzBi2Mq/Lj+vMxlKZGqL62E+N3nPjUGivWZ9wt5g1XsVJzw+2 fA4i0eplRIhekUzwVo8s8yWIkJS+LyP+Km6mA5SEgFSx2u/+chOXh7HO1Dr1QaKNqwzD gauY5JKyDLDMcbnlBceI8FON/cnuSbVV1+b4yDwneHO1Qpx+opw9/MDuNCor2w/vlzKh YxvFX3cOcn+KrUHnd3Uku7ag/SVvpdTr5aRncQwAVHeL43Ve43IVGcqLPFfOnFn23f7b kUng== 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=TWm1kTvALKqdp6UrH/Oz1h9cS//ES9dxbJ1u6BdZbf0=; fh=eHG+RAOcICnzA87RuMie1IWZNGQb3hwEDg6Yr6gwrl4=; b=fMeKcPdlReCrELRkIhtSbn2UMaM1s+cJXL8EpM9vdVPuVT/pZg2C3oTw8Ni3rjLJ/F kwxXXY9G7evqXTgtckaUjY8rI4PYY3NkBJdSihbWiPELDne/QeCIoSkcxrcOaxCsr7aa zWsUx/V1cfOQgQn17fQRZp4nG0fBPAJkLnfsc93DHjxzHGpGJDOGA5RNCpNp0nV2+6PI elX3aWpcYVUo2cuOHGMjNjyf7d+3qALFDI91cYHSDDjHlSL4WD/Otkb6kMTgAtv9aLCv UibR53V1M+R7m0WG2PcH33X05Gf8GBcLli9BoefzkgwweABWNiOsXzYxuOKpY3iei80t SwBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aYm77+pg; 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id ck13-20020a056a02090d00b0056a670ebd6fsi14813790pgb.669.2023.09.27.08.00.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:00:15 -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=aYm77+pg; 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 C995080FCE37; Wed, 27 Sep 2023 02:22:37 -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 S230448AbjI0JWM (ORCPT + 24 others); Wed, 27 Sep 2023 05:22:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230397AbjI0JV6 (ORCPT ); Wed, 27 Sep 2023 05:21:58 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31233B3 for ; Wed, 27 Sep 2023 02:21:56 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-9b2a3fd5764so399462066b.3 for ; Wed, 27 Sep 2023 02:21:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695806515; x=1696411315; 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=TWm1kTvALKqdp6UrH/Oz1h9cS//ES9dxbJ1u6BdZbf0=; b=aYm77+pgt9sRW24bzYX6DSPiLTVr/ZKs3rbG1pFv3rcr0Kqu5LnPgjynRKQ338EK07 M2hq85dZ5sqkyrz7wzm6t5O671jtdNHOR/SB1A6to46YHNLSg/uj/hJv307bkdlDeWog apPoaresBhc2zcDOHpbjnBNj04pZyyoaLRKgNriov9m2g3Z/6ulxDk5+Zv05JljRWm90 +cJplgYhuDrEMKzeYlZhV6S2aNGd03ZVII14GSBgVGH1PclA+xpYi9/R/7QPG80/7vzp xRdUsn4bWQPS5oVVNiYlpdf/So0s94RW3sU/5rJU2mX4VO0wVkVz2sy+aRtjwpUHSXDf 4R1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695806515; x=1696411315; 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=TWm1kTvALKqdp6UrH/Oz1h9cS//ES9dxbJ1u6BdZbf0=; b=P+E9XC6tPEmd5/CVhGLAXH8obJaU4GIPNoRD1rkXBSiwqUaKAYu0JIQ6FptuSy+Ex9 jv1p9RwZBZEnY4uwQV2V8VGUK4+tvp5f+yRWHDfxLj15PigTi6e3RUEynL3F64u8al7o B2Uz1euCnzqU2e2KYtldL0KSjTxcFl+92x9DDYaTRt24yk0h3khGsv/VriTcyxFG7ksh dD0aupYC5hZ4g/7v0cZbiPqLpnw3ZaTMuTzRqswj9Mz/5S/DLMU2Y1hFBbrVOwQes/eS pWWV30WvA4TaLkIA8Gif5gRn7L1CxCkIIB4z70mfG637VwcO42io2P4f1ktmnvsYxFV1 Fdww== X-Gm-Message-State: AOJu0YxHxfwGJi2WgRNiccD2x9bLorKzrMvh/uNzjpqQBn20mlL0g47/ sRNbvkVsxLdBWhFyBxRYoIEu7g== X-Received: by 2002:a17:907:25ca:b0:9ae:3a60:570a with SMTP id ae10-20020a17090725ca00b009ae3a60570amr1474637ejc.18.1695806515299; Wed, 27 Sep 2023 02:21:55 -0700 (PDT) Received: from [10.167.154.1] (178235177023.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.23]) by smtp.gmail.com with ESMTPSA id qq23-20020a17090720d700b00993664a9987sm8948574ejb.103.2023.09.27.02.21.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 02:21:55 -0700 (PDT) From: Konrad Dybcio Date: Wed, 27 Sep 2023 11:21:43 +0200 Subject: [PATCH 4/4] arm64: dts: qcom: sm6375-pdx225: Add USBPHY regulators MIME-Version: 1.0 Message-Id: <20230927-topic-6375_stuff-v1-4-12243e36b45c@linaro.org> References: <20230927-topic-6375_stuff-v1-0-12243e36b45c@linaro.org> In-Reply-To: <20230927-topic-6375_stuff-v1-0-12243e36b45c@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=1695806508; l=1124; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=kfCuRxKJPakhy+dYlGoAXo1GkhMTh9kKuB4nSV7OqPc=; b=FuuOXXR8da7l+sqQespL/53ZTFiJLfX0apJEbsmRKQvBt3KRNjOex63DWBneGsx5rHUmRe2w0 HzhTEyMSqe9AnEsXtuECV+oBhyDJ0y7j7aI491pxM6ZHl0ZxXbZgERg 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 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 02:22:37 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778198527378449161 X-GMAIL-MSGID: 1778203298950707474 To make dtbs_check happy and the software more aware of what's going on, describe the HSUSB PHY's regulators and tighten up VDDA_PLL to match. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts index bbec7aee60be..0ce4fa8de8b0 100644 --- a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts +++ b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts @@ -243,8 +243,8 @@ pm6125_l6: l6 { }; pm6125_l7: l7 { - regulator-min-microvolt = <720000>; - regulator-max-microvolt = <1050000>; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <880000>; }; pm6125_l8: l8 { @@ -430,6 +430,9 @@ &usb_1_dwc3 { }; &usb_1_hsphy { + vdda-pll-supply = <&pm6125_l7>; + vdda18-supply = <&pm6125_l10>; + vdda33-supply = <&pmr735a_l7>; status = "okay"; };