Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp880608pxr; Mon, 11 Apr 2022 09:23:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9FFN7NaC7zfPSkXjhJlAPJhIc44OJ2uW25TwtWksSthd/SWmfz9x8ivXrg/o+U9prP34w X-Received: by 2002:a05:6402:1717:b0:41d:8b43:fa51 with SMTP id y23-20020a056402171700b0041d8b43fa51mr1126130edu.21.1649694219572; Mon, 11 Apr 2022 09:23:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649694219; cv=none; d=google.com; s=arc-20160816; b=xsohhaovbyVtavIXqYcMVhR2y32vltV0G/5JenhFp5nLFkm/sgIuffL0vbMJb8r/Sn MGJd2MuSCRatjpPEUz979Q4LMj6UO8QYLonu0yqaDwxTXhpulCgq/S63TmTBbEaaa7On XrkXHYI4MW+oXQnPH0o7MK5ko3Dxb00MhQhjMfyJJeI4iNWV1M4dcNz797JrHYwVzyTd alvrUiSPr/YWJEgDU9ouhoBZgGmR57pt90OpGKEEcUtqPGp59OGuSeDSjolGVC1vPvJQ BH9lLWbUGOqRJxpQxc5nPMXO4PPbhlCiMALCamdCVlkZAmDPnLRI5FunneOOvjTZWxqd PprQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=gh/AAtf8cRdIoELrwepmpCDeMPbSdp9UytLl5DDKHr4=; b=XfdS5twJInMKLQAcyTlNl7YHLkZCKyKSD65euZ8/7x+//dkkgSaLsNv0dtvrh7dmNe G9Y5DHBMIKhg3sn5bj90UNw4As4Kak/kcA2K/sSERqq2y19eqqpuaPB+WGxM+k5ncf4Q /QiZwEzgRRvAFr7HFsdIyL7Y5eO0//J8l8CozZFRowUWz+h8zZlzWmXdr0EpWnhuOpMI JQbAMSnYCFoXRQStyggwJ/FfI1uLOvlUrxC8N6zRKbpYcWZ+I1p3k0vhhv07xSeqv4pi r3a3xsFK1uUIP1I4j9FOPqyE1BuO/r/l/WgIQZRNo/Awy0OQJe6+WPDG1zmclb7WXn3o j8dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x77uAluf; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z25-20020a1709060ad900b006df806a05d2si1798600ejf.767.2022.04.11.09.23.14; Mon, 11 Apr 2022 09:23:39 -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=pass header.i=@linaro.org header.s=google header.b=x77uAluf; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235703AbiDJIkO (ORCPT + 99 others); Sun, 10 Apr 2022 04:40:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232701AbiDJIkN (ORCPT ); Sun, 10 Apr 2022 04:40:13 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F2852CC94 for ; Sun, 10 Apr 2022 01:38:03 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id u15so6467790ejf.11 for ; Sun, 10 Apr 2022 01:38:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=gh/AAtf8cRdIoELrwepmpCDeMPbSdp9UytLl5DDKHr4=; b=x77uAlufM1epd1LMPe9Z/2F2riMaIPZRMerJ87AO+zQtngB7ZoBqlLFePS3p1rpT/x wxEByYkYLXXr9KJ213Y7HEVVxLJ2t8WN4e2+G9j2o5xKutWghtaoMr39E4GFqIi+FDXF CXytZ5L1aYOQSRw8KIgTLBiRj516kpVXl62p6NLhPG7xTs2Si5PiQLpXZXb79m2YK7IU Jk8ZXKC/KAJbCt6jeNhbDxJEtw+Y9I2EZ9/FUm1e7m55PueRHsYG5G+Aetsoywucp53d 61+WqRWfpmygyk5kav5wDrWA18af463WGbAB0XdhmZDjj0teluS/13ASd5wY3s6yzrJf 3iQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=gh/AAtf8cRdIoELrwepmpCDeMPbSdp9UytLl5DDKHr4=; b=2/3y8BOHBRKsytDdTToeUY+9/fP3qpVytL61BvvHdL9OAJYG2ywbr5r4fJ8amG6AvD cs70x7r96KWNe9Zp6h0jPUtQjflXrSVTj97/SGy8sjhmWVQn+QJA5eZDqJcyUIA3qyHU cXw/x35hQwfGa96C0KTTd4r99d8ZRS1VPHTHq6IThNwryGLYitW87TOyTfYfI6RTFRFu oYAp5QeV6DlLXcz0YyKoMV8lSToG1Eeoe9FAVODCqQhpRJdD4/7uUySqZrz+5UDY2OUF eUElHmUABDQcOf4NyCo9gC3fr7G2R+OPVO/ktBzIU7I82AAG17vy3oF4B6wj5b9RLKwo LhRA== X-Gm-Message-State: AOAM530a+7UwVU0I3lvFt1dfETT7wnFsN+ijZ32siyQm3y8RzlXTjqsx yLBNZJBzDU/qjLXalaNndxyglA== X-Received: by 2002:a17:906:d552:b0:6e8:4edc:f2ee with SMTP id cr18-20020a170906d55200b006e84edcf2eemr10035344ejc.572.1649579881603; Sun, 10 Apr 2022 01:38:01 -0700 (PDT) Received: from [192.168.0.188] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id s20-20020a056402015400b00418f9574a36sm13021400edu.73.2022.04.10.01.38.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Apr 2022 01:38:00 -0700 (PDT) Message-ID: <4f20ad11-40c5-638e-7335-c68d2369373d@linaro.org> Date: Sun, 10 Apr 2022 10:37:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2] dt-bindings: mfd: convert to yaml Qualcomm SPMI PMIC Content-Language: en-US To: David Heidelberg , Andy Gross , Bjorn Andersson , Lee Jones , Rob Herring , Stephen Boyd Cc: ~okias/devicetree@lists.sr.ht, Caleb Connolly , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220111220026.102838-1-david@ixit.cz> From: Krzysztof Kozlowski In-Reply-To: <20220111220026.102838-1-david@ixit.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 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 On 11/01/2022 23:00, David Heidelberg wrote: > Convert Qualcomm SPMI PMIC binding to yaml format. > > Additional changes: > - filled many missing compatibles > > Co-developed-by: Caleb Connolly > Signed-off-by: David Heidelberg > --- Thank you for your patch. There is something to discuss/improve. (...) > + > + compatible: > + items: > + - enum: > + - qcom,pm660 > + - qcom,pm660l > + - qcom,pm6150 > + - qcom,pm6150l > + - qcom,pm6350 > + - qcom,pm7325 > + - qcom,pm8004 > + - qcom,pm8005 > + - qcom,pm8009 > + - qcom,pm8019 > + - qcom,pm8110 > + - qcom,pm8150 > + - qcom,pm8150b > + - qcom,pm8150l > + - qcom,pm8226 > + - qcom,pm8350 > + - qcom,pm8350b > + - qcom,pm8350c > + - qcom,pm8841 > + - qcom,pm8909 > + - qcom,pm8916 > + - qcom,pm8941 > + - qcom,pm8950 > + - qcom,pm8994 > + - qcom,pm8998 > + - qcom,pma8084 > + - qcom,pmd9635 > + - qcom,pmi8950 > + - qcom,pmi8962 > + - qcom,pmi8994 > + - qcom,pmi8998 > + - qcom,pmk8350 > + - qcom,pmm8155au > + - qcom,pmr735a > + - qcom,pmr735b > + - qcom,pms405 > + - qcom,pmx55 > + - qcom,smb2351 > + - const: qcom,spmi-pmic > + > + reg: true maxItems > + > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 0 > + > + Just one blank line. > +patternProperties: > + '^(labibb|([a-z][a-z0-9]+-)?regulators)$': > + type: object > + This should be more specific, preferably by including schema for regulators (or any other children if applicable). > + required: > + - compatible unevaluatedProperties: false > + > + '@[0-9a-f]+$': > + type: object > + description: > You don't need '>'. This also should be specified - what is expected to be here? Usually the children are exactly known. > + Each child node of the PMIC represents a function of it. > + > + properties: > + reg: true maxItems > + > + interrupts: > + description: > No need for > > + Interrupts are specified as a 4-tuple. For more information see > + Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml > + > + required: > + - compatible > + > + additionalProperties: true This will have to unevaluated or additional properties false, depending whether you include other schema or not. > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + Best regards, Krzysztof