From patchwork Fri Oct 28 23:13:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 619698 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 79C1FECAAA1 for ; Fri, 28 Oct 2022 23:13:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229494AbiJ1XNT (ORCPT ); Fri, 28 Oct 2022 19:13:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229782AbiJ1XNO (ORCPT ); Fri, 28 Oct 2022 19:13:14 -0400 Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F4581DA37A for ; Fri, 28 Oct 2022 16:13:13 -0700 (PDT) Received: by mail-qv1-xf30.google.com with SMTP id o8so5049658qvw.5 for ; Fri, 28 Oct 2022 16:13:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ukQQfOYSPm/+bCMthg8nZwj163N2VFbmekvUQi+HF/A=; b=tJ0qVOk5vF+xzBZsnUZQ+ugGW7Gw0IC12me1ZSTUBwfLTQ7s4iYoyLTvu/rN1YI1k5 nGBjdT0KpOXWsMAWJ4jvwqsMoK9nNegrLmmKIBICFtrEmvb3mgLffbp0haIjJef1H9yK nL8uuRMXsuiPDY/1wmTrzPLZXAlBz/C6p+rr5Bd/0VWEDRtJA7NLwKwZvUW4QkbPECMa s2y3T/Qw4ACeua7jIA8ub17tRcQy2yFHo7LI/a39RWGt0C4MnP8nUrekPIxwOu5Mfdu/ jQxBScD73yQNej/nyPWRkWzv18c/fM67KFZrep9JyZsRTfk5RAo6V8buYLaRSgVSafJW NH5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ukQQfOYSPm/+bCMthg8nZwj163N2VFbmekvUQi+HF/A=; b=7fJ3EpEpsWTeWbQwn6+Q6J+Aa63G7gEm+986s2bsmarW+b0opRD/CYool49czaLbig mXyFepazlMgJVz+1AEGZUQk5qpiFR4AU3CUFRHduYO4wSxFwnXF1EdG5kQ7YZhs11Iu0 IGI6cAmfr0sCdGbn2/UF5BUgaKhnBmLjNBtJE+4/UDskdVrfNqgp0oXEVfXg9kAhcVn9 JPaB+qvEdboGJRj9c3buAi8Afs5k4aLN9z9EagELTLPccwN3iU1fmrwi1mJsj03yu5Wo dXxR2WSgCQ2eJp6Nmn7lucMde0j+aoss0Q6xyxhJYKd7yXWRQF2/K+5U7u0Z3mZ07k7d XMRA== X-Gm-Message-State: ACrzQf1Ar/eekw7pria9gfUnMBn+qwEIoDnhL/Kp/yAqFMbflCQv+1TH ujMirzSK7KvKImTR2MNH52EltA== X-Google-Smtp-Source: AMsMyM7NTDIK+8v3wplA9/kAnXQHJEjgj/3Z7iy1r0z0CoEiwKcmQbEF6c3PG5w1BZ2a5jFhz+GApw== X-Received: by 2002:ad4:5bc5:0:b0:4bb:7e1a:9de6 with SMTP id t5-20020ad45bc5000000b004bb7e1a9de6mr1618274qvt.68.1666998792570; Fri, 28 Oct 2022 16:13:12 -0700 (PDT) Received: from krzk-bin.. ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id ay7-20020a05620a178700b006cfc1d827cbsm8256qkb.9.2022.10.28.16.13.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 16:13:11 -0700 (PDT) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Dmitry Osipenko , Chris Zhong , Zhang Qing , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: mfd: Expect specific type for monitored-battery Date: Fri, 28 Oct 2022 19:13:09 -0400 Message-Id: <20221028231309.565451-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Core schema does not define type of monitored-battery, so the schemas are expected to reference proper type. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/ene-kb930.yaml | 4 +++- Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/ene-kb930.yaml b/Documentation/devicetree/bindings/mfd/ene-kb930.yaml index 06ed9ec8f4bb..b4c6f9529ce1 100644 --- a/Documentation/devicetree/bindings/mfd/ene-kb930.yaml +++ b/Documentation/devicetree/bindings/mfd/ene-kb930.yaml @@ -22,7 +22,9 @@ properties: reg: maxItems: 1 - monitored-battery: true + monitored-battery: + $ref: /schemas/types.yaml#/definitions/phandle + power-supplies: true system-power-controller: true diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml index 935e17099213..d136a05c7758 100644 --- a/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml @@ -126,6 +126,7 @@ properties: type: object properties: monitored-battery: + $ref: /schemas/types.yaml#/definitions/phandle description: | A phandle to a monitored battery node that contains a valid value for: