Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2681053lqp; Mon, 25 Mar 2024 06:32:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWNeYUA6F4bluB59e+c96lbi+imcCy3ibC5RC8okbMs9fffcbd1f+x//iNN2rNcDciRwrI19wY5So+QkMMJtdVv+mBrDC4yjBZCkJ/1YQ== X-Google-Smtp-Source: AGHT+IGASWqVQLQhso1AOFRajfNSgokME5fbl4ti93HW0HgslZosPE3X0fPnt0bnq66XDOrA5WHB X-Received: by 2002:a17:90a:a404:b0:2a0:1167:bfea with SMTP id y4-20020a17090aa40400b002a01167bfeamr6466653pjp.5.1711373563254; Mon, 25 Mar 2024 06:32:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711373563; cv=pass; d=google.com; s=arc-20160816; b=cjZ1KYE1ResnZgcDS/+PnK8u9Uqle2ZqUre7d7U6sj4Wq0BJuQd9H7tKSkmSnhpBsI yAIBCqIXVWiKAqkSCH8C7c4S9IdRyMrYls/WPZmIdg4/D2pWJPbfCdGFTbgEfa8LhTzU ytfWnJYL1+Zu6r25h981Z6XCxQdClS+EG854hMNDwbULtnyxlpbdK5S9roz/hoXliEAZ 7zDhVXP88Ekn+KztKyNebLPZDqpX2U9dbjEuoTChXa8SaSr8wDnXHaNSVLODJ65x8bOo jbpuPhspe9jabMOQAfJmsdYyDbpTccKTj37XCrhM0DdbFnEzRyDGJ0r5TMfazLI7WOVh bdgQ== 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:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=sRcw24H+eEd2o8dawE1NrByO9xOiirb5r/19YAQxH0I=; fh=NIr3VFtlS+jvY9kf2SB0bSiFDOPUW4GkBu4r2LVdt2o=; b=gGRKrGstVOkPV1f8QrH78JTf/7ObTXOnuRHjLk2m8+3S5szehJG9GaxcuSVCWd2b3C p9zlwmIEtNM5UV+CSPwTdu1pw7q1q/fw5B40s6R0uraKIH8dGN60zUowF7KhqZDr88Bp CB/qtqqdXc7panL0lQxnyZjS2xAwcIpkd8DbgNs+wTe2AiYqgT0UzlDXlnSS/B26WW/U eU4KqVhYb2myIeK9n4YzMCzZbe9wFhjClQIt4chgD4wAiM5ypBELDPHMJBbrhDgjoU8F 2Qx7APCZqZUg/CcxRjKp98RyLaIQFtVuq+P6W063YwpU0K7dkgQcMIk5hQVW9RGVvhFi Ni2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UmAQilOI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116661-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116661-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k9-20020a17090a9d8900b0029bb0c14a42si11382756pjp.15.2024.03.25.06.32.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 06:32:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116661-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UmAQilOI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116661-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116661-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id DE3B22C5A79 for ; Mon, 25 Mar 2024 13:32:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 289901B04CE; Mon, 25 Mar 2024 10:21:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UmAQilOI" 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 B1E7D405F7; Mon, 25 Mar 2024 07:42:01 +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=1711352521; cv=none; b=H96ucAO8Pg91tkynXbAyeGgW9AzlyhTD9l4OMHbCvL18iegJzj64KvJApBjL0E9g38VZddGeHwb9j1V1LCnGutH8oF2XMfxgUislJQM4a87Lx+SI2jm+hG19/bry2Y04UETar7ANfvwucmMreGRwDuA0cz2DtH6NS6G6f7LiSuU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711352521; c=relaxed/simple; bh=N+vMH/f1xAXLVOKF99Y4U/9AS89sQK5rmWtLu896KM8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YK0rXXb6soVsHXcHRCCS5llDfbfyeezeNAAwO7RqE1Ghn+G/OG0fxuHMxqyf3zhbc1yLn2nfUKCAiv19TT2a1+2aqTPZqHzSoLMMK0mMEKMpHcU+DpTg412SlvGSeepHy4IgLo7MCKc4q3wlfNMiGuEPVRVKQEnzhTREI3qFrYw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UmAQilOI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC5AAC43390; Mon, 25 Mar 2024 07:41:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711352521; bh=N+vMH/f1xAXLVOKF99Y4U/9AS89sQK5rmWtLu896KM8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=UmAQilOIsFUQQVhgyRbu8YOTIo0YS7W6WUCO0hGqWHSkKhm5abI3a5iCyhBnwhJwn u1Zwnb23upldTpQruwHW9m4q148XU6o2BMy6hrCM1km45zriDhsi9NLJtkl2Q2joJO zPefjc7UqZrYRFa3mX7hMIT2USEDHyeuFF3dPBm9ApD3IBBh6tZVKhEbbn3J/taiI0 xC3UKk7TD9OcBUDy9ETTLtl9515DFYddVy7i4TBrQHh6h01RVxBjbVTBM1g5W/Bphn oy8c8RcQR4/4kQwReBPRF14ZMLUiGs3TqXgmfVf0ECtKIDD4BHGWSdy3JHILNPhRCI DlrQB9JK1p4Wg== Message-ID: Date: Mon, 25 Mar 2024 08:41:52 +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 Subject: Re: [PATCH net-next 1/4] dt-bindings: net: dsa: realtek: describe LED usage To: Luiz Angelo Daros de Luca Cc: Linus Walleij , =?UTF-8?Q?Alvin_=C5=A0ipraga?= , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20240310-realtek-led-v1-0-4d9813ce938e@gmail.com> <20240310-realtek-led-v1-1-4d9813ce938e@gmail.com> Content-Language: en-US From: Krzysztof Kozlowski 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+ gZaEIYSw2Yf0e91U9HX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, Luiz Angelo Daros de Luca wrote: > Hi Krzysztof, > >>>> >>>>> + >>>>> + patternProperties: >>>>> + '^led@[a-f0-9]+$': >>>> >>>> [0-3] >>> >>> leds are already defined for a port. I'm just trying to add a >>> restriction to allow only 0-3 leds and use that to identify the group. >> >> Where is the restriction, in your original patch? > > I tried to limit the led index to [0-3] (from the original > '^led@[a-f0-9]+$') and reg also to [0-3] (originally not constrained). Where? I asked where, not what you tried to do. I don't think you tried to add any restriction on 0-3 leds. Best regards, Krzysztof