Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4225358pxb; Thu, 14 Oct 2021 00:40:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEddTotRmdSyqUW+WCth/6Pil/CF4ZmgGBZMXC+YYE05JKJkjLRl+MOT6mYkLHgYsLtU+W X-Received: by 2002:a17:907:7b8b:: with SMTP id ne11mr1917329ejc.327.1634197232262; Thu, 14 Oct 2021 00:40:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634197232; cv=none; d=google.com; s=arc-20160816; b=Od+AlpiCTUWe/aqhs5coLiCasyz4ETIqH1Roinc/L22Pvtx5XAlMt2syT3ywRdo5O+ RO/45jrbrMZNh9WuRho2Sl7QEr/UrbAi3Vk3N3L44fkllcPpJWlRbCKbsEG9vPWDfBEU k5zILhfXa7v+dA5CeCI3/TKSshkUeAp8YegcMrRc7kd2ZcBHAKIT/qNZOeQewFnAzcr8 8OVZtYqiB5Ufvapt/m7rW18ernZMUoKJKW0clnriua5EJErSpbth6/HByA3mGjJ5hw92 EHe1pJUIAQ6bF0MZddDA5q40/kVfYMFrWa+4WWmPQeHBp1Mj82KX4cu0/F1wQDMVZkQ7 krbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=B7HNXMgqTGY/qLh1YFQzQrY2kmlk2GDz9frXgPFGbwc=; b=UJw4gv1wCkUif1DZsPIqn8lbv/R7/h8jVw8lSCKhu1MXfS0wMN7m9QMpcv+sSHOMXe rwABArKw1tNyT1VJfLoOiKrhg5sdl86iXIXPcZ7SXOnXT4p48+9PzDc2lOW2MR9CUASS 2wCa7eZsH64PzUs6Zi4wh7g5S+13ZR+3cc2R3MVa2zBEDGaQP5mz2wobca8wBCsvel5F R7pBUEBMT3p9if2KPvXnkGih6gd++1o9JNIRYpMPFiPciPKREy7bpJWQNoymiUQIP+68 mQC23F7gzHQ2bHhkz4vCTgc+qF69KkZYgw2BPee9xpQBN6i2LNko5C6kSk6hi4l5RLjc oK6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=aZaaXCHd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z22si3493909edm.332.2021.10.14.00.40.08; Thu, 14 Oct 2021 00:40:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=aZaaXCHd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230051AbhJNHkV (ORCPT + 99 others); Thu, 14 Oct 2021 03:40:21 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56040 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230082AbhJNHkT (ORCPT ); Thu, 14 Oct 2021 03:40:19 -0400 Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (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-1.canonical.com (Postfix) with ESMTPS id 9B2973F338 for ; Thu, 14 Oct 2021 07:38:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1634197094; bh=B7HNXMgqTGY/qLh1YFQzQrY2kmlk2GDz9frXgPFGbwc=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=aZaaXCHdY0AktGt7qRLB8hGwXqXvdzUbBjrAIv+BkPNYxwkF5SJFXj2ObgRuwEHcc l5cntvKOJRLUay42pT7d+PFbcs6uJXOAQhANrcCn/KPEBu0S3bdBm8qgl1/YAbe6x8 FnmBJy7DN39aThtBomjPiG5eV3+AKS7am59YL6bwFqYz0JG1geUEEPPhLZFIoA/aS4 /EtWhQI8yY1/gTv42DbsUXADp2c+Z1dcuUn8IarxfRu7a27DjvJFrlTOTzmMEszMRc V+hKkLCEwOBwTWn5pkbmkR/DWH1RmRXT02YFCAG6dyP9NWEw4uE6FaLJIc9lTXjlb+ DXs43Nphj/KSw== Received: by mail-lf1-f70.google.com with SMTP id z29-20020a195e5d000000b003fd437f0e07so3698822lfi.20 for ; Thu, 14 Oct 2021 00:38:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=B7HNXMgqTGY/qLh1YFQzQrY2kmlk2GDz9frXgPFGbwc=; b=YRL1THkGsFBNrbIfOIZp0Ge2DhDisTRSPu8emP0rIohu9lniooJ4LSeEOzbkCjZBmv TpP2AueWj10CQE67qq09Eb4tbAWtMZXecdodFh2MJXKXiNCwouKfE7vGx8zzkkM1OCpl hHh/WNGylJ2lBatEmFey0p/2kRN5mDG6huozWWRSfcRRCgPpXtk4f04Zu4Wg/jrop0Ky 1gO4wxj5lX0Q+eGYQhZnU0CW6mNyTBbxoKfPKXVBJqyE2qGd6labC3SYmOJtt+3PPscy tpQxwIOPcuzL0IZB5BMGIIMtlAqtRanD1VJrOkrjrlAJ9+yYd3CtenwNDHNcu41jRi4G UdzA== X-Gm-Message-State: AOAM532aC0e/AzZdAl2a/0EFKwVGOHickAvsT9HUnbObvd83uRRkhdEh WHvoTwCt1odPdvWSMW6j8C3QmjsUgjJRscmLnFZ9OHAdhYBu5kjkEGTCUPqzegFaHe8tFjcSgzr 1qBBTA4DP53rNfx49RSeSkqSl17wg9l1yL15lRomv4w== X-Received: by 2002:a2e:a4a7:: with SMTP id g7mr4455570ljm.255.1634197094064; Thu, 14 Oct 2021 00:38:14 -0700 (PDT) X-Received: by 2002:a2e:a4a7:: with SMTP id g7mr4455553ljm.255.1634197093885; Thu, 14 Oct 2021 00:38:13 -0700 (PDT) Received: from [192.168.3.161] (89-77-68-124.dynamic.chello.pl. [89.77.68.124]) by smtp.gmail.com with ESMTPSA id s11sm153945lfd.262.2021.10.14.00.38.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Oct 2021 00:38:13 -0700 (PDT) Subject: Re: [PATCH 5/8] dt-bindings: mfd: add Maxim MAX77714 PMIC To: Luca Ceresoli , linux-kernel@vger.kernel.org Cc: Lee Jones , Rob Herring , Alessandro Zummo , Alexandre Belloni , Chanwoo Choi , Bartlomiej Zolnierkiewicz , Wim Van Sebroeck , Guenter Roeck , devicetree@vger.kernel.org, linux-rtc@vger.kernel.org, linux-watchdog@vger.kernel.org, Chiwoong Byun , Laxman Dewangan References: <20211011155615.257529-1-luca@lucaceresoli.net> <20211011155615.257529-6-luca@lucaceresoli.net> <8ad40ebc-8430-9fa0-ae60-88e0d486e8cc@canonical.com> <4fc0fe37-1a25-4058-6326-a14e32ef18f5@lucaceresoli.net> From: Krzysztof Kozlowski Message-ID: <88eeb15a-f5b5-0a6e-3d81-494a9c57c878@canonical.com> Date: Thu, 14 Oct 2021 09:38:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <4fc0fe37-1a25-4058-6326-a14e32ef18f5@lucaceresoli.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/10/2021 23:28, Luca Ceresoli wrote: > Hi Krzysztof, > > thanks for reviewing. > > On 12/10/21 10:02, Krzysztof Kozlowski wrote: >> On 11/10/2021 17:56, Luca Ceresoli wrote: >>> Add bindings for the MAX77714 PMIC with GPIO, RTC and watchdog. >>> >>> Signed-off-by: Luca Ceresoli >>> --- >>> .../bindings/mfd/maxim,max77714.yaml | 58 +++++++++++++++++++ >>> MAINTAINERS | 5 ++ >>> 2 files changed, 63 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/mfd/maxim,max77714.yaml >>> >>> diff --git a/Documentation/devicetree/bindings/mfd/maxim,max77714.yaml b/Documentation/devicetree/bindings/mfd/maxim,max77714.yaml >>> new file mode 100644 >>> index 000000000000..2b0ce3b9bc92 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/mfd/maxim,max77714.yaml >>> @@ -0,0 +1,58 @@ >>> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause >>> +%YAML 1.2 >>> +--- >>> +$id: http://devicetree.org/schemas/mfd/maxim,max77714.yaml# >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>> + >>> +title: MAX77714 PMIC with GPIO, RTC and watchdog from Maxim Integrated. >>> + >>> +maintainers: >>> + - Luca Ceresoli >>> + >>> +description: | >>> + MAX77714 is a Power Management IC with 4 buck regulators, 9 >>> + low-dropout regulators, 8 GPIOs, RTC and watchdog. >>> + >>> +properties: >>> + compatible: >>> + const: maxim,max77714 >>> + >>> + reg: >>> + maxItems: 1 >>> + >>> + interrupts: >>> + maxItems: 1 >>> + >>> + interrupt-controller: true >>> + >>> + "#interrupt-cells": >>> + const: 2 >>> + description: >>> + The first cell is the IRQ number, the second cell is the trigger type. >>> + >>> +required: >>> + - compatible >>> + - reg >>> + - interrupts >>> + - interrupt-controller >>> + - "#interrupt-cells" >>> + >>> +additionalProperties: false >>> + >>> +examples: >>> + - | >>> + #include >>> + i2c { >>> + #address-cells = <1>; >>> + #size-cells = <0>; >>> + >>> + pmic@1c { >>> + compatible = "maxim,max77714"; >>> + reg = <0x1c>; >>> + interrupt-parent = <&gpio2>; >>> + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; >>> + >>> + interrupt-controller; >>> + #interrupt-cells = <2>; >>> + }; >>> + }; >> >> Looks good to me, but what about regulators and other properties? Are >> you planning to add them later? > > No plan to add them, sorry. > > I know, complete bindings are better than incomplete bindings. But in > the foreseeable future I don't need to do anything on the regulators > (even though it might happen at some point). And since their setting is > possibly non trivial, I'm not going to study them to write a complete > bindings document and then make no use of it. > > Is it a problem for you? It's OK. Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof