Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp213432lqt; Thu, 6 Jun 2024 01:01:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWpcuwaqxe+uW2Em7lIEpQH9WfW2iZRbPzDjdpCEhNWBNDEXcJKr/kXBipeNcKkYv/FlO4FuIWc/rXUrPBNQPRvJROwLJROl1hjZ41JTQ== X-Google-Smtp-Source: AGHT+IGPgWj+iTFoh4kOvONmoKjAA4ORkuIWZFNBePZdGL5jfgOEfmmDOi2UlV7suJFY4TqZxcoA X-Received: by 2002:a05:6358:2810:b0:19c:277f:ef37 with SMTP id e5c5f4694b2df-19c6cb1924emr587433355d.28.1717660866013; Thu, 06 Jun 2024 01:01:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717660865; cv=pass; d=google.com; s=arc-20160816; b=nDFN8C/U+9FDRd6gvuYa2S09du9eGWyMpvKp1UA3mqmrtxBAlQObZIC2yFTeKVyg2l XwvLS+RH0V6Q5mIY6TuOkW/vpgKs/cZjV6A92ASpVaOCa0cAT+LVHm4d+lo3AeQCykx9 atG+AzJ8JDzqCnAaW5LFO+K+xX8hkFBOwMlhTCRxjIOEpKRBfovl+Hh4P1EqTq/OJGpV K/9JS8g1xc9po83mIYp7F+E7EkzscBvgQWhVd+KVZcT1tutL3nSkHJvdG509DKHTIkUm dP2jTez0+nCaYPOqVBWdqUw3VpsViS4ptVyt8guI1xxl2ckWgJ2aC+OLary/bSxe2MAl fvTQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=yWSX2szwbizmwZVPQ5zAXVcMFfJHn1cip4oDeNf5DbM=; fh=3QQANCb+vpGS4d+oBw753yKaEAnf4mIaSIm96HLzdHU=; b=t0AkYlnoQ5boKCZ9wPsXRn6Qh6M2s/P6l8iP5DUtnk+JS8Vvkont5xMcKpW4DE1yrI 0twGjW5QNxflwDmRiBushUvB2yU3hLgxV1XEgt+85iARaL3+wCHcFbuqbZKPFgEYafeX gt3SPAzTs7Mn1CvvdjRqfx29c09AqLIh+yv+ndPBEEAQ7L7AtW00fX3hlVP7MiQ4oJH9 wpIvRk96XKPQgWaxBaZe92/UO2PmCgD4ZQe/E7/jYUeehhMgo/YngRNqQr4ejf5cTfk8 +RjoeG/jEhtC3Vj3cdN6f791K+U7e1dC/XZV88HjOqOvOeHPPEiqgUjjG5SKvDdsk379 CXkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tjglZtQi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203779-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203779-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b04f966e40si983196d6.241.2024.06.06.01.01.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 01:01:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203779-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tjglZtQi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203779-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203779-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 B78CE1C24419 for ; Thu, 6 Jun 2024 08:01:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D793213BAFB; Thu, 6 Jun 2024 08:00:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tjglZtQi" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2A3D381BA; Thu, 6 Jun 2024 08:00:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717660856; cv=none; b=g0GFI+eMFPh5upH3PiWpbmRqxUtGyhU9F4WZqKwupMPYrxB3gyjiovYeeaLABtRTGG9Ji9On/1xtr1WOCLRQLfHtJ4Bes61AfEE2HICV3Z36MUAwFsSIUoLmNgN3J3caYA02ko6BfyF9RQ+Ea99XQo9yET+2fAnyzp133FNZh3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717660856; c=relaxed/simple; bh=UTY1N5Fnet/XyFyc9fK8WiEH3EI4DtrZZiiMZON2LLA=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=MhJrBowCkXBG8UYM/AGbVPPheEb1NH9hmYIvgmm7pb10S+bceRBAU94iUkZ9FdlccYxfnDOqFFvr1jQR13VZ2ODr2HY+lhtV0jMa6134eLosjqRuLSSGM0V+qihgkDrlnaD5GfhQ8d1HJqEJuRZUTRQo0WGKhbn4/YXcEVousnM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tjglZtQi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D388C4AF08; Thu, 6 Jun 2024 08:00:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717660855; bh=UTY1N5Fnet/XyFyc9fK8WiEH3EI4DtrZZiiMZON2LLA=; h=Date:Subject:To:References:From:In-Reply-To:From; b=tjglZtQiPRl+RCLkVbDzuuquWgjcgSVVOv4ntj5hygUbf0jK8rFy5s4DSgV23SKfa TcZDPdemmZhVZI43/hrMRrBHLkJRAb0oI0n94XHOOm+2oPfi0SyeGhnh6WDtondeBW wovewimSysVC3i7MUIFXibTTUkPJnkaZiksxi/zqG2m9II18qXGpPf8r0LBB1NzhJ/ JbVzty3EA2/woOCCPiZd6w1aDz0TuaW1dNM4xcrkzZxDKb0jLot+o7VHT/wqogfkvg +biL37jY07TcxMtYcHk/Lyh7/rGopN2t7Nta2tFEsTCbWSAUIF4wzX42LGW1VFWaOJ 5Bkk3J4jQqqTQ== Message-ID: Date: Thu, 6 Jun 2024 10:00:51 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] dt-bindings: regulator: twl-regulator: convert to yaml To: Andreas Kemnade , lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org References: <20240605081906.134141-1-andreas@kemnade.info> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1InemMAmuykCHl+XgC0LDqrsWhAH5TYeTVXGSyDsuZjHvj+FRP+ gZaEIYSw2Yf0e91U9HXo3RYhEwSmxUQ4Fjhc9qAwGKVPQf6YuQ5yy6pzI8brcKmH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P/h2Iwv6nw8U+7Yyl6gU BLHFTg2hYnLFJI4Xjg+AX1hHFVKmvl3VBHIsBv0oDcsQWXqY+NaFahT0lRPjYtrTa1v3tem/ JoFzZ4B0p27K+qQCF2R96hVvuEyjzBmdq2esyE6zIqftdo4MOJho8uctOiWbwNNq2U9pPWmu 4vXVFBYIGmpyNPYzRm0QPwARAQABwsF8BBgBCgAmAhsMFiEEm9B+DgxR+NWWd7dUG5NDfTtB YpsFAmA872oFCRRflLYACgkQG5NDfTtBYpvScw/9GrqBrVLuJoJ52qBBKUBDo4E+5fU1bjt0 Gv0nh/hNJuecuRY6aemU6HOPNc2t8QHMSvwbSF+Vp9ZkOvrM36yUOufctoqON+wXrliEY0J4 ksR89ZILRRAold9Mh0YDqEJc1HmuxYLJ7lnbLYH1oui8bLbMBM8S2Uo9RKqV2GROLi44enVt vdrDvo+CxKj2K+d4cleCNiz5qbTxPUW/cgkwG0lJc4I4sso7l4XMDKn95c7JtNsuzqKvhEVS oic5by3fbUnuI0cemeizF4QdtX2uQxrP7RwHFBd+YUia7zCcz0//rv6FZmAxWZGy5arNl6Vm lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <20240605081906.134141-1-andreas@kemnade.info> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 05/06/2024 10:19, Andreas Kemnade wrote: > Convert the regulator bindings to yaml files. To allow only the regulator > compatible corresponding to the toplevel mfd compatible, split the file > into one per device. > > Drop one twl5030 compatible due to no documentation on mfd side and no > users of the twl5030. > > Signed-off-by: Andreas Kemnade > --- > Changes in v3: > - define regulator stuff in toplevel > - simplified regulator-inital-mode > - extended example to contain both regulator-initial-mode and > retain-on-reset > > Changes in v2: > - add regulators directly to ti,twl.yaml > - less restrictions on regulator node name Thank you for your patch. There is something to discuss/improve. > + > properties: > gpadc: > type: object > @@ -69,6 +116,26 @@ allOf: > contains: > const: ti,twl6032 > then: > + patternProperties: > + "^regulator-": > + unevaluatedProperties: false Drop, looks odd here. > + properties: > + compatible: > + enum: > + - ti,twl6032-ldo1 > + - ti,twl6032-ldo2 > + - ti,twl6032-ldo3 > + - ti,twl6032-ldo4 > + - ti,twl6032-ldo5 > + - ti,twl6032-ldo6 > + - ti,twl6032-ldo7 > + - ti,twl6032-ldoln > + - ti,twl6032-ldousb > + - ti,twl6032-smps3 with that: Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof