Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4462682pxf; Tue, 16 Mar 2021 14:16:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5suQQtvR5FIW2Sx2bleXITWq7FB/CaMccTCClPje6HnG0KsH5+e3hu+DlBK1ndL0LWvfS X-Received: by 2002:a17:907:2661:: with SMTP id ci1mr31353632ejc.403.1615929403624; Tue, 16 Mar 2021 14:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615929403; cv=none; d=google.com; s=arc-20160816; b=aQGm5cdHKd7wUtasZTWYVTAR4HR1I3KrAejGek5luPGw4/zCaGev+/HdKsQ9Z/NYVL eWPzoaXftDCCEZypwSXgdzvq2m9zbk1PTPuBLVQQTEkNvKtQDCRFkWb4AzBtl17Afgh2 5ncafThx14KWoyPPX8SC8bZtvP37tmVCmIJac6oKsExN74jqJT5IBdK2SjyBWL3RISYQ 0ea6W4qWDCd0Nh/vxtENL4hA3dhM53uPHns0lqU0m2LvqjjRFjcL9wyXpX3kgVTvIgCr jjPFaDDzSaSzmBVdc/2Dhsq9roNLPIWOQtkJJjrZq2xt7NQqM8QEPEnRCKB8G4XRWi1W DTEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ir+YHGa/XQU4b/QEjzby+5Az0zJ07EQSF+6gqX/YZPo=; b=YyjjQ8n+WLLi1OBpQIzn0ZK7LOR2AgWzmDur+ljUtfxuKq9M4RQAV1cVfsWPYR3NkH MKNnz7Y1cqZF2i1HloTsGer42DASpqOYcfJC2OU0KSk0i0+KwxR+OXoFV14CgvlM8t/T BMYowXwfmOeSLC+eb2M78fk/ATRRYypvD7p8qRcUcx5dXfQRVQmXcNJCyIPyJfQmDBs1 82OO6MUGWi3I/Lu2s1OMgFYhQmX5uju0E+XBLeUWM02swPKhYe9yP/4N5liuCfzkAASU qN+QfwLxrYILZuP/P5yMuru33/itvCDcvDnmfFlMkTnWkENcKeWtNQs7HXJ6umCU6ry+ JF3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=t8FdK+fO; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ks7si14599429ejb.682.2021.03.16.14.16.21; Tue, 16 Mar 2021 14:16:43 -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=@kernel.org header.s=k20201202 header.b=t8FdK+fO; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233589AbhCPRvi (ORCPT + 99 others); Tue, 16 Mar 2021 13:51:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:42424 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233139AbhCPRvL (ORCPT ); Tue, 16 Mar 2021 13:51:11 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7C46E65104; Tue, 16 Mar 2021 17:51:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615917070; bh=pbJXtCdebP9sYUzCMuDBNQ/VmqE7MtiUhZT+utdKfOM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=t8FdK+fOB70tNbCjuQ/RgrRM2Wd0C3aelP/9AsTK0EhaEK2ioLvQGaB5Wd34h3aV4 KeOSzmmPQF7+xTxE2hyu6GKVXMv2IuBhrNvHu8whsMR4uXFvi+vZkx4Gj5NQd0L4OU Bo1wJLI53BN2AHXTfnfvYtV7/pi/7gui09Pu5y7xZ1wlbCIP+xFYNNV27VUfy60xKB PoaAhT12LIWET8j5TYN9IrR1V7fEhgRlTZqFGm5hZpr4Lk6oHG8mHq7HkRigVVQ3SW fQw+RDruVgyKrhNte/jJ8d0vRTxVDuuwvVsgzqbPbKnIEB8G1xq2eQoSnh4Wd7w3Sm usTNR5ULOqoPg== Received: by mail-qt1-f173.google.com with SMTP id l13so12300520qtu.9; Tue, 16 Mar 2021 10:51:10 -0700 (PDT) X-Gm-Message-State: AOAM533QguOKsQ6ImKqCfxbnNLU8IR4Z58S2fSnIW8z8YiDXUCnu9i4z QaojLrtFXaEjl528t5sjVRDflY8OY7kItYrpSQ== X-Received: by 2002:ac8:70d1:: with SMTP id g17mr75201qtp.306.1615917069540; Tue, 16 Mar 2021 10:51:09 -0700 (PDT) MIME-Version: 1.0 References: <20210312154357.1561730-1-sebastian.reichel@collabora.com> <20210312154357.1561730-5-sebastian.reichel@collabora.com> <20210316164602.hupmcy2hjflf4za2@earth.universe> In-Reply-To: <20210316164602.hupmcy2hjflf4za2@earth.universe> From: Rob Herring Date: Tue, 16 Mar 2021 11:50:58 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 04/38] dt-bindings: power: supply: bq25890: Convert to DT schema format To: Sebastian Reichel Cc: "open list:THERMAL" , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Collabora Kernel ML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 16, 2021 at 10:46 AM Sebastian Reichel wrote: > > Hi, > > On Mon, Mar 15, 2021 at 12:21:34PM -0600, Rob Herring wrote: > > On Fri, Mar 12, 2021 at 8:44 AM Sebastian Reichel > > wrote: > > > + ti,ibatcomp-clamp-microvolt: > > > + $ref: /schemas/types.yaml#/definitions/uint32 > > > + description: max. charging voltage adjustment due to expected voltage drop on in-series resistor > > > > You don't need a type $ref on properties with a standard unit suffix. > > Though it looks like there's some non-standard ones (-microvolts) in > > the series. > > Ok. Unfortunately most properties in this series use non-standard > ones :(. Newer bindings using common properties have already been > written in YAML and/or make use of simple-battery. > > Can we have a warning for this in the dt_binding_check? Maybe > something like Yeah, I'm working on that. > superfluous $ref for property with standard suffix And having more helpful error messages is on my todo, but not much BW to work on ATM. Rob