Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1731362pxb; Mon, 11 Oct 2021 11:50:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMCGtuH0WlCGMz3DFNrhG74Q2ttnFPv4fN3ogYbkMXyZS+4pOmWm4EsGAANG5t6gIZZBVZ X-Received: by 2002:a05:6402:11c9:: with SMTP id j9mr9918697edw.373.1633978230745; Mon, 11 Oct 2021 11:50:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633978230; cv=none; d=google.com; s=arc-20160816; b=kJiFECBi3LaRO7pjzJm5SRcqdSTepsh7pEXlmOKWBM96+NuWHWlOcuzlalbSWV0GN1 ez/tagPAKl+H7ZTaZF2rdlDIOE/0jQIVc2NFHNUDGM92FNDCwRHugqjJzJfgspHbc3+x lxefJByTqUHVgL/kiWE0YH1ErLMQSO+gHgsk5ZjEav5je3j5nEhk3JdSCxGUf/MVRntK Tozikn3b0IeMXiwn+lyYzKREtzfv58VmgHtkWDF1sol7SJx+je0quXc/Oc1RT7cmXqMm Q/kEMIss9BwtR0RenTiYDTu2fO/lpCLobRi+CrRhKddfY8fGsbKUUTuKooKmXWogXo/3 QWHQ== 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=8q1zWgKV78Y3aEVcIfZIJE7WewNNXyJ6aRz7pIkBe3c=; b=YGZUJFr9W16qtJi3KF3W1FO9PBri+ktRyq6nTIWwCK1jmf7Dga1bJEpI5LzchncINX xgRPImew5OpOpP9wwcWyVri61WYGeTr6xZs2kXnp7H3sWRwPe6QNKmEuwhMHmmqXwkP3 h2E1aFpcJ/oRPf0Io9TN5E3lGlA0t9h9oHPLYTWDC4UoPgLj2jjK4bEUjogtOir7O/13 dlNVgMw0H73s6Ad6kUxpJpAtTNMaEFgTEd/i+g7AzvoPJJ1QXcptnbm0KC2iWBGazynX mQ1JWus3h2MwbDKHM83qyes/Rt+oV7oOnSfaWbRCS+gzDnsI7SFtL45TH7S2SVK0rJjq t/zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a3FaMMPk; 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 25si4038114ejy.299.2021.10.11.11.50.06; Mon, 11 Oct 2021 11:50: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=a3FaMMPk; 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 S233089AbhJKSr7 (ORCPT + 99 others); Mon, 11 Oct 2021 14:47:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:38512 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbhJKSry (ORCPT ); Mon, 11 Oct 2021 14:47:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D9F3C60F4B; Mon, 11 Oct 2021 18:45:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633977953; bh=slrBS2iWicQssAAHo9cIRSDkDkmT0N370ZMWkDFUOsQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=a3FaMMPktBn0HzynG2irWzI1bsJn12rKkxnyxjax+6QWFLz22lfK5vetI4ahogmUx +oOjpfcKp9+Rn8DUG2OwNUxilH0yKppt7iVG1wt32PFYOu+OjnT6JhjISMH6xsINFf Qcw3AMM/3mvntelqnrG+HBYeBS45PJQYCfwf3FWQhX+6cCICVncRnFc2MwcQPWYYnV aBxw+Ov6/z4xYTXThMeBpGtpgkPtBS6s+doE4UeGkCAj6NKLUylPmhvrM4ZbX17uyf YJ3KH4wkyxF2m5c+ENBQjoNoqg9wDiktrLIuLAErT7tOeli9rybKplQhG8BkEaXAyA bi99Ium9vndrg== Received: by mail-ed1-f53.google.com with SMTP id g10so70644180edj.1; Mon, 11 Oct 2021 11:45:53 -0700 (PDT) X-Gm-Message-State: AOAM5334FVJroNgubwg8JyjPlbpdLpO99BnZfHlxHCnidps6ETgoJm/s 14hi/NVppRMhuUs+ZdxCmxeofhPK0tAtX8ZLmA== X-Received: by 2002:a17:906:e089:: with SMTP id gh9mr27523694ejb.320.1633977952254; Mon, 11 Oct 2021 11:45:52 -0700 (PDT) MIME-Version: 1.0 References: <20211009104309.45117-1-david@ixit.cz> <1633894316.403809.3158663.nullmailer@robh.at.kernel.org> In-Reply-To: From: Rob Herring Date: Mon, 11 Oct 2021 13:45:40 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] WIP: dt-bindings: arm: hwmon: gpio-fan: Convert txt bindings to yaml To: David Heidelberg Cc: Guenter Roeck , Jean Delvare , ~okias/devicetree@lists.sr.ht, devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Linux HWMON List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 10, 2021 at 4:50 PM David Heidelberg wrote: > > > > > On Sun, Oct 10 2021 at 14:31:56 -0500, Rob Herring > wrote: > > On Sat, 09 Oct 2021 12:43:09 +0200, David Heidelberg wrote: > >> Convert fan devices connected to GPIOs to the YAML syntax. > >> > >> Signed-off-by: David Heidelberg > >> --- > >> .../devicetree/bindings/hwmon/gpio-fan.txt | 41 ----------- > >> .../devicetree/bindings/hwmon/gpio-fan.yaml | 69 > >> +++++++++++++++++++ > >> 2 files changed, 69 insertions(+), 41 deletions(-) > >> delete mode 100644 > >> Documentation/devicetree/bindings/hwmon/gpio-fan.txt > >> create mode 100644 > >> Documentation/devicetree/bindings/hwmon/gpio-fan.yaml > >> > > > > Running 'make dtbs_check' with the schema in this patch gives the > > following warnings. Consider if they are expected or the schema is > > incorrect. These may not be new warnings. > > > > Note that it is not yet a requirement to have 0 warnings for > > dtbs_check. > > This will change in the future. > > > > Full log is available here: https://patchwork.ozlabs.org/patch/1538743 > > > > > > fan: 'gpio-fan,speed-map' is a required property > > arch/arm/boot/dts/kirkwood-nas2big.dt.yaml > > arch/arm/boot/dts/kirkwood-net2big.dt.yaml > This sounds correct. > > > > > gpio-fan: gpio-fan,speed-map: 'anyOf' conditional failed, one must be > > fixed: > > arch/arm/boot/dts/gemini-dlink-dir-685.dt.yaml > > arch/arm/boot/dts/gemini-dlink-dns-313.dt.yaml > > > Look like two arrays instead one expected. > > > gpio_fan: gpio-fan,speed-map: 'anyOf' conditional failed, one must be > > fixed: > > arch/arm/boot/dts/am57xx-beagle-x15.dt.yaml > > arch/arm/boot/dts/am57xx-beagle-x15-revb1.dt.yaml > > arch/arm/boot/dts/am57xx-beagle-x15-revc.dt.yaml > Look like two arrays instead one expected. > > > > > gpio-fan: gpio-fan,speed-map: 'oneOf' conditional failed, one must be > > fixed: > > arch/arm/boot/dts/gemini-dlink-dir-685.dt.yaml > > arch/arm/boot/dts/gemini-dlink-dns-313.dt.yaml > > > Look like three arrays instead one expected. > > > gpio_fan: gpio-fan,speed-map: 'oneOf' conditional failed, one must be > > fixed: > > arch/arm/boot/dts/am57xx-beagle-x15.dt.yaml > > arch/arm/boot/dts/am57xx-beagle-x15-revb1.dt.yaml > > arch/arm/boot/dts/am57xx-beagle-x15-revc.dt.yaml > > > Look like two arrays instead one expected. > > I can send patches to solve these warnings. Certainly not required, but would be nice. I sent it more for whether anything in the schema should change. Rob