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 32BE0C63697 for ; Mon, 23 Nov 2020 21:23:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CBDA0206D9 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 S1730108AbgKWVXZ (ORCPT ); Mon, 23 Nov 2020 16:23:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727725AbgKWVXY (ORCPT ); Mon, 23 Nov 2020 16:23:24 -0500 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE76AC061A4D for ; Mon, 23 Nov 2020 13:23:22 -0800 (PST) Received: by mail-lf1-x141.google.com with SMTP id l11so25904675lfg.0 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=CJxDORlY935ZXuUK79bY3pfy6od4kKkIw6XcruKn2mbSR48RlL+WX0kV6vRia2syU9 GW3OP33XJQFicDsrUiULcJebhueQ2h+qAVQ3eFxR0G+zoP6a2KzPr6jvAE5mBEXDvzE+ tgXvrles7ZuSoL5LCJtn/Z45gQuzFC8ym8f0d7CJd2Cg42QNThzaMcCUwG9G6f4HV4TA jKlA6Nk5skGXZGC0KSAcMOxkb0ShGbNGou7tZCN/3jIQPusyhDTxRN1HtRuk19ZMrZmR o4gc+JnlvHxPVhpmacHAF5Is5xnQIc+3nci3afWg8liRAmgmRp+KM0Da6EVq+Rh7TALO JIWA== X-Gm-Message-State: AOAM532A3btQOk1WQgbVCzWwjSaAZMB2ieHqeQ6dOrl5YFEH5Ol7ikEQ PjEsTZIDgDq63d+x23HKPqGi6yp0/d92nabGT6nuAA== 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: devicetree@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