Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56DDFC6FA99 for ; Sun, 12 Mar 2023 14:22:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230005AbjCLOWR (ORCPT ); Sun, 12 Mar 2023 10:22:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjCLOWP (ORCPT ); Sun, 12 Mar 2023 10:22:15 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F2873D0A3; Sun, 12 Mar 2023 07:22:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D3DB5B80B4F; Sun, 12 Mar 2023 14:22:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCB15C433D2; Sun, 12 Mar 2023 14:22:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678630931; bh=lxsoEfDwQTGwfTXIMqI8LaENNncVMNMnOPZu+T+NMWA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LlVcfbFmhlrLQVlL/Dw5YfDdx/C0QVxNr+IMMZF+M3QHYuTkxWd434Rm1pEVl3C4X kRFM94pdYaMBy8WG1w5kN4UWNbSHqb88t4S8eEkOYCzOoXUGBQWlFQ3U71Xz15dw41 Ac7DoZmS1zq+OoG+aKdIWTFMpBIrqjFQM4A84lnEIGkKmhSW6NrB1Zxnz83JLUcicP xFuXVxWOZQeIf3DU9DCDEvogLqY6Z9Jpzdqcfmgwy7yhZJJWrZiC1AT15spnXLL07U rRpzJtZTaZYo3+JXGwKB98E9wkX1+2owKjGE3YUAmdr10WFbGMmyc1sYYFExbBOO+l fxpaXk6Nph7KA== Date: Sun, 12 Mar 2023 14:22:15 +0000 From: Jonathan Cameron To: Krzysztof Kozlowski Cc: Svyatoslav Ryhel , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , Dmitry Osipenko , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown Subject: Re: [PATCH v1 1/4] dt-bindings: iio: light: add apds990x binding Message-ID: <20230312142215.13ff34a2@jic23-huawei> In-Reply-To: References: <20230308090219.12710-1-clamor95@gmail.com> <20230308090219.12710-2-clamor95@gmail.com> <20230311193426.5b1b7e53@jic23-huawei> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 12 Mar 2023 11:47:19 +0100 Krzysztof Kozlowski wrote: > On 11/03/2023 20:34, Jonathan Cameron wrote: > > >> + > >> +additionalProperties: false > >> + > >> +required: > >> + - compatible > >> + - reg > >> + - interrupt > > It would nice to relax the need for an interrupt if the device is still useable > > with timeouts etc. Board folk have a habit of deciding they don't need to wire > > up interrupts. We can relax that a later date though if you prefer not to do > > it now. > >> + - vdd-supply > >> + - vled-supply > > > > Whilst true that the supplies need to be connected, that doesn't > > mean they need to provided in the device tree binding. If they are > > always powered up I think we can fallback to stub regulators. > > We can, but others might not. The binding should still require them if > they are required for device to work. Mark also made it clear recently: > > https://lore.kernel.org/all/31ca0ede-012c-4849-bf25-d0492b116681@sirena.org.uk/ > https://lore.kernel.org/all/5cd6764c-9b04-42ea-932d-9f14aa465605@sirena.org.uk/ > https://lore.kernel.org/all/f6f02138-8ef9-4a33-9b51-0b7cd371230f@sirena.org.uk/ OK. Then there are a lot of bindings to fix. Seems odd to me but meh it's not something I care about. Note this means that we can't have trivial-device.yaml for instance. Ah well, I guess views change or crystallise over time or just differed in the first place. Jonathan > > Best regards, > Krzysztof >