From patchwork Sun Nov 5 20:46:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryant Mairs X-Patchwork-Id: 161777 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2299559vqu; Sun, 5 Nov 2023 12:49:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IHseCq/iNaWMHv5imlG/4YK5bR2fPy7weYfk5ttxLeh09HQIpTyqFvbH5sf+QIpufdZduQF X-Received: by 2002:a05:620a:44c9:b0:77a:5f8d:f08a with SMTP id y9-20020a05620a44c900b0077a5f8df08amr12345929qkp.58.1699217351613; Sun, 05 Nov 2023 12:49:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699217351; cv=none; d=google.com; s=arc-20160816; b=jvTjmvI0WAqJkBuA2Y3XM9kZpauKc7sVF9I7I2jIqtGe8EY8G+D9zYSKPltijgT/Da SxZ0N9Tbl8tzpLylbkFkfeMTT6kT7jqNgH00LsAJ1FhnGOK7Ol1yjxOmXbUIqJhi4I0Y 0SBRidpv6wfUhj+Ia7y/onxmvjVCDqXu0ZGYwSvOoKTRYgc8vATPHzGtDj2oYzoa3F8N 1Z0sEUQV05DivJoM9ERmnRuYTGlTQMv7wBtbhuOZp8rrR2iajUYjvQNRR0NGnELwais+ fGPvnXoP3TI6TGF5isYEd+xRHF2zVVHKN/GEyGMKyGHjKGAgVYtxyEQhkvwvEHO0XlI5 y0Rw== 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 :feedback-id:dkim-signature:dkim-signature; bh=XLZ6SnVnQDI1qdEKKgYVoKuUcFbr53JF8eoLrCGF150=; fh=5V+AntS5LQ7yKTnRAj+6MmwBOB0rqYO1t+I2a2LEq1U=; b=SO7XJGryxjnE6sDQUebfPxymtCfrbo2Y4qJiFof8JKKcnjQy9mkwtbkC32rB95W7mL 2TgA//iJLMOYCBLqggkttZYg4UVMQot6C8kpGX2NwbIDj6ac7tO3aQSQ+fp4QbZnG7Eq By0ZJPjAOuSOjNye0icSd6CkcVDTlF71dlsxcKXF9r9RTK3iYckXiqSy4nzj6AXDch0M 8QnZjNV8c6jW5Z0rcDAZDYUCPXWQhpQctMCWUzC8LYgXB3vNBYU547an/W30BQEKZ26t K/Wu0pGa65bjIIFeIznGeEzd2OPZ00zky49ag4b54Jdmf1t5VGBn0seSA+luZMIbEYWp 6CIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b=kXghs0jG; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JqI5Xo+j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id lx1-20020a17090b4b0100b0026b31ed4895si7480574pjb.29.2023.11.05.12.49.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 12:49:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b=kXghs0jG; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JqI5Xo+j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 328F7809C189; Sun, 5 Nov 2023 12:49:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229667AbjKEUsN (ORCPT + 34 others); Sun, 5 Nov 2023 15:48:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjKEUsK (ORCPT ); Sun, 5 Nov 2023 15:48:10 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C322DE; Sun, 5 Nov 2023 12:48:07 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0C8C65C00F4; Sun, 5 Nov 2023 15:48:06 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 05 Nov 2023 15:48:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mai.rs; h=cc:cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1699217286; x= 1699303686; bh=XLZ6SnVnQDI1qdEKKgYVoKuUcFbr53JF8eoLrCGF150=; b=k Xghs0jGBGJH/yyVN2EQNXMy57z9xR2luVlL1OoSpZehZtfDLlcLGZTSJReaWmEVe BxKtMs2NeArqoYtxyBtXBcQSOdti8Ps4FcAlxLnq9I75YXCo2B11FNlZm48u0Dvf 8iSSn1J0nER7qXq8YoVcVQVi8dnBGc3yZCbHVcddtyr9NIPAGThcR+RpR3JigtO0 ALPgusVQZKm/em3mCnTUmhQXrkCz/pG1HWmQPJ73lFNxU4yOmrKn9XlopziXicw0 EB4jApSGsqx7lOnMaqxVbK4bGYfbw8nXp0ll1a0aycq5tM0zNQaAnWPyCA33xiBK 3pxx5/RegQsz5hEETcEgQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1699217286; x= 1699303686; bh=XLZ6SnVnQDI1qdEKKgYVoKuUcFbr53JF8eoLrCGF150=; b=J qI5Xo+jBHRfi4/Kbni3N9VsjgPaRF+blOa4DyUIcMq7v4ZJv12mPjk+V4YuKwlGW MKhDUDNlrEP2aSnVpAzEsaiOTEOcSnpy+vT/sWLUiWR5co2LoFmZiUj4+/74x1bA QZOz8+IZamGfmKHq71dfMRJWJR38tteC8JucqfrxLvNWdgekED7iswqcXGSinGF4 AivQmaPk2QhjbvCxtFp+j0ugVihx6QiW/G0rWvbO/srST8vt4Y3toJOL11uFK6Il vtXU7xyquqoVJ41e51uGL4wi34tBDgp2fEWsgGgP6f0atvQ1iTkfCMtin2D4yhH3 5wV2PddGI0N20EuymJajw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudduvddgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdefhedmnecujfgurhephffvvefufffkofgjfhgggfestdekredt redttdenucfhrhhomhepuehrhigrnhhtucforghirhhsuceosghrhigrnhhtsehmrghird hrsheqnecuggftrfgrthhtvghrnhepffetieevteehteehhfejudetheegjeegleehgefh kefhjeeiueduudeiieelffetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepsghrhigrnhhtsehmrghirdhrsh X-ME-Proxy: Feedback-ID: i891b436e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Nov 2023 15:48:04 -0500 (EST) From: Bryant Mairs To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Linus Walleij , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Cc: Luca Weiss Subject: [PATCH 1/7] dt-bindings: input: melfas,mms114: add MMS252 compatible Date: Sun, 5 Nov 2023 21:46:16 +0100 Message-ID: <20231105204759.37107-2-bryant@mai.rs> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231105204759.37107-1-bryant@mai.rs> References: <20231105204759.37107-1-bryant@mai.rs> MIME-Version: 1.0 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,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Sun, 05 Nov 2023 12:49:07 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781758533622956206 X-GMAIL-MSGID: 1781758533622956206 From: Luca Weiss Add a compatible for MMS252 touchscreen which appears to work fine with the MMS114 driver. Signed-off-by: Luca Weiss Signed-off-by: Bryant Mairs Reviewed-by: Linus Walleij Reviewed-by: Krzysztof Kozlowski --- .../bindings/input/touchscreen/melfas,mms114.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml b/Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml index 07f9dd6b1c9c..90ebd4f8354c 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml @@ -17,13 +17,17 @@ properties: pattern: "^touchscreen(@.*)?$" compatible: - items: + oneOf: - enum: - melfas,mms114 - melfas,mms134s - melfas,mms136 - melfas,mms152 - melfas,mms345l + - items: + - enum: + - melfas,mms252 + - const: melfas,mms114 reg: description: I2C address From patchwork Sun Nov 5 20:46:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryant Mairs X-Patchwork-Id: 161774 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2299352vqu; Sun, 5 Nov 2023 12:48:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IHGH+cQ11eP9v2e/i2EI3b71Yz1XQQbA4m/E2oUrul/tmm4iXG4WKWYqgkq1LrsXffWuO1I X-Received: by 2002:a05:6870:9d82:b0:1f0:b5f:8898 with SMTP id pv2-20020a0568709d8200b001f00b5f8898mr20891226oab.55.1699217306042; Sun, 05 Nov 2023 12:48:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699217306; cv=none; d=google.com; s=arc-20160816; b=zDzmvQTvepFZ4+b1ZrSm6h2ZZKfaeL+J0k4HQwbDiODr3BXOTXcx0YkxheGOIJaVPj 4WPPEdo0ApMJAPLFQ5qD/+uB7LjYy/86PxaqrFJmFa867iSJLwjOmOyS0u23f6agdoAB wk++JiWC4t04fDB3hFk4xYmXb3MmYW9bbTXq397WNpkPLZZtONERJEIRYHpWyjqoWNsy pmQIYR11nBVifwIYgbx+zOiyu8nOsXkXEyyQW2KzaFgJquEHqqR7mjnqcAyzR/RXv/L5 dOJE6FS6XCHB0HJ87gil4357p8SKbVXnUIMh6JBh742PlEuzKftuv41Rw7Jyf3id6WO1 nbiw== 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:to:from:feedback-id :dkim-signature:dkim-signature; bh=kVEZlrszrjh9a3ZxV7/Ffc4AxMfllhy0++OOArIA+04=; fh=Zg6yj1iLReYuu+XOEmRDwyizklD9g5ULV0IopsbQ56w=; b=iD6pijKVRfBvUZVmMqQDCAy3LKYYznLmnMVKp+XJZI9SSilH5fQx10ZjkmtTfiWLv4 NgX1h2uZs1Fyl/kZDim+4o7YoY/YtECgi4yIuGPgyDpjfgNFV84nwE/WAVKHlblMqHFa 93uQIlLy517972s6D4Gm74dWoB8n55XEqVpixKed8dk9myzipxITydjx9UkEbzK9F+uk P/ETE4RJCjSX1cLxjF9LpzklRkfgmKV7TdkbZaebIf+duz9Vd8v6A/Nh1ObS3wpbC75J VKRmtyj8lbOyPkXdL2NZJuh5f4+iVww6x4HBE7tcP3Ua6X2R50rvgdVi4uO1YV0Yfpeu UHlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b="nO/U4K+f"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ZnoTPDg0; 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 Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id a190-20020a6390c7000000b005b7160263f2si6289098pge.154.2023.11.05.12.48.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 12:48:25 -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=@mai.rs header.s=fm2 header.b="nO/U4K+f"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ZnoTPDg0; 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 Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1E0BE80BBE88; Sun, 5 Nov 2023 12:48:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229692AbjKEUsP (ORCPT + 34 others); Sun, 5 Nov 2023 15:48:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjKEUsK (ORCPT ); Sun, 5 Nov 2023 15:48:10 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 628D6E1; Sun, 5 Nov 2023 12:48:08 -0800 (PST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id CF8405C00F5; Sun, 5 Nov 2023 15:48:07 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 05 Nov 2023 15:48:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mai.rs; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1699217287; x= 1699303687; bh=kVEZlrszrjh9a3ZxV7/Ffc4AxMfllhy0++OOArIA+04=; b=n O/U4K+f4htAk4dJFQAgjWLq7W5oWbmytOCm+aDo89nHpHuAtukCFtiH1PY7YtKvn D62W30/vK47cUZC+Dy4f88cY8e5HTvDh8C6gfjpGVKgXH/fuJhf2tl3sY3ICRrq3 6hQwBAk5r96o0m8LmT38PW0pqqv45Wf9FmNskns5KwPGx3fmx6L82HYsGHutYFVl 6vih7QnLT3W50Cc92tcAPCu957KMxhDDsb3pH3Mc8Glyo/QfI5DyUhB9KyBgm+1d ZVCAiS00Y7gOtdXtPgFq4RnrEqpoXpT2/pl7CzoHLT5AzPOiqmghBgfq0SE/I3qX +YPWOO1AFB/u+yP/3YPSA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1699217287; x=1699303687; bh=k VEZlrszrjh9a3ZxV7/Ffc4AxMfllhy0++OOArIA+04=; b=ZnoTPDg0WJqQwPS+L xP4QmJjVbuqw9l3wCncV5W5BvmZMiZ1r62emE9TDvTRcUig6aYxASO5bnS4b9RNf 7vVXFtAd6EunMrm0SAfuiuPUpgBur3D8jzmpVVZar/widc1lqioDDfJGpp7hQB+i P5P13ANU/GJn2V50xJcZ9IbJrGnr94y+nOtuswZKfVMpvBF1v/whFBrx4h8W46WA IeVac9OnIC5O+WpFnNw57GynXytXjBxT6wgQtUGyI3/rFHeEjz2Pz1uGr3LjyQQw lDAMGfnbM5XFE5Nq0VT7o1IbAvV4OtFaBMZhm3CcfTn564zHl8c9RO8kzJ2YqBj2 AtZrA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudduvddgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepuehrhigr nhhtucforghirhhsuceosghrhigrnhhtsehmrghirdhrsheqnecuggftrfgrthhtvghrnh epvdegkeekkeehffehveeltdekvdfhffejuefgjeelfeefgffgleekheeffefggeefnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsghrhigrnh htsehmrghirdhrsh X-ME-Proxy: Feedback-ID: i891b436e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Nov 2023 15:48:06 -0500 (EST) From: Bryant Mairs To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Linus Walleij , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH 2/7] dt-bindings: arm: qcom: Document samsung,milletwifi device Date: Sun, 5 Nov 2023 21:46:17 +0100 Message-ID: <20231105204759.37107-3-bryant@mai.rs> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231105204759.37107-1-bryant@mai.rs> References: <20231105204759.37107-1-bryant@mai.rs> MIME-Version: 1.0 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, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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]); Sun, 05 Nov 2023 12:48:24 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781758485667067161 X-GMAIL-MSGID: 1781758485667067161 Add binding documentation for Samsung Galaxy Tab 4 8.0 Wi-Fi tablet which is based on Snapdragon 400 (apq8026) SoC. Signed-off-by: Bryant Mairs --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 88b84035e7b1..c66980b79f59 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -156,6 +156,7 @@ properties: - huawei,sturgeon - lg,lenok - samsung,matisse-wifi + - samsung,milletwifi - const: qcom,apq8026 - items: From patchwork Sun Nov 5 20:46:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bryant Mairs X-Patchwork-Id: 161776 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2299387vqu; Sun, 5 Nov 2023 12:48:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+Q0D2PVCSrwgWEG+4GqwrJeA4nDphiiKNWfULfsbqx9WTZ3cCEK0Ff+Gu1RJ9ZFalXB+U X-Received: by 2002:a05:6e02:3085:b0:359:554:790f with SMTP id bf5-20020a056e02308500b003590554790fmr32810888ilb.2.1699217314501; Sun, 05 Nov 2023 12:48:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699217314; cv=none; d=google.com; s=arc-20160816; b=dpXw51F2dQRHzLIKtZAB1tP5L4MhbCLudJBRmf8jtvHlc1nBo6+Ivp1X7wjZONwHoq 5+QcypEHIJLEig8/oR6CmJqMDVi/hCs7XN7/3s9bMVkKTRC4QtEInebJH5O+MHfu77mP JirgfqlihXmqUZQpK2s9GU+1m2wcdwuaOBYf0917tyY3Dq50QRUZUXD0zg9PmT5qB514 PBQOKeGk+CnFjLTJvETn75SivD6ggPrxTi5GR6TvuMY2N8izcCf4V/0VkaxEx5KDQbnn ryyBHGaKfZAX8ub+BjYaNKA8spmSHiqWWu3ltphLamsXgVoiJZtQjQ1KrejO7YR5+bsT 5qpw== 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:to:from:feedback-id :dkim-signature:dkim-signature; bh=sgzYHG1hAVyH/B+YWF4v1clWClEXAJUPjY6dr/SBeXU=; fh=Zg6yj1iLReYuu+XOEmRDwyizklD9g5ULV0IopsbQ56w=; b=JsFtLzAcm4sqY9IKK7I+j5pVluRBez0hG+JPm1h+Zjj+LuKy8Cp6oKY9RryYKNpV1m NXX1+U/U0MLSwEDdPnChoZOKKdmJokkwnGdHyYQH76Gi9U0TUT1LmJ3zZ0ruyDzJBlgw 5+LUIliI+HX07M4uHailtjEQt1GCGPbDXCGqxJdFsNjM70RassAxMZjxqVnpE2D7JpJu OIh9LuRvcMhiYB+KZ8m8AXruoGSjSILOiGv34Twrt91dqSVKTSNF0zH7pJ+JJAqIU9UJ PBSeEcyOYWh0VuRPig3iuct93wovfQXjBsyiVQB9If6sgm7h0Hf0/VcZkXit5Khfv9nM yhqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b=ACdVh4do; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="l/zfO728"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id 77-20020a630150000000b005b96c4292bbsi6492352pgb.420.2023.11.05.12.48.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 12:48:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b=ACdVh4do; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="l/zfO728"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 788F080C0A6D; Sun, 5 Nov 2023 12:48:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229700AbjKEUs2 (ORCPT + 34 others); Sun, 5 Nov 2023 15:48:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbjKEUsN (ORCPT ); Sun, 5 Nov 2023 15:48:13 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EF2EEB; Sun, 5 Nov 2023 12:48:10 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A051A5C00FF; Sun, 5 Nov 2023 15:48:09 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 05 Nov 2023 15:48:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mai.rs; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1699217289; x=1699303689; bh=sgzYHG1hAVyH/B+YWF4v1clWClEXAJUPjY6 dr/SBeXU=; b=ACdVh4do4kXfQD4oqUd7b/W1+75uTi8IE/wO7kA7G98cIB0S4Wf w75/bDIAWAnfG0/cpkfdazeI5TaDIDG3IgCai4OR8i8m6ga8YZ2rfbbtKq65VHab 0IeYoF61KFMNU5rZ6bvonCZAG4JfvIc3ZZlpULFGxZlxgY6RDle/6BVdT6h1qnUr accqq7vL9d+b8wmJvjULqg5mVjYfy2VW4y03HN6NBYeAhn+L5qRjwL1bbsuqIGYV yE8VahuQ6CFWU5C2ccvOKjD4w8qJ/wEyjYlqTJNpCtswwjwot6VN9l/8CoN1Wf8X UxEPhsRWwD5DcVDjy6KXBMQP4rx1sUTml1A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1699217289; x= 1699303689; bh=sgzYHG1hAVyH/B+YWF4v1clWClEXAJUPjY6dr/SBeXU=; b=l /zfO728CemDpp+jyXr6gEH/pa+PP60KQaQMkA4v9EXbo/7AU3/MoGvAvm7hshfjo 184Okx4WTPhG+McPVTtinkkmvCAvOLwv/JsuRCBLSzql/nB+aH//j1XQ6HmPTY3A CO2QxMVQcazM4KVdv7i/5kGHL9KqXj208GuMFTuVQ03EdBZH1MonUO489g+QoV35 Nk1NBSL6AbhuNfaXPJ8V4LdfFz2ZHefwn3OwBAFsP3vJMkF3UaNyA3tADmQBMD8Z 3ThEQgnOt44QYjbEWHZtQFFCtrRXW5Dt3zZGZbeuFH1kCAnY2cf7vLK6lQ7zB1yx ara7BZqgeLFboAJ9ciHXg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudduvddgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeeurhih rghnthcuofgrihhrshcuoegsrhihrghnthesmhgrihdrrhhsqeenucggtffrrghtthgvrh hnpeejkeelffehjedvgedvffetfefgjeduiedvveejkeekueekfefhleduueevjeektden ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsrhihrg hnthesmhgrihdrrhhs X-ME-Proxy: Feedback-ID: i891b436e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Nov 2023 15:48:07 -0500 (EST) From: Bryant Mairs To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Linus Walleij , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH 3/7] ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 8.0 Wi-Fi Date: Sun, 5 Nov 2023 21:46:18 +0100 Message-ID: <20231105204759.37107-4-bryant@mai.rs> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231105204759.37107-1-bryant@mai.rs> References: <20231105204759.37107-1-bryant@mai.rs> MIME-Version: 1.0 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, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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]); Sun, 05 Nov 2023 12:48:33 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781758494653112948 X-GMAIL-MSGID: 1781758494653112948 Add support for this tablet based on the MSM8226 SoC, codenamed "milletwifi". Signed-off-by: Bryant Mairs --- arch/arm/boot/dts/qcom/Makefile | 1 + .../qcom/qcom-apq8026-samsung-milletwifi.dts | 543 ++++++++++++++++++ 2 files changed, 544 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index a3d293e40820..8726f44ba5dc 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -5,6 +5,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-apq8026-huawei-sturgeon.dtb \ qcom-apq8026-lg-lenok.dtb \ qcom-apq8026-samsung-matisse-wifi.dtb \ + qcom-apq8026-samsung-milletwifi.dtb \ qcom-apq8060-dragonboard.dtb \ qcom-apq8064-cm-qs600.dtb \ qcom-apq8064-ifc6410.dtb \ diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts new file mode 100644 index 000000000000..545992091c6b --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts @@ -0,0 +1,543 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022, Matti Lehtimäki + * Copyright (c) 2023, Bryant Mairs + */ + +/dts-v1/; + +#include +#include "qcom-msm8226.dtsi" +#include "qcom-pm8226.dtsi" + +/delete-node/ &adsp_region; +/delete-node/ &mba_region; +/delete-node/ &mpss_region; +/delete-node/ &smem_region; +/delete-node/ &wcnss_region; + +/ { + model = "Samsung Galaxy Tab 4 8.0 Wi-Fi"; + compatible = "samsung,milletwifi", "qcom,apq8026"; + chassis-type = "tablet"; + + aliases { + display0 = &framebuffer0; + mmc0 = &sdhc_1; /* SDC1 eMMC slot */ + mmc1 = &sdhc_2; /* SDC2 SD card slot */ + }; + + chosen { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + stdout-path = "display0"; + + framebuffer0: framebuffer@3200000 { + compatible = "simple-framebuffer"; + reg = <0x03200000 0x800000>; + width = <800>; + height = <1280>; + stride = <(800 * 3)>; + format = "r8g8b8"; + }; + }; + + gpio-hall-sensor { + compatible = "gpio-keys"; + + event-hall-sensor { + label = "Cover"; + gpios = <&tlmm 37 GPIO_ACTIVE_LOW>; + linux,input-type = ; + linux,code = ; + debounce-interval = <15>; + linux,can-disable; + wakeup-source; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + autorepeat; + + key-home { + label = "Home"; + gpios = <&tlmm 108 GPIO_ACTIVE_LOW>; + linux,code = ; + debounce-interval = <15>; + }; + + key-volume-down { + label = "Volume Down"; + gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; + linux,code = ; + debounce-interval = <15>; + }; + + key-volume-up { + label = "Volume Up"; + gpios = <&tlmm 106 GPIO_ACTIVE_LOW>; + linux,code = ; + debounce-interval = <15>; + }; + }; + + i2c-backlight { + compatible = "i2c-gpio"; + sda-gpios = <&tlmm 20 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; + scl-gpios = <&tlmm 21 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; + + pinctrl-0 = <&backlight_i2c_default_state>; + pinctrl-names = "default"; + + i2c-gpio,delay-us = <4>; + + #address-cells = <1>; + #size-cells = <0>; + + backlight@2c { + compatible = "ti,lp8556"; + reg = <0x2c>; + enable-supply = <®_backlight_vddio>; + + dev-ctrl = /bits/ 8 <0x80>; + init-brt = /bits/ 8 <0x3f>; + + /* + * Change transition duration: 200ms, Change transition strength: heavy, + * PWM hysteresis: 1-bit w/ 8-bit resolution + */ + rom-a3h { + rom-addr = /bits/ 8 <0xa3>; + rom-val = /bits/ 8 <0x5e>; + }; + + /* + * PWM phase configuration: 3-phase/3 drivers (0, 120deg, 240deg, -, -, -), + * PWM frequency: 9616Hz (10-bit) + */ + rom-a5h { + rom-addr = /bits/ 8 <0xa5>; + rom-val = /bits/ 8 <0x34>; + }; + + /* Enable LED drivers 2 & 3, Boot inductor current limit: 1.5A/2.6A */ + rom-a7h { + rom-addr = /bits/ 8 <0xa7>; + rom-val = /bits/ 8 <0xfa>; + }; + }; + }; + + reg_backlight_vddio: regulator-backlight-vddio { + compatible = "regulator-fixed"; + regulator-name = "backlight_vddio"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + gpio = <&tlmm 74 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-names = "default"; + pinctrl-0 = <&backlight_vddio_default_state>; + }; + + reg_tsp_1p8v: regulator-tsp-1p8v { + compatible = "regulator-fixed"; + regulator-name = "tsp_1p8v"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + gpio = <&tlmm 114 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-names = "default"; + pinctrl-0 = <&tsp_en1_default_state>; + }; + + reg_tsp_3p3v: regulator-tsp-3p3v { + compatible = "regulator-fixed"; + regulator-name = "tsp_3p3v"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&tlmm 31 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-names = "default"; + pinctrl-0 = <&tsp_en_default_state>; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + framebuffer@3200000 { + reg = <0x03200000 0x800000>; + no-map; + }; + + mpss_region: mpss@8400000 { + reg = <0x08400000 0x1f00000>; + no-map; + }; + + mba_region: mba@a300000 { + reg = <0x0a300000 0x100000>; + no-map; + }; + + reserved@cb00000 { + reg = <0x0cb00000 0x700000>; + no-map; + }; + + wcnss_region: wcnss@d200000 { + reg = <0x0d200000 0x700000>; + no-map; + }; + + adsp_region: adsp@d900000 { + reg = <0x0d900000 0x1800000>; + no-map; + }; + + venus@f100000 { + reg = <0x0f100000 0x500000>; + no-map; + }; + + smem_region: smem@fa00000 { + reg = <0x0fa00000 0x100000>; + no-map; + }; + + reserved@fb00000 { + reg = <0x0fb00000 0x260000>; + no-map; + }; + + rfsa@fd60000 { + reg = <0x0fd60000 0x20000>; + no-map; + }; + + rmtfs@fd80000 { + compatible = "qcom,rmtfs-mem"; + reg = <0x0fd80000 0x180000>; + no-map; + + qcom,client-id = <1>; + }; + }; +}; + +&blsp1_i2c2 { + status = "okay"; + + accelerometer@1d { + compatible = "st,lis2hh12"; + reg = <0x1d>; + + interrupts-extended = <&tlmm 54 IRQ_TYPE_LEVEL_HIGH>; + + pinctrl-0 = <&accel_int_default_state>; + pinctrl-names = "default"; + + st,drdy-int-pin = <1>; + + vdd-supply = <&pm8226_l19>; + vddio-supply = <&pm8226_lvs1>; + + mount-matrix = "0", "1", "0", + "-1", "0", "0", + "0", "0", "1"; + }; +}; + +&blsp1_i2c4 { + status = "okay"; + + muic: usb-switch@25 { + compatible = "siliconmitus,sm5502-muic"; + reg = <0x25>; + + interrupts-extended = <&tlmm 67 IRQ_TYPE_EDGE_FALLING>; + + pinctrl-0 = <&muic_int_default_state>; + pinctrl-names = "default"; + }; +}; + +&blsp1_i2c5 { + status = "okay"; + + touchscreen@48 { + compatible = "melfas,mms252", "melfas,mms114"; + reg = <0x48>; + interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>; + touchscreen-size-x = <800>; + touchscreen-size-y = <1280>; + avdd-supply = <®_tsp_3p3v>; + vdd-supply = <®_tsp_1p8v>; + + pinctrl-0 = <&tsp_int_rst_default_state>; + pinctrl-names = "default"; + }; +}; + + +&rpm_requests { + regulators { + compatible = "qcom,rpm-pm8226-regulators"; + + pm8226_s3: s3 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1300000>; + }; + + pm8226_s4: s4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + pm8226_s5: s5 { + regulator-min-microvolt = <1150000>; + regulator-max-microvolt = <1150000>; + }; + + pm8226_l1: l1 { + regulator-min-microvolt = <1225000>; + regulator-max-microvolt = <1225000>; + }; + + pm8226_l2: l2 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + }; + + pm8226_l3: l3 { + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <1337500>; + regulator-always-on; + }; + + pm8226_l4: l4 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + }; + + pm8226_l5: l5 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + }; + + pm8226_l6: l6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + pm8226_l7: l7 { + regulator-min-microvolt = <1850000>; + regulator-max-microvolt = <1850000>; + }; + + pm8226_l8: l8 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + pm8226_l9: l9 { + regulator-min-microvolt = <2050000>; + regulator-max-microvolt = <2050000>; + }; + + pm8226_l10: l10 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + pm8226_l12: l12 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + pm8226_l14: l14 { + regulator-min-microvolt = <2750000>; + regulator-max-microvolt = <2750000>; + }; + + pm8226_l15: l15 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; + + pm8226_l16: l16 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3350000>; + }; + + pm8226_l17: l17 { + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <2950000>; + + regulator-system-load = <200000>; + regulator-allow-set-load; + regulator-always-on; + }; + + pm8226_l18: l18 { + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <2950000>; + }; + + pm8226_l19: l19 { + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <3000000>; + }; + + pm8226_l20: l20 { + regulator-min-microvolt = <3075000>; + regulator-max-microvolt = <3075000>; + }; + + pm8226_l21: l21 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2950000>; + }; + + pm8226_l22: l22 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3000000>; + }; + + pm8226_l23: l23 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; + + pm8226_l24: l24 { + regulator-min-microvolt = <1300000>; + regulator-max-microvolt = <1350000>; + }; + + pm8226_l25: l25 { + regulator-min-microvolt = <1775000>; + regulator-max-microvolt = <2125000>; + }; + + pm8226_l26: l26 { + regulator-min-microvolt = <1225000>; + regulator-max-microvolt = <1300000>; + }; + + pm8226_l27: l27 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + pm8226_l28: l28 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2950000>; + }; + + pm8226_lvs1: lvs1 {}; + }; +}; + +&sdhc_1 { + vmmc-supply = <&pm8226_l17>; + vqmmc-supply = <&pm8226_l6>; + + bus-width = <8>; + non-removable; + + status = "okay"; +}; + +&sdhc_2 { + vmmc-supply = <&pm8226_l18>; + vqmmc-supply = <&pm8226_l21>; + + bus-width = <4>; + cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; + + pinctrl-0 = <&sdhc2_default_state>, <&sdc2_cd_default_state>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&tlmm { + accel_int_default_state: accel-int-default-state { + pins = "gpio54"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + backlight_i2c_default_state: backlight-i2c-default-state { + pins = "gpio20", "gpio21"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + backlight_vddio_default_state: backlight-vddio-default-state { + pins = "gpio74"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + muic_int_default_state: muic-int-default-state { + pins = "gpio67"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + sdc2_cd_default_state: sdc2-cd-default-state { + pins = "gpio38"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + tsp_en_default_state: tsp-en-default-state { + pins = "gpio31"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + tsp_en1_default_state: tsp-en1-default-state { + pins = "gpio114"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + tsp_int_rst_default_state: tsp-int-rst-default-state { + pins = "gpio17"; + function = "gpio"; + drive-strength = <10>; + bias-pull-up; + }; +}; + +&usb { + extcon = <&muic>, <&muic>; + status = "okay"; +}; + +&usb_hs_phy { + extcon = <&muic>; + v1p8-supply = <&pm8226_l10>; + v3p3-supply = <&pm8226_l20>; +}; From patchwork Sun Nov 5 20:46:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryant Mairs X-Patchwork-Id: 161775 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2299384vqu; Sun, 5 Nov 2023 12:48:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFntuaGza2rOYjF+NkWUhtk47GAfnKMbyttkJPKCwBAEm8Dxqz8A7ERLyka9e5Fkr8reEIu X-Received: by 2002:a05:6808:16a9:b0:3ae:a81:55a9 with SMTP id bb41-20020a05680816a900b003ae0a8155a9mr33275072oib.24.1699217313515; Sun, 05 Nov 2023 12:48:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699217313; cv=none; d=google.com; s=arc-20160816; b=hBMUxmvhYqFfvNvFtEOGTYldGsxZtfpz1MYRiWHx7tQJD4yt/ilc3wKp6XNh0ndSs6 IKG9feYQT+XhIPydM5MEtgnMfHzHwvrxdKJc9f9eGNBmsVWomA7tNa3f+2Dq1LKb0unv o+V7QpmTeqg+6BE3ver/l+QGaVqJzPkhAnMfEIfdSZyC23jcVekCUYw16oHCmIk0GrYv H0SNz9Nrzq3arLh1fRGqhbyg1+hyxdvzMGUO0zihZfigDgNQMd4g2S+HEFZIeYL1WVgD ESOx6U33+OTc6fwT5i7ybRPdeGmD1UKl9BFtcbqbBh/Mzpfb87dGYYpjSLH04aiz/nDe YiuA== 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:to:from:feedback-id :dkim-signature:dkim-signature; bh=1K37D2+VOVrXb9yfYRMGapSEDdiKrRQuOAXt91kHDg8=; fh=Zg6yj1iLReYuu+XOEmRDwyizklD9g5ULV0IopsbQ56w=; b=KO41E4yVgVNHILEHbJzqcEWkUF0cXVcnscuRGkyJJ/rDEkOLoa3AXoG35VkZZsCuUz 7KFj0DWc+9VGf5zKKEDMkno6Pm0mSzetXgj0Ei6Tly8XfH0DxU9NveUNcwzGqZggTJLh fGSIEcTVqGhKHWK0tB71vAajIgmA2w6LfDg271wrQBSYVaeEjaH9m/v2BWinxRfptfL8 vMnajhm/veMw8vJgXMrpAAPW00YEKOFLok7J+fh5bS+7/4FNr+v6T18xzFGpPvke09zf e26QAlIp9TSaXcdpTGYVHuxIxoBZPcIjvDhzD1Za9TKF9BTbHFnSrB6ItEDbV94JnQgt Guqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b=jrI3xx3J; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=tD1JtOwf; 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 Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id l1-20020a656801000000b005b82de74216si6280600pgt.901.2023.11.05.12.48.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 12:48:33 -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=@mai.rs header.s=fm2 header.b=jrI3xx3J; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=tD1JtOwf; 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 Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6117F80BBE8D; Sun, 5 Nov 2023 12:48:32 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbjKEUsZ (ORCPT + 34 others); Sun, 5 Nov 2023 15:48:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjKEUsO (ORCPT ); Sun, 5 Nov 2023 15:48:14 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08F1CE0; Sun, 5 Nov 2023 12:48:12 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 730685C00D7; Sun, 5 Nov 2023 15:48:11 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 05 Nov 2023 15:48:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mai.rs; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1699217291; x= 1699303691; bh=1K37D2+VOVrXb9yfYRMGapSEDdiKrRQuOAXt91kHDg8=; b=j rI3xx3JT1kIXim8W1+amxDu5JVFauoxlr9elkqow970myyd5d4WAPDAnbxjAHGXU xFNsVTxVV9FBni1DEAkNKesT+UpERpbJ+Dq8m5UZSkt1WgyP3rcLvkC/X+cOQEmb 3H8VOLwAmXitgjKC2K+iDRQ4/mLwpTunJbi0gDc/zFOZqk01s6HZLw0xq3F5ETBp rUlsegSpbv/xGWvPklqCKN8aYItKXw+kkqQSQd7Gp/t3kz2Glb8505UmGu5RWDTN fey3OdHBZZ7YjNqt2dSrmEGZQrC4Vp0PfwzUVZM01zB1w59pNAn4z357ElKi0IBI d1Byy8YLHdxB61hjY97Eg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1699217291; x=1699303691; bh=1 K37D2+VOVrXb9yfYRMGapSEDdiKrRQuOAXt91kHDg8=; b=tD1JtOwfcooo1bV1Q 9chf50CU+lMly1VdKe8Yjd1ntETfu0ae9BhkXcU8TVM17ClfujLwaloePb6JRpcR OLuIido1PbQLTqlrOytN39UW3kkEFGfmeLbi+qa++SjRp25zIuRJl0OSNkzmmhgS Ya5EgNpERgz9eSjUgld4bL6kBLiD2UTwUuCPTruoBGDF6NmrFQm5/u9e1zYQEbvP cMQhzFSRv7rXDwtpq1snrJY4Zgy00m8GI2KpxYVcjy8FDHNKHSAyGpEV3haix6rg 2PhnaO6k6nXTxzM/wqQeYN89EuzHcDhyFSJnUAh+iKDJPOPR5TlQ/F0B5FX5+tlt b9NLw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudduvddgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepuehrhigr nhhtucforghirhhsuceosghrhigrnhhtsehmrghirdhrsheqnecuggftrfgrthhtvghrnh epvdegkeekkeehffehveeltdekvdfhffejuefgjeelfeefgffgleekheeffefggeefnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsghrhigrnh htsehmrghirdhrsh X-ME-Proxy: Feedback-ID: i891b436e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Nov 2023 15:48:09 -0500 (EST) From: Bryant Mairs To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Linus Walleij , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH 4/7] ARM: dts: qcom: Disable pm8941 & pm8226 smbb charger by default Date: Sun, 5 Nov 2023 21:46:19 +0100 Message-ID: <20231105204759.37107-5-bryant@mai.rs> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231105204759.37107-1-bryant@mai.rs> References: <20231105204759.37107-1-bryant@mai.rs> MIME-Version: 1.0 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, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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]); Sun, 05 Nov 2023 12:48:32 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781758493547407254 X-GMAIL-MSGID: 1781758493547407254 Some platforms don't use the built-in charging hardware (e.g. milletwifi). As this is an optional peripheral, default it to off. Keep it enabled for all other boards that use smbb. Signed-off-by: Bryant Mairs --- arch/arm/boot/dts/qcom/qcom-apq8026-asus-sparrow.dts | 2 ++ arch/arm/boot/dts/qcom/qcom-apq8026-huawei-sturgeon.dts | 2 ++ arch/arm/boot/dts/qcom/qcom-apq8026-lg-lenok.dts | 2 ++ arch/arm/boot/dts/qcom/qcom-apq8074-dragonboard.dts | 4 ++++ arch/arm/boot/dts/qcom/qcom-msm8974pro-fairphone-fp2.dts | 2 ++ arch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts | 4 ++++ .../dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts | 2 ++ arch/arm/boot/dts/qcom/qcom-pm8226.dtsi | 2 ++ arch/arm/boot/dts/qcom/qcom-pm8941.dtsi | 2 ++ 9 files changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-asus-sparrow.dts b/arch/arm/boot/dts/qcom/qcom-apq8026-asus-sparrow.dts index aa0e0e8d2a97..e5293755cf88 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8026-asus-sparrow.dts +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-asus-sparrow.dts @@ -253,6 +253,8 @@ &smbb { qcom,fast-charge-high-threshold-voltage = <4400000>; qcom,auto-recharge-threshold-voltage = <4300000>; qcom,minimum-input-voltage = <4400000>; + + status = "okay"; }; &tlmm { diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-huawei-sturgeon.dts b/arch/arm/boot/dts/qcom/qcom-apq8026-huawei-sturgeon.dts index de19640efe55..538309f153d3 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8026-huawei-sturgeon.dts +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-huawei-sturgeon.dts @@ -335,6 +335,8 @@ &smbb { qcom,fast-charge-current-limit = <300000>; qcom,fast-charge-safe-current = <600000>; qcom,auto-recharge-threshold-voltage = <4240000>; + + status = "okay"; }; &tlmm { diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-lg-lenok.dts b/arch/arm/boot/dts/qcom/qcom-apq8026-lg-lenok.dts index b887e5361ec3..b29c39cec2e0 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8026-lg-lenok.dts +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-lg-lenok.dts @@ -292,6 +292,8 @@ &smbb { qcom,fast-charge-high-threshold-voltage = <4350000>; qcom,auto-recharge-threshold-voltage = <4240000>; qcom,minimum-input-voltage = <4450000>; + + status = "okay"; }; &tlmm { diff --git a/arch/arm/boot/dts/qcom/qcom-apq8074-dragonboard.dts b/arch/arm/boot/dts/qcom/qcom-apq8074-dragonboard.dts index 6d1b2439ae3a..88093d6fae2b 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8074-dragonboard.dts +++ b/arch/arm/boot/dts/qcom/qcom-apq8074-dragonboard.dts @@ -403,6 +403,10 @@ &sdhc_2 { pinctrl-1 = <&sdc2_off>; }; +&smbb { + status = "okay"; +}; + &tlmm { sdc1_on: sdc1-on-state { clk-pins { diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-fairphone-fp2.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-fairphone-fp2.dts index 42d253b75dad..49912e311c31 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-fairphone-fp2.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-fairphone-fp2.dts @@ -381,6 +381,8 @@ &smbb { qcom,fast-charge-high-threshold-voltage = <4350000>; qcom,auto-recharge-threshold-voltage = <4240000>; qcom,minimum-input-voltage = <4450000>; + + status = "okay"; }; &tlmm { diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts index 8230d0e1d95d..a189f5641853 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts @@ -433,6 +433,10 @@ &sdhc_1 { status = "okay"; }; +&smbb { + status = "okay"; +}; + &tlmm { gpio_hall_sensor_default: gpio-hall-sensor-default-state { pins = "gpio68"; diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts index 11468d1409f7..df57041ae167 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts @@ -558,6 +558,8 @@ &smbb { qcom,fast-charge-low-threshold-voltage = <3400000>; qcom,auto-recharge-threshold-voltage = <4200000>; qcom,minimum-input-voltage = <4300000>; + + status = "okay"; }; &tlmm { diff --git a/arch/arm/boot/dts/qcom/qcom-pm8226.dtsi b/arch/arm/boot/dts/qcom/qcom-pm8226.dtsi index 2413778f3715..2fd4f135ed84 100644 --- a/arch/arm/boot/dts/qcom/qcom-pm8226.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-pm8226.dtsi @@ -82,6 +82,8 @@ smbb: charger@1000 { "usb-valid", "dc-valid"; + status = "disabled"; + chg_otg: otg-vbus { }; }; diff --git a/arch/arm/boot/dts/qcom/qcom-pm8941.dtsi b/arch/arm/boot/dts/qcom/qcom-pm8941.dtsi index ed0ba591c755..aca0052a02b7 100644 --- a/arch/arm/boot/dts/qcom/qcom-pm8941.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-pm8941.dtsi @@ -99,6 +99,8 @@ smbb: charger@1000 { usb-otg-in-supply = <&pm8941_5vs1>; + status = "disabled"; + chg_otg: otg-vbus { }; }; From patchwork Sun Nov 5 20:46:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryant Mairs X-Patchwork-Id: 161780 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2300004vqu; Sun, 5 Nov 2023 12:50:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/28CF+lK030H9JnD6LqgYCEFaAk2ggLRMwhJV0/9Vr0VK8qRqT0mImMGCIE1e6HAjG+Tn X-Received: by 2002:a0d:d696:0:b0:5ac:fe2d:5edf with SMTP id y144-20020a0dd696000000b005acfe2d5edfmr9221289ywd.44.1699217452642; Sun, 05 Nov 2023 12:50:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699217452; cv=none; d=google.com; s=arc-20160816; b=kH4mFsrsjR0p9msLQk8nMbBZYmwu4ill+Y6llGlaZRYfduCwZc3qwnNJR45O4jHrn0 GYiJRmLbhcC9j7ZjG3vXpCSvpVkUMfJskm29D22jrifBjC362j8mUJuyaJ9QWt65rDx/ ofcE/zMn65pJIPFKHE4CcvGGmg3jcVlTjtya9b13fXGba05qfOFWgVWUQ7foFVjqGrVi z0mAGMJBCSpv6kN1/CVk/Baf1Rt/DxBEbFWPbZcDufuUhCRS10GT1sT80NxZOrGDAhUB dGS4BkBSJ1MCXw3z6+YHuwuo8dai6mTB6uDCSh0Dozz6eeTDC8J2IfyeALjwgczcCB0s 0FQw== 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:to:from:feedback-id :dkim-signature:dkim-signature; bh=O8fDzcjgQ7pbEFlZ3Prz4CvsbP5ODoTbqCZT7YXk//4=; fh=Zg6yj1iLReYuu+XOEmRDwyizklD9g5ULV0IopsbQ56w=; b=eATV65YH0YbIFVDd6NI2tKn8LTs/GcEdSm+y9E/H5cpELHBYOi0cYU7owavM2TjjqX hg1zKsJ0Jf6gIOVHEugoDOmjRWnW5tfTeWCWncfDw3YhARql7TyKyVJJHiItRG3QdQGQ h3CeaaRHjqbthCGTiPaDJ98XZHbtYcqlDkIBtsY5tSvyFWJXnVvKmaIl/venQU7dlknS Zs7/zFqXGtmAciKY0+/GyYM6HUsHShLp5vqokD7k4ww77IcFMS0mLkhoJDAPSp18+2FC E2WgX25yogYvGfj8zy2w2CcAKrA4wyrNNlr8lo2XZZcMSVfHCmqMxa0stmyfRm3q6/6/ S8mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b=PVyRY3wR; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=eFcYhvQe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id p56-20020a056a0026f800b006c3212b57aasi5961644pfw.325.2023.11.05.12.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 12:50:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b=PVyRY3wR; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=eFcYhvQe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B8C278087E11; Sun, 5 Nov 2023 12:50:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229660AbjKEUtz (ORCPT + 34 others); Sun, 5 Nov 2023 15:49:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229731AbjKEUsR (ORCPT ); Sun, 5 Nov 2023 15:48:17 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0D02F2; Sun, 5 Nov 2023 12:48:13 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 4F3485C00D8; Sun, 5 Nov 2023 15:48:13 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 05 Nov 2023 15:48:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mai.rs; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1699217293; x= 1699303693; bh=O8fDzcjgQ7pbEFlZ3Prz4CvsbP5ODoTbqCZT7YXk//4=; b=P VyRY3wR5akHcZyhS/AuMA4WJeXBJbynx4JlprkOQkRhnFExy52chkCQlkk3b8//Q Ptb1jZyoAgCKmZkl4oiwycb10hwT7YvizP+dWUYL8mrXi3bi1K5x2Oxi2NUrHwGG XnyT08YnwmvHdXGZdhp0klcGk+fWvqQuf1Ambmf2KJ5nDMgmubqeQWM47XDYc5qC qvFtsS95FKyWe9Ta5UfGSDyuJdfO3pg6kRx9959jUzK8KthWYMctD9i2wiy50rSm kCAUWaVX2A6r3m6lhXhaukm/iZ6NylcvJjM/NJfHrq5RcAPSk6fJhlNrMo8uMXgs 93JQ0cTBEsem71dCgaJng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1699217293; x=1699303693; bh=O 8fDzcjgQ7pbEFlZ3Prz4CvsbP5ODoTbqCZT7YXk//4=; b=eFcYhvQeQBcZ1rUaP oJynt5vuKzT5NYNum4/RBiqcw40Hqy2GQ0Nxl/tQhvXhfssggD8U2eeEbG2JAs4V Dv3cjbq39jon/gG87NO3yihjQgdy/VpyR2Jc5OczXoLYg/lM1PPmer58v7kSdzpB MWzZCTW8tSTV9NzLuG+ipba9dBYZHvvYnMacn5Bf08/r1KazH6BAVwGdSAvQDbdr DkPRkDPpaM4SGlgoUw53b3w9mUriz6RVbIyvf5wVGtZZCXo+RXicdpZlBbiaVx5Y eyBlSMyKuKNzhSo21fU3nlliHRZK60uvSi3FlccH+P/AURgaS+owEQi/2QgBneEy 56eAw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudduvddgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepuehrhigr nhhtucforghirhhsuceosghrhigrnhhtsehmrghirdhrsheqnecuggftrfgrthhtvghrnh epvdegkeekkeehffehveeltdekvdfhffejuefgjeelfeefgffgleekheeffefggeefnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsghrhigrnh htsehmrghirdhrsh X-ME-Proxy: Feedback-ID: i891b436e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Nov 2023 15:48:11 -0500 (EST) From: Bryant Mairs To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Linus Walleij , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH 5/7] ARM: dts: qcom: apq8026-samsung-milletwifi: Enable charger Date: Sun, 5 Nov 2023 21:46:20 +0100 Message-ID: <20231105204759.37107-6-bryant@mai.rs> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231105204759.37107-1-bryant@mai.rs> References: <20231105204759.37107-1-bryant@mai.rs> MIME-Version: 1.0 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,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Sun, 05 Nov 2023 12:50:31 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781758639767341500 X-GMAIL-MSGID: 1781758639767341500 Enable charging support. Signed-off-by: Bryant Mairs --- .../qcom/qcom-apq8026-samsung-milletwifi.dts | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts index 545992091c6b..910e8d2f69b0 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts @@ -7,6 +7,7 @@ /dts-v1/; #include +#include #include "qcom-msm8226.dtsi" #include "qcom-pm8226.dtsi" @@ -258,6 +259,26 @@ accelerometer@1d { }; }; +&blsp1_i2c3 { + status = "okay"; + + charger@6a { + compatible = "summit,smb358"; + reg = <0x6a>; + + interrupts-extended = <&tlmm 115 IRQ_TYPE_EDGE_FALLING>; + + pinctrl-0 = <&charger_int_default_state>; + pinctrl-names = "default"; + + summit,enable-usb-charging; + summit,enable-charge-control = ; + summit,fast-voltage-threshold-microvolt = <3000000>; + summit,chip-temperature-threshold-celsius = <130>; + summit,usb-current-limit-microamp = <1500000>; + }; +}; + &blsp1_i2c4 { status = "okay"; @@ -495,6 +516,13 @@ backlight_vddio_default_state: backlight-vddio-default-state { bias-disable; }; + charger_int_default_state: charger-int-default-state { + pins = "gpio115"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + muic_int_default_state: muic-int-default-state { pins = "gpio67"; function = "gpio"; From patchwork Sun Nov 5 20:46:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryant Mairs X-Patchwork-Id: 161779 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2299973vqu; Sun, 5 Nov 2023 12:50:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2uGLcgUJrJM+tSarS8IvqJknRmOfYlawekLLWxAgv0vMjFaB0IKxFOuEW+Tk9d0Q6z2Tx X-Received: by 2002:a05:6a20:72a2:b0:181:7d6d:c0f1 with SMTP id o34-20020a056a2072a200b001817d6dc0f1mr14967139pzk.37.1699217448084; Sun, 05 Nov 2023 12:50:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699217448; cv=none; d=google.com; s=arc-20160816; b=KT1O7q94M6Xj2DUDGBdkS5Q0ir46AXO/bHKanwiEnkOey+9AkrfTZvUqZEI6Gg/9bI yFHRi20trRgDxeWD/UXqMJ4Cbo5l+QvwgAdXGj9JFvoIDwbTNylNqrkSoqO7QmXD2jQX WU0qgZVJJoXla4szMnPQB4MVYHOdpNSbVfIz2c8Wq+ZaffzAeHZBSB2vnkBne4rnt/Yv a5fB6m0sMq0HVwiSKyh9gMklrlYsky94gQF1Ny2j+e+0jWYcEovwVixx+Hve6awtlxOW hi0GuUZgyrWjGVpKzLH4d7guQhy8I57hji78C71ioJYVl71jrlpt5h/mbOVB3XwfWvcr b/Jg== 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:to:from:feedback-id :dkim-signature:dkim-signature; bh=D+GTzLQFmpfIZebnBHKmLneCEhVlPIP7ZLa4jOj3Qhk=; fh=Zg6yj1iLReYuu+XOEmRDwyizklD9g5ULV0IopsbQ56w=; b=ftI0pTObPuhvJP9NS37fUtWuRVzP4ttVtg6EgRjztxNn6HXGPwkHZj8jQA6sXeHT4z 60yY7swDHrCZm63vJKfJZL9QrOW+MUXSoedWj3lhTitMHs0U3OsERucl+ys/TkEg2Wtd +HqKjaPHsrOeahBr7m6TKH6GZeacDc2OnVgQrJN+0SvcqbrEuZijLxMY7uVCcgx454A9 esGQfDmmwk48z1Mfdjnz2+Vz+WPtmZ+CkpzjUQaiTGu/b/RJSJKtIiX52tTeI3/TV1/S CaLnDrz1ctZEroShkkEsAaorVwvJeGHxAHdPD9XdvNgS/FH3yHGsEcHGBYuNTcpDNygV E30g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b=Fcgbn1Eg; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Yi2kMvP4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id r17-20020a170902c7d100b001cc2c4fdbecsi5870411pla.649.2023.11.05.12.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 12:50:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b=Fcgbn1Eg; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Yi2kMvP4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id E93A0809C930; Sun, 5 Nov 2023 12:50:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229735AbjKEUt5 (ORCPT + 34 others); Sun, 5 Nov 2023 15:49:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbjKEUsS (ORCPT ); Sun, 5 Nov 2023 15:48:18 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2C57E0; Sun, 5 Nov 2023 12:48:15 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2AA585C00B6; Sun, 5 Nov 2023 15:48:15 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 05 Nov 2023 15:48:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mai.rs; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1699217295; x= 1699303695; bh=D+GTzLQFmpfIZebnBHKmLneCEhVlPIP7ZLa4jOj3Qhk=; b=F cgbn1EgO+ZN/Ku5AhJwVNvrRBZMAE2GVgtjAo5dWFmBoF2SK7OGspGM/IG9yTVBr dyTAUQduSv7nRR0E+LhCm+SvGcFF4y9EWvigCgX8Ipou/bmIEW9+OGc9XKCcQVtl TJ/0QXN0uSFVWYloHCrTnSN3QXcV7K8vlaoihxTcyE9VNntzOrc91ofBA9vJS+1q WwkeiRetH/fJ2jyvh/xftE4Z5Y9UaAlZTCnMQ36mcy13e1Q9ZhBIzXlFITGnk24a M+TP4d+Ub9ofYQ8zCSnMTe9vUQv3ieavgafceG70DxSbeLsLDjOoEKBXHcQlcM+O OjOPbAr891frLjRq0e77w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1699217295; x=1699303695; bh=D +GTzLQFmpfIZebnBHKmLneCEhVlPIP7ZLa4jOj3Qhk=; b=Yi2kMvP44eqkWUEsb pk/wBH9onTmESYr3nUT4MQNlvp3L3lcLl7Qs7o9wa7WJLKDhFLjZQEyfBLsjWcOd DQqPodZSXkCh2VBTM/V5hchDFauiyj3GOiy4KSfkkc+4EbLVoihV/YRPoAozWqCu xY1ak03vNOfI52UtYvFBQsyaIAiOlzF25msYgwZok76n5WpZg2i7yl8w43xIoghw Dhhd0mGAdqBQ+Nw3ux0SMYCBtkTf+O8CKZgd7WpehVZjSSogIEiQYpZslKEjFUGM cqoYFJxJoVyAkvh5ENva00Z7rdDuipue5NL7iHTN+SWN/2Q7MF+4xcVegxw0INZS wA/tg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudduvddgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepuehrhigr nhhtucforghirhhsuceosghrhigrnhhtsehmrghirdhrsheqnecuggftrfgrthhtvghrnh epvdegkeekkeehffehveeltdekvdfhffejuefgjeelfeefgffgleekheeffefggeefnecu vehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhepsghrhigrnh htsehmrghirdhrsh X-ME-Proxy: Feedback-ID: i891b436e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Nov 2023 15:48:13 -0500 (EST) From: Bryant Mairs To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Linus Walleij , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH 6/7] ARM: dts: qcom: apq8026-samsung-milletwifi: Enable Wi-Fi and Bluetooth Date: Sun, 5 Nov 2023 21:46:21 +0100 Message-ID: <20231105204759.37107-7-bryant@mai.rs> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231105204759.37107-1-bryant@mai.rs> References: <20231105204759.37107-1-bryant@mai.rs> MIME-Version: 1.0 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,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Sun, 05 Nov 2023 12:50:41 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781758634940373164 X-GMAIL-MSGID: 1781758634940373164 Enable Wi-Fi and Bluetooth support for milletwifi. This device uses the WCN3660A that is already supported, so it only needs to be enabled in the DTS. Signed-off-by: Bryant Mairs --- .../qcom/qcom-apq8026-samsung-milletwifi.dts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts index 910e8d2f69b0..57f50af487c1 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts @@ -310,6 +310,28 @@ touchscreen@48 { }; }; +&pronto { + vddmx-supply = <&pm8226_l3>; + vddpx-supply = <&pm8226_l6>; + + pinctrl-0 = <&wcnss_pin_a>; + pinctrl-names = "default"; + + status = "okay"; + + iris { + vddxo-supply = <&pm8226_l10>; + vddrfa-supply = <&pm8226_l24>; + vddpa-supply = <&pm8226_l16>; + vdddig-supply = <&pm8226_l24>; + }; + + smd-edge { + wcnss { + status = "okay"; + }; + }; +}; &rpm_requests { regulators { @@ -557,6 +579,13 @@ tsp_int_rst_default_state: tsp-int-rst-default-state { drive-strength = <10>; bias-pull-up; }; + + wcnss_pin_a: wcnss-pin-active-state { + pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44"; + function = "wlan"; + drive-strength = <6>; + bias-pull-down; + }; }; &usb { From patchwork Sun Nov 5 20:46:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryant Mairs X-Patchwork-Id: 161778 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2299932vqu; Sun, 5 Nov 2023 12:50:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0EuuttclVF0U4Tuh4bGJ1A12H6Lz5Ultb1EX0D4rPHh4ds0BcR1U+uAmcrXaHaUsenxaC X-Received: by 2002:a05:6870:6193:b0:1ea:3746:b7d6 with SMTP id a19-20020a056870619300b001ea3746b7d6mr29725550oah.28.1699217439484; Sun, 05 Nov 2023 12:50:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699217439; cv=none; d=google.com; s=arc-20160816; b=Gri1c7KAFnpNMZRmUwxmxERUiCzIMxG5QgwAX58mYTISM0eg44I77mKejb9yocZlNe PelnMGF8xWpsyIqjI9ui2AkQkPYKHrwFHCYKRB+bfoUtPiG901FnhsOzIZNrPQoGyi9O JaYnKZybrTzvzPQ8cSDW7/sZzX5JYTghzkw2HfTYGO8gBJ1gqxcOYaBy8hkR3NEbVOCs /H7MtYgC2mwcANQbWaSqIaAuHWUCWnFdmdq0cUMQZ92TrgVSzHUrMpVREbt7cDls9xWT xGQeQUF1LdoNdVS14hJv9GKaLfgSdKQ8lGn6T6pvixpS5zkWT2nZCy8i+L9jm/Vg3scx MYnw== 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:to:from:feedback-id :dkim-signature:dkim-signature; bh=80TY+AmD8+fXcnPnfddIxJ7QVb/Un0cY9LHkEYEImdI=; fh=Zg6yj1iLReYuu+XOEmRDwyizklD9g5ULV0IopsbQ56w=; b=uefMkyXp6EIYJvy/IifLan6x2diP4iHnKBCSn0mK25iMMJpK7AAWkboDy27ZEKn4t3 j/gHLz0CrM6RPg5YRKQuJ4vPstwOJYQLcqY9ss7PPS9RjTr8s3pUeA1Ge+RmzYi4UC+q /cAmmwhI9PUEXIbZHi1eb/TqDAI1BPuL9yC9ZRQzA6X4b8cw+UOATF8rpI4Gbbj1XmsI g9u0c59leJlrygJbgoP/+mw3HNZt8mXntV0TIk0NCCdvnN3agi/13CTptEKMpXHKfoP0 cpKR9URGVY8mJGHqvLQsaGWkkl1xlYPVhaHlw4Tnuk2AA2LUj5Nb7YVxgMz0NYikFVkf kjdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b=ShI1mbae; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=a3qAcJaN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id s66-20020a637745000000b005b95f5f8976si6618525pgc.634.2023.11.05.12.50.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 12:50:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b=ShI1mbae; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=a3qAcJaN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 24571807C743; Sun, 5 Nov 2023 12:50:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229772AbjKEUuB (ORCPT + 34 others); Sun, 5 Nov 2023 15:50:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229786AbjKEUsU (ORCPT ); Sun, 5 Nov 2023 15:48:20 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FC58E1; Sun, 5 Nov 2023 12:48:17 -0800 (PST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id EA5F55C00D8; Sun, 5 Nov 2023 15:48:16 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 05 Nov 2023 15:48:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mai.rs; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1699217296; x= 1699303696; bh=80TY+AmD8+fXcnPnfddIxJ7QVb/Un0cY9LHkEYEImdI=; b=S hI1mbael042HlvOYmFd7CjdXHnraVii7kw02Nt+HEC3MpOxOeWwICwq88dSZm5Ct Lh/mjZIAe30Lu+AhUeIG8zIQTrXyVVUVoLjw56YhvQPe5hdb9xkDx6jPsJNHiziE yvjooImkE4ouw91aQvs4lMgJvCDma6O91yD+qfiSErLYgnAapbh2gdh87hDwr+gT RYDgD4r5GMV9o4HWvYCMOIREh1g4ULBuU5gs7uzLTL7Q+5aCcddGCbxd49zgYBDu E9CnhTQPchrIheMz7EmYEe8fv7UijVzKnW4TzVVKBiF4JNNaNFwwXiwrJGeILvij /u9wxLl4qo+cCqvzfnckg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1699217296; x=1699303696; bh=8 0TY+AmD8+fXcnPnfddIxJ7QVb/Un0cY9LHkEYEImdI=; b=a3qAcJaNjcxPm0LOc XV0/ZFXDa3ExlBWDVDXRWMrUqRSXENTCaeqe7o2onMDpHtPHb+XccAdzZWBJYoKP kfplIp3RSTYuNuGG1EOm+/97lzrE5VoyQrWUn+GcHmLRt9LZVkvM4ornKS3pIWMF 970SCjv8n45Q5yUr+aXcbFuwewlRwl/Cdqmb4LhhN9aPKYSUuIdwWPJOnUL7E4GW oi9VAq2EKHNJvGcJGN2F4iMUu3PSxURCjOurvYRWRDlO1Kl57/Kw2dKh3WjOD2W+ E4/RWAbigx56r4unjR07XlojMTLykZQAQOYx9bcqa6tjQQClh4Y2COkoEIDp40UC sIoqw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudduvddgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepuehrhigr nhhtucforghirhhsuceosghrhigrnhhtsehmrghirdhrsheqnecuggftrfgrthhtvghrnh epvdegkeekkeehffehveeltdekvdfhffejuefgjeelfeefgffgleekheeffefggeefnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsghrhigrnh htsehmrghirdhrsh X-ME-Proxy: Feedback-ID: i891b436e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Nov 2023 15:48:15 -0500 (EST) From: Bryant Mairs To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Linus Walleij , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH 7/7] ARM: dts: qcom: apq8026-samsung-milletwifi: Enable modem Date: Sun, 5 Nov 2023 21:46:22 +0100 Message-ID: <20231105204759.37107-8-bryant@mai.rs> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231105204759.37107-1-bryant@mai.rs> References: <20231105204759.37107-1-bryant@mai.rs> MIME-Version: 1.0 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, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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]); Sun, 05 Nov 2023 12:50:12 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781758625843537012 X-GMAIL-MSGID: 1781758625843537012 Enable the modem hardware for milletwifi, which is actually only the GPS functionality. Signed-off-by: Bryant Mairs --- arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts index 57f50af487c1..b6750cf850f0 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts @@ -310,6 +310,13 @@ touchscreen@48 { }; }; +&modem { + mx-supply = <&pm8226_l3>; + pll-supply = <&pm8226_l8>; + + status = "okay"; +}; + &pronto { vddmx-supply = <&pm8226_l3>; vddpx-supply = <&pm8226_l6>;