Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1958071pxk; Sat, 26 Sep 2020 10:58:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXMj/nGM0MgYnxQSDvc3iOkDvOkvMo9zmDhanJSb/TroxsV9CiAdgQz949QRGI11p6hTyK X-Received: by 2002:a50:fa88:: with SMTP id w8mr7786954edr.179.1601143081184; Sat, 26 Sep 2020 10:58:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601143081; cv=none; d=google.com; s=arc-20160816; b=KDj2sJDhnSzfdI362/n6F17UP0ROgTYqTbIalEn9f3kPSX31gwTC1a6WahGcXY9w/o KuJCbXg1pmeJ9DaKawm3fKvAFeFocfAzbhsS2zf1cmMjl20S6dsuf68QAdoMuUB//djw bUCVCOPZyb/Leqj+NyU5szv7QtNeP78uFZZfbnVYmAedYwogWz5sDVFzBRds3KNHrMRK hwIyfC5sqJYriFvpV6RYZBtiyw/AEusg2WEFCf/y2jcCqWcdRyn7T5OaIn+7cD9l9zGX bldgrGuDbXf1eAzXXttfF9+oe1p4IV6YrfcDzlGfVi1q9TjGn5UlOO2flGEVy6dy2l23 zG9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=9wwd3zZwp1q6DLjzL73myCAjSiQZjgeaE0LO9QZkvl0=; b=A6n8IWZw26D2gNI+2JzT9o6ZJyzDBl/YhbhDi0UyByJgwMSNOLf1TWqo2p79XtzlBi A4H06kupLqLgoUkZYjCiSwSxp/d/3ASig6Fv0kR3pH0LVmo5wAvF7hEugYo31vchMzTz NiX7DE+i5AIspHrZUYLQ9q2GrkBXvuwp4H4BrBZtoPn7/20vsmyKamMr677Vws1g6S1Q cpNid3kjanhBsNqHH62hoReXXeYTw4jrjhJvGBOSJI1YKofCkX6VMraOG23HbwEq/SqD iFbMf2Hyyg2Kt9k+Xn+s9AtAr8r/xfygoOiUIWVFoq7Vi3DYrNChg+NPEaBn+QbXcPw1 LKYQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nic.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id uz13si4206236ejb.531.2020.09.26.10.57.37; Sat, 26 Sep 2020 10:58:01 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nic.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729425AbgIZR4h (ORCPT + 99 others); Sat, 26 Sep 2020 13:56:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725208AbgIZR4g (ORCPT ); Sat, 26 Sep 2020 13:56:36 -0400 Received: from mail.nic.cz (lists.nic.cz [IPv6:2001:1488:800:400::400]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1EB4C0613CE; Sat, 26 Sep 2020 10:56:36 -0700 (PDT) Received: from localhost (unknown [IPv6:2a0e:b107:ae1:0:3e97:eff:fe61:c680]) by mail.nic.cz (Postfix) with ESMTPSA id 072E1140A58; Sat, 26 Sep 2020 19:56:35 +0200 (CEST) Date: Sat, 26 Sep 2020 19:56:34 +0200 From: Marek Behun To: Luka Kovacic Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-leds@vger.kernel.org, lee.jones@linaro.org, pavel@ucw.cz, dmurphy@ti.com, robh+dt@kernel.org, jdelvare@suse.com, linux@roeck-us.net, andrew@lunn.ch, jason@lakedaemon.net, gregory.clement@bootlin.com, luka.perkov@sartura.hr, robert.marko@sartura.hr Subject: Re: [PATCH v2 1/7] dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings Message-ID: <20200926195634.24712f44@nic.cz> In-Reply-To: <20200926135514.26189-2-luka.kovacic@sartura.hr> References: <20200926135514.26189-1-luka.kovacic@sartura.hr> <20200926135514.26189-2-luka.kovacic@sartura.hr> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-100.0 required=5.9 tests=SHORTCIRCUIT,URIBL_BLOCKED, USER_IN_WELCOMELIST,USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.nic.cz X-Virus-Scanned: clamav-milter 0.102.2 at mail X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 26 Sep 2020 15:55:08 +0200 Luka Kovacic wrote: > diff --git a/Documentation/devicetree/bindings/leds/iei,wt61p803-puzzle-leds.yaml b/Documentation/devicetree/bindings/leds/iei,wt61p803-puzzle-leds.yaml > new file mode 100644 > index 000000000000..502d97630ecc > --- /dev/null > +++ b/Documentation/devicetree/bindings/leds/iei,wt61p803-puzzle-leds.yaml > @@ -0,0 +1,48 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/leds/iei,wt61p803-puzzle-leds.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: iEi WT61P803 PUZZLE MCU LED module from IEI Integration Corp. > + > +maintainers: > + - Luka Kovacic > + > +description: | > + This module is a part of the iEi WT61P803 PUZZLE MFD device. For more details > + see Documentation/devicetree/bindings/mfd/iei,wt61p803-puzzle.yaml. > + > + The LED module is a sub-node of the MCU node in the Device Tree. > + > +properties: > + compatible: > + const: iei,wt61p803-puzzle-leds > + > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 0 > + > +patternProperties: > + "^led@0$": > + type: object Here should be a ref to LED common.yaml: $ref: common.yaml# > + description: | > + Properties for a single LED. > + > + properties: > + reg: > + description: > + Index of the LED. Only one LED is supported at the moment. > + minimum: 0 > + maximum: 0 > + > + label: true > + > + linux,default-trigger: true > + label is obsolete, linux,default-trigger as well. > +required: > + - compatible > + - "#address-cells" > + - "#size-cells" > diff --git a/Documentation/devicetree/bindings/mfd/iei,wt61p803-puzzle.yaml b/Documentation/devicetree/bindings/mfd/iei,wt61p803-puzzle.yaml > new file mode 100644 > index 000000000000..38846c758372 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/iei,wt61p803-puzzle.yaml > @@ -0,0 +1,82 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/iei,wt61p803-puzzle.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: iEi WT61P803 PUZZLE MCU from IEI Integration Corp. > + > +maintainers: > + - Luka Kovacic > + > +description: | > + iEi WT61P803 PUZZLE MCU is embedded in some iEi Puzzle series boards. > + It's used for controlling system power states, fans, LEDs and temperature > + sensors. > + > + For Device Tree bindings of other sub-modules (HWMON, LEDs) refer to the > + binding documents under the respective subsystem directories. > + > +properties: > + compatible: > + const: iei,wt61p803-puzzle > + > + current-speed: > + description: > + Serial bus speed in bps > + maxItems: 1 What does this mean? Is this connected via uart? Why not name it `baud`? I realize that `current-speed` is used in other device trees (and `baud` as well), but what "current" is this? I don't suppose this means electric current :) Have you passed these via dt_binding_check? Marek