From patchwork Tue Feb 15 07:47:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 542937 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 AF5C0C433EF for ; Tue, 15 Feb 2022 07:48:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233381AbiBOHsl (ORCPT ); Tue, 15 Feb 2022 02:48:41 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234752AbiBOHsk (ORCPT ); Tue, 15 Feb 2022 02:48:40 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 224518A303 for ; Mon, 14 Feb 2022 23:48:31 -0800 (PST) Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (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 smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id F3B83402E0 for ; Tue, 15 Feb 2022 07:48:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1644911309; bh=/BLkLFYTDkoy0icaFTEEg+rA2J/JmQ87eCI7Tsm29s4=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=AsAuCvsiRJRyxsa98jw05PEziRcrY8/6n4KXsEMGiv/RkGsKLUit7KoSS6hsUkOG8 H58BNAo+rt6lZOEZH1d/sHqxuMOUcL1tv7OJC7vkV9G6u7nV0J0o6pcOfFCWYeLbmD k/sNcFfexQRdNKumTke/KP3rMPkNtBZK+ogqcjfkom56nKiA064CgiwO55nKR2k2z5 6tFV0eDqEA6gnsf6cHSO4/mF6Ecy62Korle/HSMF/O3llUgw1MqGAUclUYpJcTcG+E 8yAdwtksCvfC7HE/IRMUDuPdf2+lxrh5IhMtpzeJPhoAUE0KGirod0/VIJjfysfdhH 2wc+tmHBC0Pvg== Received: by mail-ed1-f71.google.com with SMTP id cr7-20020a056402222700b0040f59dae606so11839790edb.11 for ; Mon, 14 Feb 2022 23:48:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=/BLkLFYTDkoy0icaFTEEg+rA2J/JmQ87eCI7Tsm29s4=; b=hKrBQkDbKv3LGdM+BhIH/c06bdyoyZi0PgqvSW2+k8Zr8WwBZAon963aFfUtVO7sEv FOcBJk4K9Kr/PRlCWwGE+s8kKaQ4BINfCylkr6+Gn06gEIrW/TEO+SOIWCNuom4fLGqG mZ0ht0Fy4PQ/9g9N2XdzLs6jJhLTP5T5NquRplOENo4DGP4mbYi2YrkCLvo+VGBoPfWQ IHp/0kA3Oxva7VvhKiTAgGLtGDDzqN3D6VYEegJUAgh3m5fyDgtJ4eibH5y6Sjzgq2ML a6fIsp3cL145/O68ZvM1D/bYI9r5qXaUCdLhAM2g9pylTSkO1rK/B99lYK+kSPlwiuR1 TxPA== X-Gm-Message-State: AOAM533Ci/bEVZp45a6w2wvhaIaEDXAaczLhA8RUCedtyhv1lYArIG4K mk5qurnycX0ZiKyPdpDi0eGG/pls6z5QxWt4oz4kHpz8JxZrBvtcNkty4xJIFq6SR4fSgvpdEmQ OHbhe35uBmUWqIG/8N6W+gfGVxOoLbxmDrVET X-Received: by 2002:a05:6402:26c7:: with SMTP id x7mr2571508edd.151.1644911309472; Mon, 14 Feb 2022 23:48:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzPL6bZ87ZeeKAh5rp6FvE5VSLy/1ksnFjn1oCusi+AyfVE8IhUfVQttON0EX2l6IHA9kzfw== X-Received: by 2002:a05:6402:26c7:: with SMTP id x7mr2571499edd.151.1644911309301; Mon, 14 Feb 2022 23:48:29 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id c29sm1188357ejj.149.2022.02.14.23.48.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 23:48:28 -0800 (PST) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Chanwoo Choi , Sebastian Reichel , Liam Girdwood , Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH v3 0/3] mfd/power/regulators: dt-bindings: max14577: convert to dtschema Date: Tue, 15 Feb 2022 08:47:56 +0100 Message-Id: <20220215074759.29402-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hi, Changes since v2 ================ 1. Add tags. 2. Drop DTS patch (applied). 3. mfd: Fix indentation in bindings example. 4. regulator: Drop regulator-name requirement and use unevaluatedProperties. Changes since v1 ================ 1. MFD: Use absolute path to schemas 2. Regulator: mention all allowed properties, additionalProperties=false, add min/max values for voltages and current, don't use patternProperties when not needed. Dependencies ============ 1. DTS patch 1/4: nothing depends on it, sending here so Rob's automatic checker won't complain about DTS. I will take it via Samsung SoC tree. 2. Final MFD patch (4/4) depends on regulator and power, so the last patches (2+3+4) should go via same tree. Best regards, Krzysztof Krzysztof Kozlowski (3): dt-bindings: power: supply: maxim,max14577: convert to dtschema regulator: dt-bindings: maxim,max14577: convert to dtschema dt-bindings: mfd: maxim,max14577: convert to dtschema .../devicetree/bindings/mfd/max14577.txt | 147 ------------- .../bindings/mfd/maxim,max14577.yaml | 195 ++++++++++++++++++ .../bindings/power/supply/maxim,max14577.yaml | 84 ++++++++ .../bindings/regulator/maxim,max14577.yaml | 78 +++++++ MAINTAINERS | 3 +- 5 files changed, 359 insertions(+), 148 deletions(-) delete mode 100644 Documentation/devicetree/bindings/mfd/max14577.txt create mode 100644 Documentation/devicetree/bindings/mfd/maxim,max14577.yaml create mode 100644 Documentation/devicetree/bindings/power/supply/maxim,max14577.yaml create mode 100644 Documentation/devicetree/bindings/regulator/maxim,max14577.yaml