From patchwork Thu Dec 1 20:21:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 629956 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15DBCC6370D for ; Thu, 1 Dec 2022 20:21:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230334AbiLAUV4 (ORCPT ); Thu, 1 Dec 2022 15:21:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230039AbiLAUVy (ORCPT ); Thu, 1 Dec 2022 15:21:54 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8FE0BF67E for ; Thu, 1 Dec 2022 12:21:50 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id r8so3170867ljn.8 for ; Thu, 01 Dec 2022 12:21:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KOGoCPWDALPa2Pn54w5yy0V+BqkFOIiPQ9fSx1bZOe4=; b=QkPgXYPjcWSWFOxI5ebsaCNFMaSTtxcgIpfa3mjByTZbLwPKMFxPwS52osFDkwjWu5 VTcCFeKD/yI9O8E2t81MLCmFuqngk5XkdF44zWuO61F+xtEmWbz04VakNpX4zLCP7alK C3MRC4OMRzm8AlesA9e6YoMoaRf6B23TG44ntUFdyoz0MxkKYc1KG3w16BGQexiyg0/h 7LEkWNsfz+am7lz7WxttOYlSVSj/N/0+wLvmnU9TJNX+Q1Pgh+SZt8XBmh9OBqv3MtlK ipP2/pp/93xxoi5J9Y5BaRtofgnfQ2tvg+fEB+SUou3A3m6+TjhC7FBvoJY6xlRAOFan 2ZsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KOGoCPWDALPa2Pn54w5yy0V+BqkFOIiPQ9fSx1bZOe4=; b=dqVquScvL+9RIRrjorcddyS7Akx/uk427JfeXf52sgWs6gx2eY2/P8snyYbAoSZTeX DH1Ju6ZUoVkW6nhH5+MNztT1cpmCAaAkddgjbv3otCxpvk6WGngywjTLLPxJiCu8kXHd oCF8Gkea1IA5DXqfQe1QlNqEyFiJz+ppxaPdDzWXAyDNMa7GUWx6asinwi/Bd7sC0KZg eXNLm4DWiZKxkVZ5i5OySRIv+05HK5Ow2AujsaG5o1xSd8K9HC8rqZUz21CuZtGydnns Se7sedku+83JTs50688JkM7esrZd5PGOZyRPTOVdFfoWQJzCcS/wDj2Qdj7tRqOD7aoC kNzQ== X-Gm-Message-State: ANoB5pnMlrne/kHdRGH9mFuzutQmAOVq3baXKuVtycULnuCW2iOP07eL fepVNpXzNOBvgqtzYCePbBYMQtgdFTN9/A== X-Google-Smtp-Source: AA0mqf5TxP6WaF0o+U4NiNXlu8EtcmUEFeSlfgVwckTpt54cPkirMYrGHO0Tj662tdspAcAEphY18Q== X-Received: by 2002:a2e:b0ef:0:b0:279:be29:cb69 with SMTP id h15-20020a2eb0ef000000b00279be29cb69mr4288321ljl.482.1669926108878; Thu, 01 Dec 2022 12:21:48 -0800 (PST) Received: from eriador.unikie.fi ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id l30-20020a19495e000000b004b514b27c86sm769679lfj.13.2022.12.01.12.21.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Dec 2022 12:21:48 -0800 (PST) From: Dmitry Baryshkov To: devicetree@vger.kernel.org, Lee Jones , Rob Herring , Krzysztof Kozlowski Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , linux-iio@vger.kernel.org, Dmitry Torokhov , linux-input@vger.kernel.org, Pavel Machek , linux-leds@vger.kernel.org Subject: [PATCH 4/5] dt-bindings: iio: adc: qcom, pm8018-adc: allow specifying MPP channels Date: Thu, 1 Dec 2022 22:21:43 +0200 Message-Id: <20221201202144.448694-5-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221201202144.448694-1-dmitry.baryshkov@linaro.org> References: <20221201202144.448694-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Several ADC channels are bound to the Multi Purpose Pins (MPPs). Allow specifying such channels using the mppN device node (as used on apq8060 dragonboard). Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml b/Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml index d186b713d6a7..fee30e6ddd62 100644 --- a/Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml @@ -64,7 +64,7 @@ required: - adc-channel@f patternProperties: - "^(adc-channel@)[0-9a-f]$": + "^(adc-channel|mpp[0-9]+)@[0-9a-f]$": type: object description: | ADC channel specific configuration.