From patchwork Sun Jan 21 22:33:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marijn Suijten X-Patchwork-Id: 189850 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp2265153dyb; Sun, 21 Jan 2024 14:42:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IEj3anHkukqtagQS8/s4SVEzvUqjF+GVJwJxgkNNqE/iBBES33A8CWzElwwU51Lpf2xYHIO X-Received: by 2002:aa7:dd14:0:b0:559:d23a:705d with SMTP id i20-20020aa7dd14000000b00559d23a705dmr1393455edv.55.1705876953844; Sun, 21 Jan 2024 14:42:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705876953; cv=pass; d=google.com; s=arc-20160816; b=PXgKYSAMU2qzGjecaCgD/F0uPDeHO+0QU9dDNFe//fCJmcvSDBlhjMrHjhmiYjTpeo IE4PwauZMsxCMB+Kb2m4eKC4H7AIElgEB3JHXIq2xpeSON56RSlqDUxMB+1O61PuH34T Dg5or1ySkFTCepoB/MHRCKm1Lat9ov4ycsFghXLrRnMoxEIt2sg4U5PXcCuW9S4Bw57r usEmhMBz7rPsXhX9QOAGEaP4GNXozR4Yq54L2Pvpbm823aCKQZ+3ku0uJZWrNGzIOFuT YRY24btwb6wapb3lSH0IF5/c8XR6ZVuMx7w0Cx0ydmBXwYDRWstlLos7Udtxh7gN22VW E/KQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from; bh=6lQVKDzt6yKCZzJZrY1R9aUtN9inGkL7mG8JF/kh+Z4=; fh=cIXbSO4AX1Qnl5qlb1ihZ3NJfL1FzL7RHuzbkbWyu6k=; b=T4O6Ew2ye6RZv4RfCALwjgq+dyUAX5Uu0Z32rTtidPm4HV/7BUOcpCY5vrfm81kw+3 7zg9W2ki6CfQ5TV6WZ4wsrBnnE45hQR41we+yfVmG5BfhO1n7CqUlbPtmkNg6kjItsXA zEMezAnaOBr9mEi4RvM3Vg8ITmlSWJkRYeRkWduaVSXXWRBESjTV9jvhNMf5M/AOeFu5 DXJ2n5q6HD7VARlB45L+uzoMmVkA25viNAL9IcmlguGPiZhF+OUdROTNX38bkjvRNDFI 5ifzkrEsWe4ipt6WzqjNk5nN+cK3WYQ6bIy/+Mu437NJeeW8ImCtdcUA6F/BjrJJGeL6 cZRg== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=somainline.org); spf=pass (google.com: domain of linux-kernel+bounces-32214-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32214-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id d32-20020a056402402000b0055c497dde33si175760eda.459.2024.01.21.14.42.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 14:42:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32214-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=somainline.org); spf=pass (google.com: domain of linux-kernel+bounces-32214-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32214-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7438B1F21A38 for ; Sun, 21 Jan 2024 22:42:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96C6F39AD1; Sun, 21 Jan 2024 22:41:44 +0000 (UTC) Received: from relay02.th.seeweb.it (relay02.th.seeweb.it [5.144.164.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA2DF38DFB for ; Sun, 21 Jan 2024 22:41:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.144.164.163 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705876903; cv=none; b=qKCHBfPFAWGAxzuFlPTxQALK9l8pfhcXs226zyvlNqiTVlwhFKvuojThMcfFVDFVd7Njvt1oIbPB72QGUiLx/OZdUhaGjplYEuz8OsVt4VOzcM00gANe32BOJx5IC2LJgSFKUrDI3Io/s/rFDxcOSeXqHxRpfjm2y/BDPdKWtsk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705876903; c=relaxed/simple; bh=CTNcfJwybjX/Tkl9gEBdYFF2xig/uDP3Ncqgqn4vJJ0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=D9kDqVMCc9iHGcgEwRAUXkAN8L3wgvp4xjlxswK55EMAk/DXCi4+aRqX/8G/RrBm/8uQlF58GM+ANpt5BbCs0uRfjLhp54yP6IdX0jOe4i29EO5OcqX19wfRQ5uH5xAkAOmhuzo2Hfc+1uS/SF2li3uQ933zs1AcWbhLY3qOFlA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=somainline.org; spf=pass smtp.mailfrom=somainline.org; arc=none smtp.client-ip=5.144.164.163 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=somainline.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=somainline.org Received: from Marijn-Arch-PC.localdomain (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id B06C32037A; Sun, 21 Jan 2024 23:33:41 +0100 (CET) From: Marijn Suijten Date: Sun, 21 Jan 2024 23:33:40 +0100 Subject: [PATCH v2 3/6] arm64: dts: qcom: pmi8950: Add missing ADC channels Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240121-msm8976-dt-v2-3-7b186a02dc72@somainline.org> References: <20240121-msm8976-dt-v2-0-7b186a02dc72@somainline.org> In-Reply-To: <20240121-msm8976-dt-v2-0-7b186a02dc72@somainline.org> To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Luca Weiss , Adam Skladowski , Konrad Dybcio , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten X-Mailer: b4 0.12.4 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788741632906028123 X-GMAIL-MSGID: 1788741632906028123 These seem to have previously been excluded due to either not residing on the test board, and/or lacking VADC_USB_DP/VADC_USB_DM definitions. Now that the channel constants are included in dt-bindings, add the channels to DT as well. Reviewed-by: Konrad Dybcio Signed-off-by: Marijn Suijten --- arch/arm64/boot/dts/qcom/pmi8950.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pmi8950.dtsi b/arch/arm64/boot/dts/qcom/pmi8950.dtsi index 49e97ebdbb3c..bc341849b9fe 100644 --- a/arch/arm64/boot/dts/qcom/pmi8950.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8950.dtsi @@ -69,6 +69,30 @@ channel@d { qcom,pre-scaling = <1 1>; label = "chg_temp"; }; + + channel@e { + reg = ; + qcom,pre-scaling = <1 1>; + label = "ref_gnd"; + }; + + channel@f { + reg = ; + qcom,pre-scaling = <1 1>; + label = "ref_vdd"; + }; + + channel@43 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "usb_dp"; + }; + + channel@44 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "usb_dm"; + }; }; pmi8950_mpps: mpps@a000 {