Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp938334pxb; Sun, 10 Oct 2021 15:46:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMs/bpQ1N9nFs3SvoDTTrwWrSX8Glk/gu5kOnhs/wTEEKjRs1bSFRN94v6ZXMWCJXAL7aD X-Received: by 2002:a17:90a:5502:: with SMTP id b2mr27137778pji.154.1633905968533; Sun, 10 Oct 2021 15:46:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633905968; cv=none; d=google.com; s=arc-20160816; b=m11r46kTjcrU90/Liz790d+zYxQEap9JFEvpHzR+q7TEIqXWBRN6KBs5aBiBMVp15v naZd2JqnKUqECpq/6q5R590VOZnt8cdB1MvGJV7MubhrE6ZfzAXHPMwQ+dDilW/C7Vxy StFfkAEr0xo3c4dni8y2oZaLU7KB1XNO9K6oKV0/xMVdecdscYUhiHkthg5w/3xj3iJq DFskEMw36SVJl0Cdn52nh7RUEtROIDDN1H2n82hYmtdqeu7beGK9KH50eEaQ6YY96cOK AgQfD+1lk2EhzGha7nQuOhj47ze50n+5FLaeYT9IlL4b8dfr5ybtpC/a57+noe1Vl3ih n3jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :cc:to:subject:from:date:dkim-signature; bh=b9MJGCRTU/VSRZRpCmWOJgpaIftdrOSYufu7oVXOfyk=; b=Z8lBK9iCYMAeznKgQSWfk587UNewvZwXMPzNseqzUQ8OjvQy2Y83bnoeboFqY3+tYO o/iLGzn8r3Tdp9t/GZb8V1G15n5HylMAnrWM51FB7UkLNGchtaDs8JntxfcdoQGueDqG BnpLrppEWS/3FGlOPOTi/B6KHp92CEUBBOihQMorIjZVzOI2vr/F26yiCAd8XfFD8a8a GbMyPZQh3sLsigAAbiC5hMXLVGraBjzCaka6jphh9YH8HQ7Exvh/4BP58GVXXL1pVUGZ Hg6C/1srfCP8jYHTh4NtM2zp9TwQ0SVsbrr2tHSFUHOb48eRgQ3+HSTAPuOd9lEbpbBY HNSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ixit.cz header.s=dkim header.b=igOmL62g; 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=REJECT dis=NONE) header.from=ixit.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f10si8922191pgv.175.2021.10.10.15.45.46; Sun, 10 Oct 2021 15:46:08 -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=@ixit.cz header.s=dkim header.b=igOmL62g; 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=REJECT dis=NONE) header.from=ixit.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233005AbhJJVwk (ORCPT + 99 others); Sun, 10 Oct 2021 17:52:40 -0400 Received: from ixit.cz ([94.230.151.217]:50218 "EHLO ixit.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231390AbhJJVwj (ORCPT ); Sun, 10 Oct 2021 17:52:39 -0400 Received: from [192.168.1.138] (ip-89-176-96-70.net.upcbroadband.cz [89.176.96.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ixit.cz (Postfix) with ESMTPSA id 416CE20064; Sun, 10 Oct 2021 23:50:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixit.cz; s=dkim; t=1633902637; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=b9MJGCRTU/VSRZRpCmWOJgpaIftdrOSYufu7oVXOfyk=; b=igOmL62ggbv1tWAiJ6Lw6Bu0T0Wpg0gYQDJdsbzoJI3aE89G7kU8evMtaeKk+w+8sYV523 YX2Eh08pt+/xTFD7qhRVx3T3ABlGjOouL8sWVV93MAEXdaN/57oZidoHcifs4dXhqYfFoN szwF69hD/ajd02S/SFLd/kJz0X6UglQ= Date: Sun, 10 Oct 2021 23:49:08 +0200 From: David Heidelberg Subject: Re: [PATCH] WIP: dt-bindings: arm: hwmon: gpio-fan: Convert txt bindings to yaml To: Rob Herring Cc: Guenter Roeck , Jean Delvare , ~okias/devicetree@lists.sr.ht, devicetree@vger.kernel.org, Rob Herring , linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org Message-Id: In-Reply-To: <1633894316.403809.3158663.nullmailer@robh.at.kernel.org> References: <20211009104309.45117-1-david@ixit.cz> <1633894316.403809.3158663.nullmailer@robh.at.kernel.org> X-Mailer: geary/40.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. David >