From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f47.google.com (mail-oo1-f47.google.com [209.85.161.47]) (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 8AA382BE657 for ; Sat, 7 Feb 2026 17:19:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770484783; cv=none; b=n1SEIQHcecWR5j2Sc7i3MK6dWlJrhwo2NWVc5St1ggWv08gbEWTqxPQwCwM56Cm8vKF8m54eCBpTvvUi8eyZvLc2ZsKUSF1h+orjEqZZpxRUpk7PaQfUAcc0cqBGhQGHYHOtZmF5wIYIJMLHXzL0e1+7EpRKk3hnEcI8vcmarjU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770484783; c=relaxed/simple; bh=5tSv0K2xPLmp03qZ0ySPg6fhMYjNHkDNBp7DBZrnlwI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=qxYpAOMsszOxKYAELgZg3o79n0od7UqM1IWPESz25zyr03no6KNsK/Z7TPgDhGBH8PgcqNiwpqEpbj4WcaeL2D3HjtO33y92Ro5+qC4s/KCUkrFBMsgBmQWpIaqyu2luq1+D77qpHjfWy/Zzm3FO/DnEVfYqDzdqS2bx/z7S72U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=bFv0bPUA; arc=none smtp.client-ip=209.85.161.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="bFv0bPUA" Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-662f91bba0fso2631069eaf.0 for ; Sat, 07 Feb 2026 09:19:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1770484781; x=1771089581; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=1W00zz5qVNYTH6MgjHmIYO/oSZsXOTum5yin9z3CGMg=; b=bFv0bPUA4Ofv6wEr0EqxOkBc+vmD3AnYnxyA0Qk678SHkvpIeT6265hZHeFxKWvqHB 01AQi+I05chJ8BXxIclTtCpvXTyjdDUDIglhdoIkn2IzXlgc+A4WtlE3sfbQCHcB4P4e e9DWPSGSpzONL2PwMxYgjUej94lrrTfGtO+HtaiuVdK8tnUPLBe53VkTm8HPaJjmVnr9 HKKUhDfweDqql9FQ68HGL5mLyMuOW4IWlwwBNSCcv+Gcchy2/oejnt/W2y7gSnZgKj1Q xd3VHBk9S6FMfPANuG66d6cea1hLt7aeWCdBRykH6AGPjbaQWNNgeHmTFiII45/LSvAx 7DaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770484781; x=1771089581; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1W00zz5qVNYTH6MgjHmIYO/oSZsXOTum5yin9z3CGMg=; b=ZisVQvTEQfGS6EjmCh3Is0MHTEFXil89psCFg9+1CXjLEWTrfJdc4hcxnsa4CAQgVX q8gZNQsIlbiBFpPhRVNzqbT036UifIziqiRDv0dfxjS5IgrS9yA1IRcOBk07Nos77mZj OGYwifFfWxHvmzTtZnAlZ/ylyFU0HDFI/cwoGlYQVKYvpPbVbY5EEarHK9b4W90pu34M kWgFrvxee3herW2pVMwezivN/x9/rdEcTf8b6QGYTlPIDx2tm3MAF6cnUaSWI073eAk0 6J5oxFkSkqQu6b/Ki/gtzKd9Ru1TVsq22DDxYt8BrjerYjbTc2KQkJTqAcWkPUbfFzia Bl5g== X-Forwarded-Encrypted: i=1; AJvYcCXQo1QuT5FK3YWelCGiO3sBF6aq4YMIeAQKruLEbpSwYIZHW9vrJjeXBaJI1ZD2Xzz46fsE3BrrDi/tLA==@vger.kernel.org X-Gm-Message-State: AOJu0YxSYGtFr2dCAvf/5ajmsgUJvYaCvGyach+ZfmJf8FjTBnJrPpVe h26UAQBrcGbiQvdpLGwVC62YOxdmvz3ITaGsyFdSOwTRUJbdWPq4hDxAfqv7tvNRoVk= X-Gm-Gg: AZuq6aJOT5Pd/vAZ0Er88aCkgySKGcTPfFLqvoGvfc3NSUzm03DHCVptvdQ3E1VYMc+ 9cNxHMd1SYqyAarCvGAQFLTIFDZUImRKBzFr2ryon2uyOoQmJLJPiQnzTi5QChpHEAKCA+92ZSu 8iS8/RdwxUEs8Z8+RlqSPyiaQrBFYua/EVRzZwjf/gfPpHLL7T/M8K2hORYWWGzTGMBUES0Wusv L9qtGpSofYxH0Pu8C9PtX8rkUEKe2ubRBTWSl9lQUTReS5C1ClRn23cpX+yGxbkuwE8lWejuzQ8 glyEH9ok7OMe6hxPTnKlV9JHEnzhQNxyi25Bpufq+5OdamEdFvL/3CVe7/4TxJPPeYeXVFiSG8n kR+8hZ1M7uQys6uX86HbQLb0UcEMgnZo0eRsGrFhZVDV//4OS1nKrfSR9seYbToDP1Hfg4lPOXi V69B14pSLtUI8eJVnZUhpViTRawHeoPDs1GPLbcTw5666SrWD22CZd9n8D45DV5pohhgMCdQ== X-Received: by 2002:a05:6820:3101:b0:662:bffb:41fc with SMTP id 006d021491bc7-66d13059c28mr2419479eaf.15.1770484781465; Sat, 07 Feb 2026 09:19:41 -0800 (PST) Received: from ?IPV6:2600:8803:e7e4:500:74a6:843b:f33:21ae? ([2600:8803:e7e4:500:74a6:843b:f33:21ae]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-66d38bdeed5sm3004756eaf.4.2026.02.07.09.19.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Feb 2026 09:19:39 -0800 (PST) Message-ID: Date: Sat, 7 Feb 2026 11:19:37 -0600 Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 01/11] dt-bindings: regulator: cpcap-regulator: convert to DT schema To: Svyatoslav Ryhel , Rob Herring Cc: Jonathan Cameron , =?UTF-8?Q?Nuno_S=C3=A1?= , Andy Shevchenko , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Lee Jones , Pavel Machek , Liam Girdwood , Mark Brown , Dixit Parmar , Tony Lindgren , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org References: <20260206172845.145407-1-clamor95@gmail.com> <20260206172845.145407-2-clamor95@gmail.com> <20260206230922.GA254792-robh@kernel.org> Content-Language: en-US From: David Lechner In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 2/7/26 3:20 AM, Svyatoslav Ryhel wrote: > сб, 7 лют. 2026 р. о 01:09 Rob Herring пише: >> >> On Fri, Feb 06, 2026 at 07:28:35PM +0200, Svyatoslav Ryhel wrote: >>> Convert devicetree bindings for the Motorola CPCAP MFD regulator subnode >>> from TXT to YAML format. Main functionality preserved. >>> ... >>> +properties: >>> + compatible: >>> + enum: >>> + - motorola,cpcap-regulator >>> + - motorola,mapphone-cpcap-regulator >>> + - motorola,xoom-cpcap-regulator >>> + >>> + regulators: >>> + type: object >>> + >>> + patternProperties: >>> + "$[A-Z0-9]+^": >> >> I thought it was said on the last version to list the names. Considering >> you already have them below, better to put them in schema than prose. >> And pretty much all regulator bindings define the names. >> > > What exactly do you propose? All those names will not fit into a > single unbreakable line (more than 125 columns in length btw). Patch > checker will complain about this. Duplicate pattern properties for > every few names? Please be a bit more specific. Thank you! Making checkpatch happy is not a hard requirement. If you have to go over 125 characters for technical reasons, no one is going to complain. I already gave an example on the last version. It is just a regex expression. (And note that you didn't fix the $ and ^ either. ^ means beginning of the line and $ means the end of the line. So the pattern currently won't match anything.) patternProperties: "^(SW1|SW2|SW3|SW4|SW5|...)$": And I hope it is obvious that you are meant to replace ... with the rest of the names separated by |.