Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2918248lqp; Mon, 25 Mar 2024 13:03:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVXr0IdO2M8B9f2xdqLKHWwYRXC3WNpOdwJr9uoOlHc4GlViogEYDcrfD2AlhIVVvOr5eho7pWJU5RoDZ9M11EPAPjJXYxU3Pew8jkV/w== X-Google-Smtp-Source: AGHT+IEi9JK5nbDYebRSBlq8ndFZBYOk1yV19dt+18f+MV7tCQ3bV5CPwScJajoX5Fat2o8JrFld X-Received: by 2002:a37:e309:0:b0:78a:32f7:366a with SMTP id y9-20020a37e309000000b0078a32f7366amr12570182qki.7.1711397013694; Mon, 25 Mar 2024 13:03:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711397013; cv=pass; d=google.com; s=arc-20160816; b=A8jPndF0+79GKioZVCHCSwDxoTOBEbQ4gUtr08FvLsObXgr9z//pj/KsqQFQwqQOqP rod2sRZUWJtYjDqoj7rKl7w64/DHewdGRzKqDKseC6TNFrfjPpHMujGqCbyv19xQgTyD 2OBO0cf5FDe5OXRYORIOj0HBMVxNK5CI/Ez1U+1jNtWqljtl4Cec+wWsKK3y5OWZYCLJ c0vmVwae14xdLL7VVBIO3lmfUYq3Xp9lNG5OoG7NLm6p2qseFqkHYdwaVtQK8WT1qQ0Y 62M1P7g3BI6bTqjjYpxD3LWLrPFttnj83oeYB8/bFVsyheyYSkUQHqY9HW5DhgSMKXQb x40g== 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=6S8/Z0ZYfA3UwpibszhHRIh0e1eVZX+vgAmFfeoHkFo=; fh=hxCiqTLFXB7cg6hYMfWIrb5iF1ecixg8kUh6QlaQuyA=; b=t59KhB1sSMT0naDVJPU4i6OneyOhXBss8xNiGuwUBADVjGuIcNhCKiYowtV1H4htyS qZ3Li/bIkOa0VIileUgD+1nK2/QocX0HdNYyq/eeGM10A0v2AdLVsxGcVfN7Vs1iRHuu g17h+9CcQ5hFhNpRF1IrySiO9hIzxx7KYQ9B+bn0hd+/5Ao4E4P4hmIt7AeXDU1m9rqG i7mlDJsSwyDMteqtdMgjJ6XR2qNI0O1pLjML/JP4Ola0VIN5HrgCAI6b/IWGF07VTvWT 4ogN3dlRQ0TsuzKxlys7wX2rHfRtUkBpG/cYMDHBHMilrfzAWEj7l7nyRkOa7uAUn3Cb GbaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kmfzl8Vl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-117881-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117881-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u17-20020a05620a023100b0078a51c02637si3833311qkm.364.2024.03.25.13.03.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 13:03:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117881-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=@linaro.org header.s=google header.b=Kmfzl8Vl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-117881-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117881-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 3CBA51C3E193 for ; Mon, 25 Mar 2024 20:03:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C2D73EA95; Mon, 25 Mar 2024 20:03:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Kmfzl8Vl" Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.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 79FB11BC46 for ; Mon, 25 Mar 2024 20:03:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711397005; cv=none; b=EmFr1PsDR+yj7RjKK0JjPpDL5sng7i3PwLCEWoIFFB6QfDC0wZVunngDowMj9TdI7k7lPTchAZ+puEjRBua5a+sLLMTAztljeHaWYXrX6Jpj3yx6C2ozXQhIvzYyg2t++7pMJkfzUSnrQKDWNX0k8kE0w6kf4a3Q7FzSzDDUugQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711397005; c=relaxed/simple; bh=TwMkeWpclzXCBkaal+VQMnS9QReh1wKoO0peqGbyf/4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=WwVwwPqGQYRoILfudl1nSRs3NEsgvATFdIdf0xp4V6KiLrFCKDBr0bzP0YVauE9lJFRsZpjLb0aynQ7zRs/bvAnzkCjP/JRK2hdzALzA/JPoIyiW86KfETua0IcnGrsPmuZiWgaJ7XFAkH6QozxtdbToAbk9+c/jEwjAjlQV5zY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Kmfzl8Vl; arc=none smtp.client-ip=209.85.167.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-513da1c1f26so5997608e87.3 for ; Mon, 25 Mar 2024 13:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711397001; x=1712001801; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=6S8/Z0ZYfA3UwpibszhHRIh0e1eVZX+vgAmFfeoHkFo=; b=Kmfzl8VltZS2zciiyzAM67guln5IbPHcuAP3JfD5a/JeItvSb2y40Zp5mXgXHLb9CC HQ37s0LgqpNVRnMP1OihuWGTuNA5jKcjtH0QZjBRCpLyUS5PPZgp+rg+0hsBU1I/6/d1 OOVPNLQjjFiOhReO9vND900cAt8zBk/bt6UuRDxyPZY4Eylh9CZTGQta25Fej47lHy0A hCL2ub6HMhCwG3y+MkOcxuITuQBgl3seTEgtG3VIX8wp2bfZ7vk51sc0jESATq5IPwhb seIcWU+TgzgTMK/FgppNvUP9djmpelhlp26Y22rIhT8Gs2bS8eS46edFzZ4mfq4GFcxP DVjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711397001; x=1712001801; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6S8/Z0ZYfA3UwpibszhHRIh0e1eVZX+vgAmFfeoHkFo=; b=gb4BktgZD4k0ShhYFTntxs4h5vZsO7lUpnCyGC+eWmDgyA+6CxIdEfRevLX8hJ/+Z7 4QPDxEg0JNwQG23K6MRD4h0VKU60ROEKLH8PVh/DDeLqKiRshJHAGExeyO4TaJxii9WK bAG+uznPgD87baipf+NQyxQ+Zu3rnfQ6DnxYwPMu4n+WOlAUZsRiLFC2p/38K8BJ1OcP F5ZChkTpBv6lPTjpv6Vp+FW+6R1CkV07/l8kov8qjP7dflyGBSmMpWH9cRrO4E5zk2qC HJCu0WZtBir0KkN6Yoag+jMlSsGONOr1TY0rPARREoytseGDmk3KM6Le/xcEwDCEp3RP Q22Q== X-Forwarded-Encrypted: i=1; AJvYcCW6zjUWPS+QE8/DLF6s7Lzqc0/b6cxzxJvO5PCsNXeD2FJy78rv/ahrHmnvQ9ZBlgIk6VAFTu0Lrtg57MpQGVctwIC4xxM/MRI2uNfQ X-Gm-Message-State: AOJu0YxZ9dryaHaWppMyAVRT5+clz1vF2SDnw+VGAVD0krWLna6QVQkw KP/o3q/1vKXQYSNqqg1DuIt+oSVDa3vuFnah/HyjuROdEYj0YVQM2ErPWvpOjew= X-Received: by 2002:a05:6512:44b:b0:513:d49a:7a0d with SMTP id y11-20020a056512044b00b00513d49a7a0dmr5366460lfk.42.1711397001502; Mon, 25 Mar 2024 13:03:21 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.44]) by smtp.gmail.com with ESMTPSA id m12-20020a1709061ecc00b00a46d04b6117sm3385907ejj.64.2024.03.25.13.03.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Mar 2024 13:03:20 -0700 (PDT) Message-ID: <82e54af1-c2d2-4cc3-b8cc-a90a4f74795e@linaro.org> Date: Mon, 25 Mar 2024 21:03:19 +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 3/4] dt-bindings: rtc: digicolor-rtc: convert to dtschema To: Javier Carrasco , Rob Herring Cc: Alexandre Belloni , Krzysztof Kozlowski , Conor Dooley , Baruch Siach , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20240323-rtc-yaml-v1-0-0c5d12b1b89d@gmail.com> <20240323-rtc-yaml-v1-3-0c5d12b1b89d@gmail.com> <20240325160152.GA4035876-robh@kernel.org> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.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 P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RqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 25/03/2024 20:46, Javier Carrasco wrote: > On 3/25/24 17:01, Rob Herring wrote: >> On Sat, Mar 23, 2024 at 11:46:15PM +0100, Javier Carrasco wrote: >>> Convert existing binding to dtschema to support validation. >>> >>> The binding has been renamed to match its compatible. Apart from that, >>> it is a direct conversion with no additions. >>> >>> Signed-off-by: Javier Carrasco >>> --- >>> .../devicetree/bindings/rtc/cnxt,cx92755-rtc.yaml | 37 ++++++++++++++++++++++ >>> .../devicetree/bindings/rtc/digicolor-rtc.txt | 17 ---------- >>> 2 files changed, 37 insertions(+), 17 deletions(-) >> >> This could probably just go into trivial-rtc.yaml. >> >> Rob > > Does it make no difference if the reg property is a single address or > address + size? trivial-rtc.yaml does no specify that ('an address' is > mentioned), and I don't know if it is obvious for someone who wants to > use this device. First, you can answer to this by yourself: where do you have the "size" documented? You will see that nowhere, because your description is actually redundant and should be dropped. So if "nowhere", then your binding is the same as trivial-rtc. The presence of size is defined by the bus, not by this binding. Therefore you do not have to tell anyone that it is address+size, because it is obvious from the bus. And from device datasheet (bindings are not replacement of datasheets). Best regards, Krzysztof