From patchwork Fri Nov 11 12:01:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 18711 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp699234wru; Fri, 11 Nov 2022 04:05:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf440RiTm0XCrNTWzh1Xu9IHPF8TMJR58JknRdoZLTDk6keSgDbuBAxxitW2iPydFPfh6K4j X-Received: by 2002:a17:906:fb8f:b0:7ab:1b4c:ac6e with SMTP id lr15-20020a170906fb8f00b007ab1b4cac6emr1598583ejb.669.1668168300770; Fri, 11 Nov 2022 04:05:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668168300; cv=none; d=google.com; s=arc-20160816; b=R/vZAYqhI2oG7dQtQekNUDIIJJPDFC69yLNCZeJh8gTSiEprfVj1yTXmAPUIjhAXxx QnkgW3cdOaRlp36d8wwAXQQm9usZv11nFhV7diMpVO1pQN7qy5WUeetjCQXszKHqhYLK 9GrYr/mP8dtkx2xX4yYM6fMxeyjorgG/4F68GQMTke4OL4+aRm0klN5k6GlOI+hY13Mx uUY2Up7xdZRZe/V9+8c2diN5KKd0XbniUbQnDkI1NR0dDkeSlavRN+MOVMmhmlVvakFD 6HyOFv3OC+hUfwD+PikoH7uircz++2Y3aNEN6IlDCDNBa6sTT8TgmLbY5Smkr1UhneZC wLKQ== 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 :dkim-signature; bh=lfIK5kY3uQdmKW2lvrJvRMJLzSxqrRw0KtRYA1ybFBw=; b=ENzksAirhQFdSdleR91uvGJswLUfxHNo6SqXOf80FfHO1QZPpkXRaaYWqsz0bbP3nU oYt7VEfsvMMz0hlG4hy9/z3aKPCA3OGjwb9zfQ4OeHQuaKr36Yi7v6not/FnSkeuwcYq Wer016VDcW8+4xRJzTJXo4IKhvpzJ/8Hz0etbkvvbgrak3mdz7WTV3ufcnUuAe8ZGf3z MTesXgNmRI3Ic2Sgmq50+prDeBlDUwbnJ+6BgEODpMKpeVfLSmfs/jaS1TBW3Z1kHtGJ msSVuX4AP3Wc8eHW2nVBrbqkYqPVy6YOID1rd7rhvcBWH3zNfzKUmu6uUKj6K1IZK4eY OUOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=awhAMxu4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d27-20020a50f69b000000b00459060fce1bsi645420edn.574.2022.11.11.04.04.36; Fri, 11 Nov 2022 04:05:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=awhAMxu4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233739AbiKKMCN (ORCPT + 99 others); Fri, 11 Nov 2022 07:02:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233520AbiKKMCG (ORCPT ); Fri, 11 Nov 2022 07:02:06 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB79A82C46; Fri, 11 Nov 2022 04:02:04 -0800 (PST) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 32F506602A53; Fri, 11 Nov 2022 12:02:02 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1668168123; bh=E58h8dQlq6iyVZeY2ZoYwPMl0h6V46S7j8hkPKDnsBs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=awhAMxu4qfrXwOB6t2GUPEgSm798ULLg98fP0oCTQb43skDUf/q7UKnzDth5LL0pF 3GwsfVN0YHd8PFGNv38P+8Srft23bL1vw5pIkGbgPup9qNxcBaP16CiY89AO2EVpuq VMpL9oyflD5HXAINc9/iRR3q5G/d301dNJK5xSEbE/UrS2exTM7RtxCPCGGJ6rubWW BBrHhaEyVLgPulDdmon6rMcUWsgoaYqYWEC/6hzvRcMw9VoNvUyy313Ypl2imIc0Ey y2ysICl1SQchfmaGhPNinBmOUjzgynIsZbtiEQoUqHezrZdEqEWHBq8wjLhdhi1rRI k7Fq49QHMbYcA== From: AngeloGioacchino Del Regno To: agross@kernel.org Cc: andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, srinivas.kandagatla@linaro.org, jic23@kernel.org, lars@metafoo.de, keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.com, evgreen@chromium.org, gregkh@linuxfoundation.org, a39.skl@gmail.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-hardening@vger.kernel.org, marijn.suijten@somainline.org, kernel@collabora.com, luca@z3ntu.xyz, AngeloGioacchino Del Regno , AngeloGioacchino Del Regno , Konrad Dybcio , Krzysztof Kozlowski , Jonathan Cameron Subject: [PATCH v2 01/11] dt-bindings: iio: qcom-spmi-vadc: Add definitions for USB DP/DM VADCs Date: Fri, 11 Nov 2022 13:01:46 +0100 Message-Id: <20221111120156.48040-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221111120156.48040-1-angelogioacchino.delregno@collabora.com> References: <20221111120156.48040-1-angelogioacchino.delregno@collabora.com> 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,SPF_HELO_NONE,SPF_PASS 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749201244420582262?= X-GMAIL-MSGID: =?utf-8?q?1749201244420582262?= From: AngeloGioacchino Del Regno Some SoCs do have a USB DP/DM ADC at 0x43, 0x44. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio Signed-off-by: Marijn Suijten Signed-off-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski Acked-by: Jonathan Cameron --- include/dt-bindings/iio/qcom,spmi-vadc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/iio/qcom,spmi-vadc.h b/include/dt-bindings/iio/qcom,spmi-vadc.h index 08adfe25964c..c7bb9ef1f9ed 100644 --- a/include/dt-bindings/iio/qcom,spmi-vadc.h +++ b/include/dt-bindings/iio/qcom,spmi-vadc.h @@ -72,6 +72,9 @@ #define VADC_AMUX_PU2 0x3b #define VADC_LR_MUX3_BUF_XO_THERM 0x3c +#define VADC_USB_DP 0x43 +#define VADC_USB_DM 0x44 + #define VADC_LR_MUX1_PU1_BAT_THERM 0x70 #define VADC_LR_MUX2_PU1_BAT_ID 0x71 #define VADC_LR_MUX3_PU1_XO_THERM 0x72