Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3782994pxf; Mon, 15 Mar 2021 19:36:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNnwJ9PUXhfKZxz5Tr2TgNfTtwntDYv2fAD6mxwtoP7hnGxhAIOuACQStrMtQ/r0wG88f4 X-Received: by 2002:a50:f9c8:: with SMTP id a8mr33574255edq.270.1615862190708; Mon, 15 Mar 2021 19:36:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615862190; cv=none; d=google.com; s=arc-20160816; b=XbKaDP4BnY7KBu0d6Ul3skBKmCItRyiW1LnlOW1jqhiSqMzxvFt7jAOPlte1DkHXDG B5bzGRi8VqMnVqv0jwrfKkxXcRwS78Jr83i9bLOPuqsZPM3QRhLT86KVIkP3Eyhh0YZw e02wT1g8pp9ot7/zFc4jefhNsExW/7CQOzyCkksEO6W8Pc+Kj7dUSCeSlJyBPgc85AQU 6QQdkBPfvoLmqkFXNBtGxJqTeXmZWJTOsawdSyZeeX0mM+lz8Bk+uwcVcnbg3rfjzF8a Neugbcs12rP+vlLJwmVqa3O8l2fo7DYUdzm90f+EuLBdwCFAq5Xr+wCFmxvT4PeMkFkJ WqtA== 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=AN1MMM40QR7m6v0cKtS5Ao2N065ydT514gWZH1orpWc=; b=JzgspG6M3KXbS3rkXPtniRQmW/GHaqYZYiDDYGQA0eQp1qtko7lXn0lwz5r+UJ0DRh 7Tz9BAH26DJeAUJ/3h7ShDpX4h3AIjYZgzVUlY8LktOYMaH7GfUrwfPhxgYwd21tvr30 yVUwh1BQB1JEnPt26Gfp+oTfozhfmo20t4PYZgcBUAuhTl7XHUnEgdLSi/NlEA4rXwcy ktHyshxjL5t7eR8DQ+J31BqpmWspZkH4qoNmcF6t/YsYy2uGp/pc3/cUZ/NwX4YyybLi DqQZIg4GeqQ2jZOU5C36XrRkwW1j92acAyfnlCEEgeFM4RxBA/ZRn1aAfJRAyhZM8XVC hrHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iYuhGzFo; 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 mm23si12170072ejb.540.2021.03.15.19.36.08; Mon, 15 Mar 2021 19:36:30 -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=iYuhGzFo; 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 S232804AbhCOToZ (ORCPT + 99 others); Mon, 15 Mar 2021 15:44:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:42326 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230021AbhCOToQ (ORCPT ); Mon, 15 Mar 2021 15:44:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C7AD164E4D; Mon, 15 Mar 2021 19:44:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615837456; bh=UAce/rGcdj2/yYhiWLiUo6Z/rclaCY8iTSRrttyY9Js=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=iYuhGzFo37VYinzSH3h0VG2lzkaXa0JQ8P/+RyjgWBcasBEtjqWxDWUSsvub9WW1M xtwVlMTGuK4FsRr7mQ97N06nx+w0Q0kypFCxv6xCDu1byA9l6bW8mqg5Psq6DCMUoq muGhumLARaJbJDjjxN0+remrzFlpZpY1YJAaqGE+i/8f9UxOifl+GskcTx6oabN+fB w9PcbzYZkIZNi/o2JVjMxkpN1gHLzPKV+wUrWD2Afj+62aDbKjG3L4FvhcyqalFtFp HFMoc+FfxnD+aU/Xe0J81LVZT6Fxt0n7SwOMwuD9I4Us5YBFlbnBcSxb5xehrS96Fj 05XYigcur4+UQ== Received: by mail-ej1-f50.google.com with SMTP id lr13so68362512ejb.8; Mon, 15 Mar 2021 12:44:15 -0700 (PDT) X-Gm-Message-State: AOAM531NaMSCLuHAB1gpppuBv4XOIDNJUdkifQm5W+yoAxeTuJiFCPdP Z7C8GfIQplCeozpSGKBzI/eewLOl1TpfXJdDKQ== X-Received: by 2002:a17:906:c405:: with SMTP id u5mr25581082ejz.341.1615837454425; Mon, 15 Mar 2021 12:44:14 -0700 (PDT) MIME-Version: 1.0 References: <20210312154357.1561730-1-sebastian.reichel@collabora.com> In-Reply-To: <20210312154357.1561730-1-sebastian.reichel@collabora.com> From: Rob Herring Date: Mon, 15 Mar 2021 13:44:02 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 00/38] Convert power-supply DT bindings to YAML To: Sebastian Reichel Cc: Sebastian Reichel , "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 Fri, Mar 12, 2021 at 8:44 AM Sebastian Reichel wrote: > > Hi, > > I keep getting patches for existing drivers, that modify DT behaviour > without updating the binding file. Let's move everything to DT schema > files, so that this can easily be cached automatically by dtbs_check. > > After this series only three bindings are left unconverted: > > 1. max8925_battery.txt > This describes a node below the PMIC, which does not have its own > compatible value. It needs to be described in the PMIC binding > file, which has not yet been converted. > > 2. stericsson,ab8500-battery.txt > This also describes a node below the PMIC, which does not have > its own compatible value. The same applies. > > 3. charger-manager.txt > This is far more complex to convert than the other files, due > to the 'cm-regulator-name' / "<>-supply" thing. I skipped it > for now. > > I tested the series using dt-validate 2021.3.dev6+g38efe3f and nothing > is reported when running dtbs_check like this: > > make -s -j42 dtbs_check DT_SCHEMA_FILES="Documentation/devicetree/bindings/power/supply/*.yaml" > > Also nothing is reported when checking the power-supply binding files > like this: > > for file in Documentation/devicetree/bindings/power/supply/*yaml ; do > make -s -j42 dt_binding_check DT_SCHEMA_FILES=$file ; > done > > This is also available as 'psy-yaml-binding' branch from my repository: > > https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git > > Thanks for reviewing it, Thanks for doing this. Other than the couple of things I pointed out, looks good overall. Rob