Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1597723rwn; Fri, 9 Sep 2022 00:30:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR7FS3MaJhFZWVrpyJ0033Ig8X0LrOryosCy/rNrxtjz8mtvX0ao01OeuUkjBPpvzmy6WIfG X-Received: by 2002:a65:6bc4:0:b0:3c2:2f7c:cc74 with SMTP id e4-20020a656bc4000000b003c22f7ccc74mr10791782pgw.307.1662708643121; Fri, 09 Sep 2022 00:30:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662708643; cv=none; d=google.com; s=arc-20160816; b=Mcr7qNcwPwyQmZGYFYo6KjcAiGDBOb4yH9OzJQ1/GVpogblyW8ofNJURnyTKDFJbPE 9vIY0IZsvieUphp4SB1XddFzVEgLHbLUu4TRBrzMW8VU+VmB219jsipEjo/qAhA1WE68 4zHVc8I1k9gdo97vIhAAm+se9tbgIcWgPnMZ0D4FU6yTljMjn/EJ7vgfPBITW8+jLuRA oD+ZosZOxLKfJ0c7Lrj3eKXD+ZZ9QVIRneI7GjFLJYu18FT/S238Z9gtM6ta+8MsEBFY qORQvTF8Tc1TDogkszxRjFfqlYREqT86aXyPCt7yGfa9QNFHTm+qaJEFUhi84BOmx6ji 5+QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=rttukWzjV+xvcl0ZdZLEMjvbrPV71XhE0mBEoNsIC0c=; b=JSI6vw9p2l69hkulwag72NjcyevwDcQ/3eiw2zAqGYzCspUx2fTYJWx9wUGGHpsHKT qDCYca9vGiKGeV845w3npkpO3tSuYdEFVNOaxYcHWsY+ynsRYdw/ZX1jy6TKUqQXdlRd Q4bXVvukqbjfjKfLpDzAxvTL8gmii9QsfrNXUmtoNSOpH6C0Lx+blDNfiZGXi5HBrKMx IWGPyETYKB4fCJyBIkCyMcUf8Kar9deij5UvnNML0qZoiSC469h+RYGJgpROfx+dtxNB doRg1sZbN6u/bcmNDG35x0naUGpeDw1lQpoxeUVxUMwES+9biwt+mq3KrdjwcrHZA/Fx O4ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Jxi/U+Jb"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kx8-20020a17090b228800b002007cd8ea80si1314512pjb.28.2022.09.09.00.30.31; Fri, 09 Sep 2022 00:30:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Jxi/U+Jb"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229923AbiIIHZW (ORCPT + 99 others); Fri, 9 Sep 2022 03:25:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229897AbiIIHZU (ORCPT ); Fri, 9 Sep 2022 03:25:20 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54AFD5142A for ; Fri, 9 Sep 2022 00:25:19 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id y18so771499ljh.12 for ; Fri, 09 Sep 2022 00:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=rttukWzjV+xvcl0ZdZLEMjvbrPV71XhE0mBEoNsIC0c=; b=Jxi/U+JbUv3v+EznlTNHFlFyGSGuivl713KuaNpo0EYtSonAZkVxGMDug+GbhlR8uc snrfxroNbjYlhnESeju+kc6rjCo+Yog10pZs6pyzXdiWnYo0AVK0unUR1B1UKheb5aRo qNfMmLglHF+PYeMYwodLsLirOEOYRnHWnnYj9kj959eoG3RFklnldruNtJ1T4bfOauPg dvrCrP2WUd6D2aHWgXHFA4ZLWnbe8rC2+mNfL6PzJ4zo0gPdp1JMWDXiXiin3IBcLWKy I5emIXWiaiMjFsF5IOrQkBYxzD4cPMjbwY/DlWwbfTtYg8dzA8zT6N5ISOBYHiJ0YxDl OmYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=rttukWzjV+xvcl0ZdZLEMjvbrPV71XhE0mBEoNsIC0c=; b=Ll78dUosvPKT20qOgC5Nwyp30KTXPWZP0OWf7N3tsv3lYkCjIrfJGfndzaeVV6ZC2/ I5g6EiEJ8Za3Z0vPp7xChs6UF8qmnqNKu27oEo5vhxyVx2x8J7pq7ZKkA2P5ub9s2mpi cmN0pnS61sbQjJsdSvxA26UmNXEX/lY41mRP1lW5XCFeq2hh2JoInGKgX0RAxReZnCct xHHiqtEkKpA8I3F9JTWBjLLPYXv7ukaIntzX4rrUVTl8OJqx1MXWtOWhTy9N6Y1gM+X/ HlDxKtvlZGwwh7Qu321hGfAfA8tXTPJwQvJZeUY4iqpYWWPgi+62XHcwKbl//hPGQZvI +j3g== X-Gm-Message-State: ACgBeo29W/SU5yn0lPpfV7Gfj4VqIKu0An4s3jZ/3yfdXA0rMxgxxzuy wWsOuauMAsTodRs9b7V/1tbf2A== X-Received: by 2002:a2e:bd03:0:b0:261:8b4d:7c5c with SMTP id n3-20020a2ebd03000000b002618b4d7c5cmr3798042ljq.194.1662708317694; Fri, 09 Sep 2022 00:25:17 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id h14-20020ac25d6e000000b00496d254bbd9sm150794lft.271.2022.09.09.00.25.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Sep 2022 00:25:17 -0700 (PDT) Message-ID: <66cf260e-b8b2-b3d1-7e8e-d1cfd99989b8@linaro.org> Date: Fri, 9 Sep 2022 09:25:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH] dt-bindings: sound: ts3a227e: add control of debounce times Content-Language: en-US To: Astrid Rost , Mark Brown Cc: Astrid Rost , Liam Girdwood , Rob Herring , Krzysztof Kozlowski , kernel@axis.com, alsa-devel-mejlinglistan , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220907135827.16209-1-astrid.rost@axis.com> <2b81d814-f47a-e548-83dc-b1e38857e8ce@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/09/2022 09:16, Astrid Rost wrote: > Hello, > > > Use standard property units "-ms". > > I made it in exactly the same way as it is done for the "ti,micbias:". > > - ti,micbias: Intended MICBIAS voltage (datasheet section 9.6.7). > Select 0/1/2/3/4/5/6/7 to specify MICBIAS voltage > 2.1V/2.2V/2.3V/2.4V/2.5V/2.6V/2.7V/2.8V > Default value is "1" (2.2V). That's not correct way. Logical units should be encoded in logical units, e.g. microvolt. This makes the binding re-usable, extendable (imagine new device from the family where these values map to something else!) and also the easiest to read. > ?> Anyway new properties cannot be accepted. This has to be converted to DT > ?> schema (YAML). > > > Doing a whole binding conversion feels like a bit of a steep requirement > > when people are just adding a simple property, it's a lot of stop energy > > to figure out the tooling, do the conversion and deal with all the > > bikeshedding that the tools don't catch. It's definitely nice if people > > want to look at that, for more complex binding changes it gets more > > reasonable but for trivial properties it's disproportionate. > > Thanks, I am not really sure how yaml works. But I can have a look. Documentation/devicetree/bindings/writing-schema.rst (and example-schema in the same place) Best regards, Krzysztof