Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1438038lqe; Mon, 8 Apr 2024 08:54:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJEgur3gB0DZnFU/IuynJ886SLt/yG66U3t9MlFXjtKUn9RhyfDUXHR/PxmxlseCZr3UUt8FZr/XqyEHDUjaZjmxazLSsH31S0FusK0w== X-Google-Smtp-Source: AGHT+IGbdMB5brl6iYEn7YKHAugRHh/6afKSSWfaOZPWx1x6/180IfcDPPOFx4EcAeFyEpX73SgW X-Received: by 2002:a17:906:7115:b0:a51:b58e:be94 with SMTP id x21-20020a170906711500b00a51b58ebe94mr70285ejj.20.1712591669276; Mon, 08 Apr 2024 08:54:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712591669; cv=pass; d=google.com; s=arc-20160816; b=Flqf8K3tPoWiN3DGj42XgG2h3xJtLjeTAzqywg+0y7IjbTX05KhrqUQmj7/1G68AoQ 9VQ/MwKFPCW3M3y8QI5G/zufXIZmWmB33vUxPEbn9kbYZIFBxuvRGesIyRYlkpm6vLTB o7QMyWF5Ibx/Y2H4/Tt6lskKZNIq8HEIBjkjZHu6+vHfWfgVwQ5yxJV9m/xJoen/Zol+ CTh1YMdHXwZcIi7VNp1VQUJi9lr5eUfrBpTLHCMZsshYvKFzBOD9Q3ppHTinI1D7nNnX B+myqcB1jkRHkWZvZX0nHt1XIbQnQ/fyFv1SMcMiwiJgncrC7hIqTF4ORAxIQioGFVcs b3iw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=pSuQkBcadOBIFzAv5VWT53mPgt24650g8Yc46Jnu+po=; fh=zEF+JgUEL8EjX/HDH9V/Y3MDLwCv+pKajBPBfv3xu1U=; b=GrUDYVmfZkOrFTOFmM1ZvHdUhqfqXkeO6uWqmoaJJKrV8+P71tuT2FK5XpiIEk21ja vVCeE8FLTCMTVHdxqe3P6Opnskpoets0JEruey4dPWnjsp46IbQyiruZrgcBwBJVCW/Z PY8EMvwagaJgV7Q3eTg5iQdYQK2PWGjqSpBNy1pMZ5Geyzl1t86zxEMMvkfsXqEorL3y KT/ERxMVTenuRJmprzOlgVwHC7JfWRjximQNGTflkk72dpvjKtCElhgJjw1aPDbj+m82 DFz2TZWSYj/tGyjVAh9bTcqvkiDPshNQMxCmJ3nc4Ca/X4bO3+s5pZc2MPWIHAikBXPO qifg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QIVSv8E+; 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-135634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ne6-20020a1709077b8600b00a4e5b927e5bsi3934457ejc.929.2024.04.08.08.54.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:54:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QIVSv8E+; 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-135634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135634-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2F98C1F225F9 for ; Mon, 8 Apr 2024 15:54:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B706142E79; Mon, 8 Apr 2024 15:53:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QIVSv8E+" Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (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 CE0BB1428E4; Mon, 8 Apr 2024 15:53:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712591601; cv=none; b=F1mdGt34e2Ag5/4oNQDUk2p0bdORQM8MC/+Xnc17XVU0xgPFe1i+oNf7frhVwgXvsciA6BaMlpN8eeMDhimELqkA1C+WkmmN8pI+Sau5o0C+Woqa3ipXlNIHLK4xKx3a+E+qDjCvLFBuPKwAS4lJT5wkXe1AJYqnmi3FV1xj3Bk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712591601; c=relaxed/simple; bh=zOZomgntzrvpzwsWCTBIKhRP00SpDrEpbkluseuFse8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aqrkgxQ1uRKAvze3KPmXQ6Cyr9nTUyoVxeRG+FlfTB3E6+9BBsiOivSACZXLIxB50rCbadpvXDqnCw1n8bGRaSgDOk6orOqCAuSCK0gPYc7MXINk0oVHNFRNIXELWuURKGQqU/9It95Gw4DyosJokKpDn3zQdPvSwar7wdBBSeo= 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=QIVSv8E+; arc=none smtp.client-ip=209.85.218.41 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-ej1-f41.google.com with SMTP id a640c23a62f3a-a51c6e91793so268157966b.0; Mon, 08 Apr 2024 08:53:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712591597; x=1713196397; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=pSuQkBcadOBIFzAv5VWT53mPgt24650g8Yc46Jnu+po=; b=QIVSv8E+fijgfp+I7k3s31NcgFtuQCEj9b/p/n1ijJkb+dpyjKs3d5um586sTpalr/ mAxh8799Gu54oKIvqiME3eMwR09H6AFp6KlB0uUPfr7i7LxcHNl4syijOl+MqLlxbz97 tjKl9faPBIsW4wCJ4jwXwvTyaikJZqFvk6I/VgbafPdoSkV0ZwvaOuJK2FiIqub0zo4v hHUzfN6BRgJAvM5yCbIEX6vIvO73iNBTwsqwoW0FYTQn7dF1+MQf7YoNfL/vB1ZdUdut rcQB8RvNpSrVgA6JkE18/wbI6zhhZkYdet0aLhVQebPu+/4R0xp4MwPSXM2ZrxobhjQz 2muw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712591597; x=1713196397; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pSuQkBcadOBIFzAv5VWT53mPgt24650g8Yc46Jnu+po=; b=mfG3IaYpQVgyIf0ZR0NE7ScW9Hq3M68Rr4ROra/UrChLGqTw05pbDhE1WjU4Fyxa0g 1P99hODo+d1S7dwipWb4m+hfHbdPc7OG/atds7bh3/kaZD02gb4FwzKjLahqYdt7A44z tTIlcezlnMdmDEmpB2rjciVHPvriNrK4Ssv6+dANbG6KaBZ2IjOhIP1ewS3Eya3UjKJa lAWEXUw7BYet0yI0gy7C2pwrdH1nDRM65HhA3XxraPhWNs+iEzUyYXf9ihDdKLfjmISN FIFTh4DCi+crwifbDY4njo92lOgn08t/L/wwxT1pM1QKro+ZjRW5dM1tHRANitSLb5jm KjHA== X-Forwarded-Encrypted: i=1; AJvYcCUTseK8Eloi8CzyYwD/DwL0AAJ11DND6OLLc1sPUuqoWlXflGT1d7+ik/SWYo5sUg0eLER94hOhYlfaTVgKlsm5v2gd6CMMQKdPiaKpSicq7jUXhSc49ewzsMYa160Do2UiZTTXMKPh8w== X-Gm-Message-State: AOJu0Yxc7pG0QFyhjwQeLNnR9fU075FtQNsviKttLEo+UnR+Z8oo0Uej RSG+gDUmX4ozsqrvRmMhDauaBtqzTDKPO8BciO/vQWlLeogK6b5u X-Received: by 2002:a17:906:fd8d:b0:a51:e188:bced with SMTP id xa13-20020a170906fd8d00b00a51e188bcedmr48379ejb.37.1712591596913; Mon, 08 Apr 2024 08:53:16 -0700 (PDT) Received: from [127.0.1.1] ([213.208.157.67]) by smtp.gmail.com with ESMTPSA id l13-20020a170906794d00b00a46a2779475sm4547849ejo.101.2024.04.08.08.53.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:53:16 -0700 (PDT) From: Javier Carrasco Date: Mon, 08 Apr 2024 17:53:04 +0200 Subject: [PATCH 4/9] dt-bindings: rtc: maxim,ds1742: move to trivial-rtc Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240408-rtc_dtschema-v1-4-c447542fc362@gmail.com> References: <20240408-rtc_dtschema-v1-0-c447542fc362@gmail.com> In-Reply-To: <20240408-rtc_dtschema-v1-0-c447542fc362@gmail.com> To: Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jiaxun Yang , Vladimir Zapolskiy , Joel Stanley , Andrew Jeffery , Maxime Coquelin , Alexandre Torgue Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-stm32@st-md-mailman.stormreply.com, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1712591586; l=1594; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=zOZomgntzrvpzwsWCTBIKhRP00SpDrEpbkluseuFse8=; b=VG/4RZspITvXhEWAGam4EeebdbdnRgZkL5lRkdQjPLh+WlxRCuzFnJI7lPUjmco9VoyuOiVXq akjKl/hvaUaBliOoiWRR9Z/+c9DEfQXxUVCqUVbp5NFNzefeTmLd4wH X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This RTC only requires the compatible a reg and properties, which makes it suitable for a direct conversion into trivial-rtc. Signed-off-by: Javier Carrasco --- Documentation/devicetree/bindings/rtc/maxim,ds1742.txt | 12 ------------ Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 ++ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/maxim,ds1742.txt b/Documentation/devicetree/bindings/rtc/maxim,ds1742.txt deleted file mode 100644 index d0f937c355b5..000000000000 --- a/Documentation/devicetree/bindings/rtc/maxim,ds1742.txt +++ /dev/null @@ -1,12 +0,0 @@ -* Maxim (Dallas) DS1742/DS1743 Real Time Clock - -Required properties: -- compatible: Should contain "maxim,ds1742". -- reg: Physical base address of the RTC and length of memory - mapped region. - -Example: - rtc: rtc@10000000 { - compatible = "maxim,ds1742"; - reg = <0x10000000 0x800>; - }; diff --git a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml index d6ce7ac29033..710b096fe6f7 100644 --- a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml @@ -49,6 +49,8 @@ properties: - isil,isl1218 # Mvebu Real-time Clock - marvell,orion-rtc + # Maxim DS1742/DS1743 Real-time Clock + - maxim,ds1742 # SPI-BUS INTERFACE REAL TIME CLOCK MODULE - maxim,mcp795 # Real Time Clock Module with I2C-Bus -- 2.40.1