Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1041210ybh; Wed, 11 Mar 2020 16:18:19 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuwoTIkAmdtgUbScPoS6PPeK7/xN7eBbuaiRaL8E2bwqP2TdSXAr0mfBQQFzpz6vckCF7dK X-Received: by 2002:a9d:63d2:: with SMTP id e18mr4116288otl.277.1583968699772; Wed, 11 Mar 2020 16:18:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583968699; cv=none; d=google.com; s=arc-20160816; b=ZFw4UQpQAJoTuuU8SC44KK9XnkIs088i4HeRBxBCrYa/i4pamviCjpG3J+AKLZ70vI 8RmmUjtJeFxiCK+ZyTeco3d9sua/4P7r4HFemJexYtwiGelWRCI183Q6N9QOtEuI3PT9 XcvQ1gvUu9dGQQrxK+0QmPrFSWaFRtqaO54lNXhUDy5N1zzq0uF1ODj2t4VWe7uqG08J Tsx6jp61R6VPGJWxQUfTW9Pfo5jIv99i5k3CvzT+0mEHLUFf/vBsjZHaIJMz/Fynnrz8 5o/25NA54mUpDVme7iHLTWB9uWm9iffCUxYiCg+0R15R4VD/wlHAI8Qo6wrat2l2Bemd 1omQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:date:message-id:from :references:cc:to:subject; bh=QL4nsgqj0UrCo2dDzTfAWsTfCH+1r8TdSDWb6ZyaHTQ=; b=JnKyCVv78HtOI6rhYOl4VF5nzOn+KL+aBznTl8BMAE8xRmZpjg0dZp46qWMJqtonad 5IqHh+FomhfUVTH30v9/lJKa//L97i6PCgUKh7vWCiakL5KKOArTBiI2wJqvJqhe17GB jbwHUUqUSV/SADfo9dfeaLdQqBvetflDLOkaEwWhltv7VC+Q1GI+6Bc967tgQy+VLwRP +HGiCH1NDdypIrryL7d0xZSFoRQOQ9lCabI8sKsWc+KMeAmG5t9g4X5z2J8LMVOgEqv5 GUtZ0c7DwIDwAC3riDAjx5b+Mjm+wd8QziRuIAryL0eMgF4lQXFyNLP9yuHzzVN/A6OY hM2A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i124si1791747oib.172.2020.03.11.16.18.07; Wed, 11 Mar 2020 16:18:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731506AbgCKXQx (ORCPT + 99 others); Wed, 11 Mar 2020 19:16:53 -0400 Received: from mail.manjaro.org ([176.9.38.148]:58946 "EHLO mail.manjaro.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731338AbgCKXQx (ORCPT ); Wed, 11 Mar 2020 19:16:53 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.manjaro.org (Postfix) with ESMTP id 0C1C937024CE; Thu, 12 Mar 2020 00:16:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at manjaro.org Received: from mail.manjaro.org ([127.0.0.1]) by localhost (manjaro.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rHUPSS9K2eTQ; Thu, 12 Mar 2020 00:16:48 +0100 (CET) Subject: Re: [PATCH v3 2/3] dt-bindings: power: supply: add cw2015_battery bindings To: Daniel Thompson , Tobias Schramm Cc: Andy Shevchenko , Sebastian Reichel , Rob Herring , Mark Rutland , Maxime Ripard , Sam Ravnborg , Heiko Stuebner , Stephan Gerhold , Mark Brown , Mauro Carvalho Chehab , "David S. Miller" , Greg Kroah-Hartman , Jonathan Cameron , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200311093043.3636807-1-t.schramm@manjaro.org> <20200311093043.3636807-3-t.schramm@manjaro.org> <20200311172056.wjn3574zrfqxipw6@holly.lan> From: Tobias Schramm Message-ID: Date: Thu, 12 Mar 2020 00:17:55 +0100 MIME-Version: 1.0 In-Reply-To: <20200311172056.wjn3574zrfqxipw6@holly.lan> Content-Type: text/plain; charset=utf-8 Content-Language: en-US-large Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daniel, thanks for reviewing. The typo will be fixed for v4. >> + power-supplies: >> + description: >> + Specifies supplies used for charging the battery connected to this gauge >> + allOf: >> + - $ref: /schemas/types.yaml#/definitions/phandle-array >> + - minItems: 1 >> + maxItems: 8 # Should be enough > > Is it necessary to set a maximum? power_supply.txt is still a text file > but there is no mention of a maximum there. > I think so? Removing maxItems and running dtbs_check on a dts with more than one supply phandle in the power-supplies property results in an error: linux/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dt.yaml: cw2015@62: power-supplies: [[142], [50]] is too long Best Regards, Tobias