Received: by 2002:ab2:5d18:0:b0:1ef:7a0f:c32d with SMTP id j24csp144583lqk; Sat, 9 Mar 2024 04:22:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV2Ww7nHBwStBVlIqdD+PHrJZrECwC56x+d//BwHsMNdBxgHV0G8lwX4Q30gV747TboapKAZ07oNtThvsEb9drEafhBg8BwYWBaPfrBSQ== X-Google-Smtp-Source: AGHT+IF1Q0cEJVjnzSK7JH7XHJV/gUqi8NYbT4XIk1EpXQq/7nIiiQ0m/x4IQmhXhE/O0VVozvL1 X-Received: by 2002:a05:6214:b14:b0:690:96ac:7999 with SMTP id u20-20020a0562140b1400b0069096ac7999mr1465585qvj.64.1709986968136; Sat, 09 Mar 2024 04:22:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709986968; cv=pass; d=google.com; s=arc-20160816; b=ilSnxnGT2XkIVBPKHo4vZFrDPFljvrpHKzJCLibL3BAO7L7wLRaLRR2Uz+wqCTi04s 0w4iroPrKl3ujVNjVZ2/++1T69aw5MZ6bysRIL75WuVGzRPH8UfmYwV+IIsnqfQz4vTr e+3NaDrE8fQDQdKyVFswB3v79191La3qn2EybiJzNjSgpOLlR0C/OyAJvjycNm0t8BOQ U3jHi7/5KBZbypZc2/gF5b0/blbX/iBSV0ObsuWCzBFK/bJj0SrOrSktO/qJzkwM0K1J 9qU0Qq1NP8VPTuCozDarlyNI5HexiH/2b3z7IkSvv1iKKsoCyknIUZ70e1VcZNX7kEda oNRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:cc:to:from:content-language :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=oNYQwGlIdWa98UCMqvaJ9MllMewccvT4qth27BxGmc8=; fh=eSt4hvSRRKPfKTqfprNDHyAFAvSvH9ec+x4zAqruBVM=; b=bgIzQJ3Q9PLa9pzoL7EwITzBFRPgzCBQuqzFrxrJiNAMpGLcn0O9k1FJ/fvIWxzwu+ 6NIWd1bCyMSW9L9Et+lr3tyuka+DXJrjuYi3pYS1XY+kcfd6jKmmgYEgCW+gk7lVxKN4 fJFyfchXrD0A1lB0+WEL632CuiX2xHg8n2Q9tHEmDcoARGijDrOmCKTRsXIMRUPSKSWY obvOlTX3ZlHsTJlxFSSyJyecAB7JVI2mhcVNcaWaEiynprqn0osCchTYctjDLExyFszq Ryol94vIvupXQixWeoBvd78LeSQP964r0c5y/xvQ+WA6RBYGuhG7vpLEgvR+VzFr01o3 GkRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nEfRE17A; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-97875-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97875-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id gm1-20020a056214268100b0068fd04b360dsi1461916qvb.255.2024.03.09.04.22.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 04:22:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97875-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nEfRE17A; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-97875-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97875-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BB1441C20B3A for ; Sat, 9 Mar 2024 12:22:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB09F39FD1; Sat, 9 Mar 2024 12:22:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nEfRE17A" Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8170A28E22; Sat, 9 Mar 2024 12:22:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709986961; cv=none; b=ErLeAu/N3jW3oMTW6TlDbyznaOeofWx89vsvfRvyYStStj5opyS6aQ6KhGyYzinVyWNmuuUYfZCCKSQz6o60fEdtaqzhqbOot/wk8OHHXwyDc0I/6diTuCNWeZqj2Mzsi29StiPqGWz0zIEMXYpGUlucfrdltDAd9on99mZ2XHQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709986961; c=relaxed/simple; bh=oNYQwGlIdWa98UCMqvaJ9MllMewccvT4qth27BxGmc8=; h=Message-ID:Date:MIME-Version:From:To:Cc:Subject:Content-Type; b=pRM6GiyUWPhiLGLrXYSZw8Gm38zIyHIeWt7Zhb9IGr21hZNF4n48EvJnJ7l11NA8KD5+WmsIacFPhEZ5eQOyK4FV0iaoAWwhl/21eGYkNVoNun+aDCIFulkpRVYB9rrMLQOM5zshIY4DRVlJ5tFgUzVTKtbNaNfgOczIadnfDnM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nEfRE17A; arc=none smtp.client-ip=209.85.208.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-56829f41f81so2399311a12.2; Sat, 09 Mar 2024 04:22:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709986958; x=1710591758; darn=vger.kernel.org; h=content-transfer-encoding:subject:cc:to:from:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=oNYQwGlIdWa98UCMqvaJ9MllMewccvT4qth27BxGmc8=; b=nEfRE17AaH8f/rbJn34eXM6QPerrL0LzSZAd1IwJ9tdNzf2p7FeAXLOXbKwRbGl37j rj1CeR3jBw2OYqKXG5TkhMS3CosoOEa8oUZU4K4isUGtcFN58qBBne/t7WU0iZXjs6fN 5Fi56fk6OLL0J31ZK8kTTbueIFibQrBTizgW+B1FGlQc8PG1zP8o+S1WtMIZ2BacNXws OWMz2taqGReFrc4AMmwlnBTjEcJE1fy7N/rcC4w8gD6bloSpnNJqWHCTjqIugtkvxDeF aL6MwuYbrAE3op1h9YrBCVDEAn7KOe+iiBK7pcGkIpFkY5RjLbKSsaJcLzPx30I5GqLo MFHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709986958; x=1710591758; h=content-transfer-encoding:subject:cc:to:from:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=oNYQwGlIdWa98UCMqvaJ9MllMewccvT4qth27BxGmc8=; b=jC9NQAr1iUZXTxfCMYiWrUSg9JDDeQmvXLKzItVMEbBOFglWj9e8csH2ZKdPZuhoQN b3eeZEw/Qy8fvFK1ZaF6T/QVaIU8fZiAuMsO8Z0hMbNaywmZ0t3zGBNGjNfNsTHROf5T xjR3k/3UluHWl+ZoJ8htcScBVhOfP9v7PWXD3pZeaQ1K1z5PV3ru+aq/vF9YqVX6Wlr1 C6iIiA97HvDcWfUqy49eOVIbPk9yLycx0QFqUb1Dg8f0lVpo6W3nGDDdB4KTYmelvlvk 18VGMUtIYt1Aq+fECMMQZSGlEFE7xu6CtHhBl0mbLH6UNY/TpehbG2Mn5W9Y3i4ZsJj3 YpRA== X-Forwarded-Encrypted: i=1; AJvYcCVaxZpbPlEW5EgBn9I/Zjo+aStyxyndcDBtQLYYI+mCO/yY05hMtaU32qjq6rpINbjJ7W/pA5VsdjRJ4YXZ56yBBywwOavmJAs2nbch X-Gm-Message-State: AOJu0YxJELJaIcxWZyGc14tXawrq+CfQSlmKiQxeXazb8so4LDhkH+ZL aIXQhvZ69Q57UcYE+jlAJQwdhDOttuXKY36RDHN2XDbJpeEjFHcc X-Received: by 2002:a50:f686:0:b0:568:260b:e502 with SMTP id d6-20020a50f686000000b00568260be502mr1262150edn.13.1709986957633; Sat, 09 Mar 2024 04:22:37 -0800 (PST) Received: from ?IPV6:2a02:8389:41cf:e200:3599:7594:d284:9242? (2a02-8389-41cf-e200-3599-7594-d284-9242.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3599:7594:d284:9242]) by smtp.gmail.com with ESMTPSA id es20-20020a056402381400b005667b411c38sm810293edb.65.2024.03.09.04.22.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 Mar 2024 04:22:37 -0800 (PST) Message-ID: <1ee8fc6f-5299-4ba5-bb61-14b4351c0708@gmail.com> Date: Sat, 9 Mar 2024 13:22:35 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Javier Carrasco To: Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: trivial-devices with vdd-supply: true Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, I am trying to figure out the current policy to add trivial devices (I2C/SPI devices with at most one interrupt) to trivial-devices.yaml or include a dedicated file. Apparently, bindings for the same sort of devices where "vdd-supply" is provided require their own file, and I wonder why there is no "vdd/supplied/whatever-trivial-devices.yaml". Instead, files with trivial bindings + "vdd-supply: true" are added on a regular basis. That property is not saying anything specific about the device beyond that it needs a supply, which is very common. Is that intended and no more generic bindings are desired? On the other hand, trivial-devices.yaml includes several devices that do require a single supply (e.g. several sensors), but it is not explicitly documented. Did the requirement of providing vdd-supply arise after those devices were added to trivial-devices? I think that some devices that were added to trivial-devices in the last months could have also had a vdd-supply property, so I am not sure about the rules to choose one way or another. Thanks and best regards, Javier Carrasco