Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2277570rwd; Wed, 14 Jun 2023 00:02:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5rVEOiTuCn92h1vrVL8A/0sXDR3qSbID0suuEOVKm2WMEk2kGxEhdLpUgjBTiZNRlaPxGe X-Received: by 2002:a05:6a00:b83:b0:65f:2fbd:370a with SMTP id g3-20020a056a000b8300b0065f2fbd370amr912074pfj.30.1686726171510; Wed, 14 Jun 2023 00:02:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686726171; cv=none; d=google.com; s=arc-20160816; b=urR8sLKiYCYJGF1FGaCp2FeuuMlvYtsgzxcqAFLqvjByRDeHehb2j3LeR/xoWt58Kn isSsKupiJy5Nmj+Ba8HqoWp1w50/I4kOZn2Eed/9YtahH2IKPT38bx/rVTvStOc0UWvt qaWoBqDHrGco75hKpNo+inxJYoR7MsT8h6cuI1MTRZjD4UVRHD664V6Rof4KeBedlIrX bkRllMq1MRe6SP2O7tkywNcpT9efAVYlAeUIk61RldgIb5VR2vrHbYzR6BWrplpyCAXv jk+pBJ0h3By2e+8AjJR34RvCPXritY/+sScoFrA/9+HIpuNgvyVylGQYjNa1jCSo7MLT giSA== 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=XElC6rJY+nGGxGJnZgLE09h9gOSS2v7GKSOK1qVdyVI=; b=wVy9gNN+UZxTLIrcvB8oDk+Pkh4KIYK1M8c7WobVjEiWDYNGVbsUHdm8N1iqa8mZXs lU2+UMXHsHlRd53I3s4wp0/iHybYKK4P+KTXemnbOcy9mvgunu3r6liarZC6m0pG/89o jWx/cQrJVlwhtudf7cJpsSm6l/tCI7dLRt257V34HlAmYhTQxTzZHxJFMxkkASQ/dG8H ugs0YyabFMh34Q6wKFhYlhIpbgMm+ulIPS0PT82q5ZYL6IBGnI3ykg2ul0BahDETB4oW EPqHxZ1DPFLuKqP8V+gIJ7j6z8cgGWTUhsaFXZQj41UDNZlgOl7puyYOAHfmbfnKk0Sb 7r7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fuAfEz2E; 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 r2-20020a632b02000000b00524ca1b89f0si7362264pgr.596.2023.06.14.00.02.39; Wed, 14 Jun 2023 00:02:51 -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=fuAfEz2E; 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 S243271AbjFNGhZ (ORCPT + 99 others); Wed, 14 Jun 2023 02:37:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243192AbjFNGg4 (ORCPT ); Wed, 14 Jun 2023 02:36:56 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF0EC1FD2 for ; Tue, 13 Jun 2023 23:36:51 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-9745d99cfccso62723866b.1 for ; Tue, 13 Jun 2023 23:36:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686724610; x=1689316610; 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:message-id:reply-to; bh=XElC6rJY+nGGxGJnZgLE09h9gOSS2v7GKSOK1qVdyVI=; b=fuAfEz2EgreON8JdOjjBrnjF7OA2dMgDAfL5ynlmQeA/mwKnHTuxrooKd6fGZhUAqp B6mMgA9b3lFbHLucy7PJiRP5QWK//A5kX1FTr/SSHuHEPDGMAWcHQMFZT6K5MSVyairJ TvjkPlEvPsMYYMygo//Bl8ZHXeGwVQfkkyWZBleJ/7GH2CIUJgEhb5wQK8IHyU7d1lLg Pi/ubGy0dOacMObD0O1eKxBCXzwObmzooCr9o/L032KqR5zdQrxvE75a4WfwwnqYvyR9 4mnaoWJXVOY00p7l6KZZ6rNQDw08opKOS5HMnKx3R7Kkzpx6zrSJXzThwsWNskSIul80 Lo2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686724610; x=1689316610; 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:message-id:reply-to; bh=XElC6rJY+nGGxGJnZgLE09h9gOSS2v7GKSOK1qVdyVI=; b=klZeSyUWZISZ+g9nvx8PygiZXL35x/TsL/7QjIfxNdaPsrvC9l5uc3XRwlbJHOdJnt p8WeZSoGpbufPomhNaBqbMsMu+MKQiWwIS8mR/O347dghsv+1QmjLPDYHSKgEtm+rvAJ TdD7ybYnMu5UNr0KxTfm+SPXCIahV3PSBFb/7NXgVlSChoKAen8iXy+SGb5ZezCmbQSz FmcVFTHxdnRCEjYOj5uWO7pwlTMLVfbua/dU3sO/dBGsMaMxf+66dYHrJIShREVlhqAD mre/FRtLa5HhDG3vHtF6RFrzgGdH8wyjoGEEKGHtxh5/lrlI6cUeNvylAklSxtGTwfnd ivBQ== X-Gm-Message-State: AC+VfDyeKtPLUeLQYdThVTawLrS1pxB0q+nqt5wY27YOC9dtnxdYFvBL whVniuFswIvBwXLoV3o+4JJC4X/FAxd3vLHhGJk= X-Received: by 2002:a17:907:2d07:b0:982:6bba:79c5 with SMTP id gs7-20020a1709072d0700b009826bba79c5mr802844ejc.72.1686724610122; Tue, 13 Jun 2023 23:36:50 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id j15-20020a1709064b4f00b0096f738bc2f7sm7647403ejv.60.2023.06.13.23.36.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Jun 2023 23:36:49 -0700 (PDT) Message-ID: <28cba091-48d0-846d-4996-64e71be275f2@linaro.org> Date: Wed, 14 Jun 2023 08:36:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 1/3] dt-bindings: ROHM BU27010 RGBC + flickering sensor Content-Language: en-US To: Matti Vaittinen , Matti Vaittinen Cc: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <98e0b6fba7ff7515b541a517296d5b89dc73ce5b.1686651445.git.mazziesaccount@gmail.com> <22dadcf6-9879-efb2-9987-7f286b38b93b@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.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,URIBL_BLOCKED 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 14/06/2023 07:32, Matti Vaittinen wrote: >>> +properties: >>> + compatible: >>> + const: rohm,bu27010 >>> + >>> + reg: >>> + maxItems: 1 >>> + >>> + interrupts: >>> + maxItems: 1 >>> + >>> + vdd-supply: true >> >> Isn't vdd-supply required for the hardware to work? How does it get the >> power otherwise? > > The BU27010 works by magic smoke. When smoke leaks out the sensor no > longer works. > > Ehh, I think you are right. My thinking was that it is not uncommon for > people to not have all fixed regulators present in device-tree. But I > agree, this does not mean we should encourage that. I'll add supply to > the list of the required properties. > If the device actually requires a regulator, it should be required by the bindings, even if it leads to dummies or fixed regulators on the board DTS. Best regards, Krzysztof