From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 894E1C63798 for ; Mon, 23 Nov 2020 21:23:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1F177206D4 for ; Mon, 23 Nov 2020 21:23:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JFAU1aYQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730163AbgKWVXZ (ORCPT ); Mon, 23 Nov 2020 16:23:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726270AbgKWVXY (ORCPT ); Mon, 23 Nov 2020 16:23:24 -0500 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09640C061A4F for ; Mon, 23 Nov 2020 13:23:22 -0800 (PST) Received: by mail-lf1-x143.google.com with SMTP id a9so25843381lfh.2 for ; Mon, 23 Nov 2020 13:23:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vRZ/gKrfEgXXPL3DmEFvGxpTfGP1G2iZrpLKbx41KPU=; b=JFAU1aYQDQw7PAw6MuOA4Haf/FSt2b20JWn46yctmfUW7d3b0XtyKdBfRLw4Ki7Uah 4DXsscwINcAaysL1AyrDQR2AYEeQiIaM7tZDDjWu0j7r8FhEs8gGFPiEQkmYnoXeTQ+F ZHGSr6cXBktjGmWjyH9CK2qccW/2izQwCs4tWqmN/3DJ1pCY3if+bqrKy30fxU+cSt8U ax0q2Kolx75J9yV89jDKNM7UCdN8LCLKD/avamFApLoGOtMMBYEoUWVR1QKLW479qRns YeCycSvj44T9T51EGhTMJfsfYPAAg34QKhnzqxqplYcJpavb93QDa/lhiGg4LOlGds13 aV6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vRZ/gKrfEgXXPL3DmEFvGxpTfGP1G2iZrpLKbx41KPU=; b=SEbshfb2pFYPoLKaOqnK8SruT5wxiLwurUQaraIKL2KFCpGgo/7eERkR0EJsWHNS80 qUZh6oTG0beYvEdchZW0Lh8Siv5aLvKC7S0ONmTtwIwWmNdR2ggpX8bcrqe3u+PjombU 0+RTtK7xnMESlKA+BDEdIs4OxCGZitrkvnHVyyFDs8fFOwRtP5YT9gpoeV9kRG2jh6bw 4/zrJsnShj3wIKV7HruYvJuRdIBdDjCdY7K3anPMFA/kY/mnnmGdEMV9ItoLkqUpopcX sQrmu4xcq+Y8GBlZ+eK5kV+wr5jRaBUg7jguRS72u+lbpGzqZkCcTKahqVfkKu4S2TVU xjYQ== X-Gm-Message-State: AOAM532m/cS9u4PE8iKmvy+kGLi2VA50bpGcNhHLi5fG2DBqKOi19Mh5 SfZJ4c2bPlFbR02z3kIw68DhHZjQT1AjVJgDTm2AzQ== X-Google-Smtp-Source: ABdhPJy2Q0A7D8Lk4T9WUvsZAqStaMJ1heV2jCWT5l7VWJMu9ZmC9IWtTK3/IWTF52cjUy4teKASDDQm/uH/X/faXvI= X-Received: by 2002:a19:7b06:: with SMTP id w6mr477889lfc.260.1606166601367; Mon, 23 Nov 2020 13:23:21 -0800 (PST) MIME-Version: 1.0 References: <20201113124239.2667502-1-linus.walleij@linaro.org> <20201121132742.GA2121607@robh.at.kernel.org> In-Reply-To: From: Linus Walleij Date: Mon, 23 Nov 2020 22:23:09 +0100 Message-ID: Subject: Re: [PATCH 1/2 v5] dt-bindings: leds: Add DT binding for Richtek RT8515 To: Rob Herring Cc: Jacek Anaszewski , Pavel Machek , Dan Murphy , Linux LED Subsystem , Sakari Ailus , newbytee@protonmail.com, Stephan Gerhold , phone-devel@vger.kernel.org, Linux Media Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org On Sat, Nov 21, 2020 at 4:25 PM Linus Walleij wrote: > > Units? Add a defined unit suffix to the property name and you can drop > > the type. > > Do you mean that if I rename this property as: > > richtek,rfs-ohms > > there will be some automagic machinery in dtschema that checks that > it is an uint32? > > Is there a list of these magic suffixes somewhere? Got impatient and grepped around myself :D So schemas/property-units.yaml and meta-schemas/vendor-props.yaml explains a lot! Clever, we should add these example tweaks to the example schema as illustration of available intrinsics. Okidoki, respinning tagging on -ohms! Yours, Linus Walleij