From patchwork Mon Apr 8 15:53:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13621335 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A79DBC67861 for ; Mon, 8 Apr 2024 15:53:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lAt2VROytaX0IvpnRSIOqbyPJAqkJJrvJ4IcSc9O2pE=; b=XYmJ0jYJry4GMU 8UfCbOAEbuvPUyAGxgR6s2E4jGR992VNznlEXdd+I10AdTV0lt2ceQl7QyUQHRMDxCBx3KADvYHKM SBj6+DRRHCSBzvaCDEF7n2keROSjzA4qMboKF5IdIcfpD+pCm63HbxImv/ib9KBYRe7p+8FMDYj5v 8lNIBsCHW0QFkZU+6VZhhdBhwZrndc3AYUZSM2PnlkgCRRz6DftMC8pQ762SK+mdOX070nRPB7Z6d yEFLpWrlnLlwY1ysRumj+jZq8tBWgbm9mwNzitqkLxJMUcj5UPml8KFWC2NqACcCT5X3tnf1FMb9W kANbSKQQWp8cFKsP4F1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rtrJB-0000000G5rE-2Apg; Mon, 08 Apr 2024 15:53:21 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rtrJ6-0000000G5nG-0TGP for linux-arm-kernel@lists.infradead.org; Mon, 08 Apr 2024 15:53:17 +0000 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a51d83fafa8so132011466b.0 for ; Mon, 08 Apr 2024 08:53:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712591593; x=1713196393; darn=lists.infradead.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=FaDQO9exJCzRg/8lU1QpCZomsB1mdrpwg8BXuiBSkkw=; b=CzrxqN3kAr1BwJEz1jO5M83lJF87eCGleDSslJGmy+33dbdfA4eIipZWt53O/4aopo oxSb/ITOAAtZrVUYW8oMttrPik5kcnR1BK5aRSbudvvD9iSBebU/TX9iACaPUfoZn0ia 66hChyy746zIXE3JemrdXenGnf10cxwMfohHcvcBkDJCCcXSeSrLX2mXnuYoShA0bs8r 63v9lf+wSd/+PfPJXB7uWMsL08Ny2etdjE0yA4647D/WNlSbZojQ6kw0uA9Kd+ZQtOxC Z7+OzDOTH87Dri/fWB2ZJv0BBg6mQaJw1nctt1AE0W+9IDS8jsT0XHWVFush5K4H+aEG Pf2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712591593; x=1713196393; 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=FaDQO9exJCzRg/8lU1QpCZomsB1mdrpwg8BXuiBSkkw=; b=r9PmFpJx0i12w0mu6cQF046SBo0Tquh1Jl8seNNlbcrPjSLFBZeWz5tRN3ENq2y4L7 tpEfLsgX2oCY6Z3fhlo27PgEKctBE5wQpMjBzAAFO8cidS+VQ0Jrm2sxd2wTYo1DhWbH rp3iUrhq6K9GbvfuOUItvOjp0cFSWvdjrhKpe6UlPxwlxHtpd/HLEyqDKUD/napY/j0O oANx7RiYP4y9BZ08UvKGiYxuz3VBK2PKTZEer3YgjCgpJMML9jfI19a9/zbG8K+S1dnP 8VIwsyHvb5t4P0kswVIpS/W7U0mhWyE53ab9xiFTTV0LQgA/NqmGRdDwyOOAj5iXQQ8v eSTg== X-Forwarded-Encrypted: i=1; AJvYcCWgBocaw6ZWpTa6r3sloy4UpDwkaH+yOhv9yvqkjuV3ihmxqcPLHvBVkvbBoDMrwDqq8tLOnOb7CI2uHhSz8Q+wilOcZwCPQAAuagS/Ff5EtsZ+f44= X-Gm-Message-State: AOJu0YyfJeun8nUllrroyexAF29RPnUePtirGF5A3jBqeRgnfiA1OE09 L5BtFxIQz+Q2fXYGIexgfQy0ej13drtnSzMH9f3GP57GUAyuChDK X-Google-Smtp-Source: AGHT+IE/brPz33bAyXkLLx9/3k7uLX80nlW2dTvsRmtq/VzJ5UavkRJXVX2o3jP/+Rc4Wx3RPpCuEQ== X-Received: by 2002:a17:907:e86:b0:a51:d204:d6bf with SMTP id ho6-20020a1709070e8600b00a51d204d6bfmr3422101ejc.10.1712591593166; Mon, 08 Apr 2024 08:53:13 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:53:12 -0700 (PDT) From: Javier Carrasco Date: Mon, 08 Apr 2024 17:53:02 +0200 Subject: [PATCH 2/9] dt-bindings: rtc: google,goldfish-rtc: move to trivial-rtc MIME-Version: 1.0 Message-Id: <20240408-rtc_dtschema-v1-2-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=1751; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=yqX/w81Ycb9hVyt/9HQKZXov7UsFMLnZ7nkrSKxqels=; b=nQu1d8ztJV2beU36YHMkXGrFhsTXDnsy8WQADo7Rpyj2BA9JfhN+W+nzzj5SHdSULv8HsoK8G JkFOsCM6XmSCJFwYt5mlM9kQzi2tSTNFnTOAjB50Z0RwcSmfJ/9+RHz X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240408_085316_228905_BCF04367 X-CRM114-Status: GOOD ( 12.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This RTC requires a compatible, a reg and a single interrupt, which makes it suitable for a direct conversion into trivial-rtc. Signed-off-by: Javier Carrasco Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/rtc/google,goldfish-rtc.txt | 17 ----------------- Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 ++ 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt b/Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt deleted file mode 100644 index 634312dd95ca..000000000000 --- a/Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt +++ /dev/null @@ -1,17 +0,0 @@ -Android Goldfish RTC - -Android Goldfish RTC device used by Android emulator. - -Required properties: - -- compatible : should contain "google,goldfish-rtc" -- reg : -- interrupts : - -Example: - - goldfish_timer@9020000 { - compatible = "google,goldfish-rtc"; - reg = <0x9020000 0x1000>; - interrupts = <0x3>; - }; diff --git a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml index 5e63c8f7f618..b889b9317a41 100644 --- a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml @@ -41,6 +41,8 @@ properties: - epson,rx8571 # I2C-BUS INTERFACE REAL TIME CLOCK MODULE - epson,rx8581 + # Android Goldfish Real-time Clock + - google,goldfish-rtc # Intersil ISL1208 Low Power RTC with Battery Backed SRAM - isil,isl1208 # Intersil ISL1218 Low Power RTC with Battery Backed SRAM