Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1125199rwi; Mon, 31 Oct 2022 11:40:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7LHkdZMIuQpVjSy1GhIkefNrjJYJ0XDQcd2zDU/4ZbFC8NonIpSgqjNHenO9jS4uy3tP54 X-Received: by 2002:a17:902:d38d:b0:186:9fc5:6c13 with SMTP id e13-20020a170902d38d00b001869fc56c13mr15651882pld.73.1667241641631; Mon, 31 Oct 2022 11:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667241641; cv=none; d=google.com; s=arc-20160816; b=W9C/9pir1pvZrodCmpwLiStr+GTDxLdg8bCOVhcFBx12I5+IGecd5PJGi4ZyNzw4OF 4Vm6aLNbQECgVp2DATaQn8Ya6md4IDiApraCmxfMJit4iJJKQLXmEYWx0FGxgar9qVa9 RoasuF1Jtdb/qES6UEPjLePXp9PkRpdOsl7ijdOz7m9I67V8JxN9c39yVjXSyq6T92Zu 7XmIkL7voWonPUr6u/LPTJqI2kynI/a89xIpO/07Q81XmqkJFGdnHK+hziIZxi+YJi63 xD0nazoMtUNOudGplhyrvCBmQnsZymtJmbypHcqW9S0Nzn+Ex0FQ9In25OvohT2oNv/I hxQw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=pqbrlOctHc8txBzFZ3DLxBLSHMUJG8ovNfiPdMLOVEU=; b=bmtKKN/Cy4SNmsVRyRocBNDGjMQ5oZcVBu/xP+X9e8KzSYWOZ0j1FFkLElurAP5DmU JCms35OShzVq9tZF5ext3PTzJKzJOUjNNDiOztkRBkCjhKN22MGEFMSAPg2STAXba5B3 3Wkum3VvG2rmnmWWmqhRjjrrm6tGN0fEcqTEwsNVaTQgOU/q95RL2K1UfqJWT8vLyFx/ cnjRv3CcRPq6guiPZL2yz4ait9xK8dBbIHuspJ4tKUOpB9fO9pSlVJwvOTVcibBkWA6r IJlCzqAPpm5QuoqGVkhP07Y1JQYdla6R/fFp+0IEa2NjBH3bXXpLPokw30dI+Po1znpH URWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=KXmF94Vb; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e16-20020a17090a9a9000b00205f6ca05d2si8862933pjp.122.2022.10.31.11.40.28; Mon, 31 Oct 2022 11:40:41 -0700 (PDT) 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=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=KXmF94Vb; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229971AbiJaRkY (ORCPT + 98 others); Mon, 31 Oct 2022 13:40:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231942AbiJaRkJ (ORCPT ); Mon, 31 Oct 2022 13:40:09 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2266613D73; Mon, 31 Oct 2022 10:39:49 -0700 (PDT) Received: from g550jk.arnhem.chello.nl (31-151-115-246.dynamic.upc.nl [31.151.115.246]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 325DED019C; Mon, 31 Oct 2022 17:39:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1667237987; bh=2Gi0EKJdVgf4UQs0CB/NSQnG2y/0R6oOHuiW0D9biC8=; h=From:To:Cc:Subject:Date; b=KXmF94VbM5DR089XGQaH3c2n6/JW657iwEtLEGFAwaRlFPQrt/lVVSqKjYCg7y2H6 kmyBUYFh7t1TzdfRZBglmCeThI583SQtPUQDwlubPNhgtOMi/u4FpHpS1KBXZ9ADZT bLScWcHmHGRPRUXHcd3oKZUYe1nvhxqzGDT8QUbU= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, afd@ti.com, Luca Weiss , Andy Gross , Bjorn Andersson , Konrad Dybcio , Lee Jones , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] dt-bindings: mfd: qcom,spmi-pmic: support more types Date: Mon, 31 Oct 2022 18:39:31 +0100 Message-Id: <20221031173933.936147-1-luca@z3ntu.xyz> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, FROM_SUSPICIOUS_NTLD_FP,PDS_OTHER_BAD_TLD,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 * 'adc@' is either spmi-iadc or spmi-vadc * 'charger@' is either pm8941-charger or pm8941-coincell * 'usb-vbus-regulator@' is usb-vbus-regulator * 'vibrator@' is now in yaml format, so add it Signed-off-by: Luca Weiss --- Changes since v1: * Change dcdc@ to usb-vbus-regulator@ * Link to pm8xxx-vib.yaml .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index 777f2da52f1e..cf10d62ace54 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml @@ -105,7 +105,9 @@ properties: patternProperties: "^adc@[0-9a-f]+$": type: object - $ref: /schemas/iio/adc/qcom,spmi-vadc.yaml# + oneOf: + - $ref: /schemas/iio/adc/qcom,spmi-iadc.yaml# + - $ref: /schemas/iio/adc/qcom,spmi-vadc.yaml# "^adc-tm@[0-9a-f]+$": type: object @@ -115,6 +117,12 @@ patternProperties: type: object additionalProperties: true # FIXME qcom,pm8916-wcd-analog-codec binding not converted yet + "^charger@[0-9a-f]+$": + type: object + oneOf: + - $ref: /schemas/power/supply/qcom,pm8941-charger.yaml# + - $ref: /schemas/power/supply/qcom,pm8941-coincell.yaml# + "extcon@[0-9a-f]+$": type: object $ref: /schemas/extcon/qcom,pm8941-misc.yaml# @@ -135,9 +143,13 @@ patternProperties: type: object $ref: /schemas/thermal/qcom,spmi-temp-alarm.yaml# + "^usb-vbus-regulator@[0-9a-f]+$": + type: object + $ref: /schemas/regulator/qcom,usb-vbus-regulator.yaml# + "^vibrator@[0-9a-f]+$": type: object - additionalProperties: true # FIXME qcom,pm8916-vib binding not converted yet + $ref: /schemas/input/qcom,pm8xxx-vib.yaml# "^mpps@[0-9a-f]+$": type: object -- 2.38.1