Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp320142rdb; Mon, 22 Jan 2024 05:26:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6/rwrOyv1LB/OMaGGLMnAvVgxdKGex1MVvL4yAXHhm2/Gks8ONvOb9eUYZk7hQfG5Xny0 X-Received: by 2002:a0c:b4ca:0:b0:681:96f4:2455 with SMTP id h10-20020a0cb4ca000000b0068196f42455mr5703378qvf.51.1705929966750; Mon, 22 Jan 2024 05:26:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705929966; cv=pass; d=google.com; s=arc-20160816; b=RysvVDxUcCH8hCYnpABCGVNoTYmA4EsjCKw3GBv3/mMvqT+/8+22+ZI8opNtNBjc++ hLNAN5Vbhp3Cw2Oj9Evx6ka7Mbhf1LYQP+cXfexwVU+8exRLCL8CYpjKZFkoVseiiQJO T45kWiyG5AmDgZNEH8TQOCJ3cgB3LLkb8MB1naN4FlG+ect13cPEdRC1/6qUS3D8gC2N A3rjXgd6ywyIFTGxmq/yBd5XeTodGe38+w7s7dncUGB1Fct4uQdZyOVUhqVMpW7+MsEz 5kjbJw4qrYnCfa5GMiUYpxVJ9rz/y93Wbq8luQDnFiTKkJiaWv/0YnHf/K2WyRT6N97m zRZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:from :dkim-signature; bh=YH8oe3j90TqC6EUcRLoZewEzXWg7T54K4/yaoqW2dG8=; fh=tqq4L+Ms9F1pEV3iaIzu7p7MR+pvMocYSv4Dgym+PFQ=; b=A+DDrjux3p1X5Snkjh2wVWEoU7D3BdGdIKK5HoXhhBeY++ljaMo+6FiqKSBX9ju258 6JQRztugv41xlNkP8Kw4l0llhryQrJHq60VIQCdXt+FTx9suAvk1ah9cEpS1EHHiOcFC MPERd92O0nlL3nJKDcT9imQUTb64K+ahrOHOYJYvkH22WzdIdjTkEu5KRnYPPmwv7LIb PPvqrzrBaPNJ9o1e/IHPck9UudKcKp8moEMGVQq5pJtFQVcdUUK/xerblWVLyOFvhPo6 Afdrml7gtlZ5u3ia5mYvrrhZ+GL3mwDKZ9e8UCc9sfkG199Cy+ok/twpUy3kASn74k4y a1gw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=I1Hboj50; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-33093-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33093-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id l15-20020a0ce08f000000b006817fe7afa2si5415815qvk.298.2024.01.22.05.26.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 05:26:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33093-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=@canonical.com header.s=20210705 header.b=I1Hboj50; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-33093-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33093-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 78E1F1C223BC for ; Mon, 22 Jan 2024 13:25:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70B103CF73; Mon, 22 Jan 2024 13:25:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="I1Hboj50" Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) (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 C09E73CF5A for ; Mon, 22 Jan 2024 13:25:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.188.122 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705929929; cv=none; b=KuyZeNzmAxcAl5uheQq+ZFfrs/RvWdAClvroBEDC0iml78nYZM0NlkwigbewyPU0buhPCzaOwzaHxMRNmHrTATHEB1udmH6rN6NagIyQ/Q1Ew0CpvmfSxIfpX2HC/a7H748ehCHQdzTNHZiPhhnlm5jzGsDIWwHFFIUceged+FM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705929929; c=relaxed/simple; bh=8/ysmW7ZNCwST64C+OGZnecZkpP9Ivshlxnv2xaANtk=; h=From:In-Reply-To:References:Mime-Version:Date:Message-ID:Subject: To:Cc:Content-Type; b=TyOcdQ+0umz399bWHf77gI8GBe2Sff+wqmRhjCMOyiP8JRlos9wDXWz3D5vz+wByMWao6Mj6lL5mM3AdbcJlx02z/MWvl4uNdxMBvFhcx1pjjtC7GEAK9G/FPf5y1Q7At3D7Bl0BdvPWt4S/oz2Dcsylgwic3cztLkdU1LBn8Pk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com; spf=pass smtp.mailfrom=canonical.com; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b=I1Hboj50; arc=none smtp.client-ip=185.125.188.122 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canonical.com Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id B63F43F270 for ; Mon, 22 Jan 2024 13:25:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1705929919; bh=YH8oe3j90TqC6EUcRLoZewEzXWg7T54K4/yaoqW2dG8=; h=From:In-Reply-To:References:Mime-Version:Date:Message-ID:Subject: To:Cc:Content-Type; b=I1Hboj50NBVRf/Ancb9KRXF956ETQXZNPO0JDlxxHjjusimU1dMIAgUOaTGi7rbeU yyhdvSFpTwGzqujEl7EgXZHXdbjMHXD+8mBBZ8wqG1W2v5f4hTsRpeU0/neapPH+RH MGpDYU6mYa0w2wPUhVfhvi+qRN8WhNSd2k92BUYLwNxeYiJVneY7cCY6WVIOcVcnQE lVQn37VFP2UkwONCD+YdOMJG2GK3P2blXQsek+wOALpDSxKfwQr4JWIpmL7X4zn2s2 vlo1/qIkR3GNrVoOjSr+9VYznTgtSWFJFvt1IZCChGbi9mPBATyBSlaQan77hRnWAa 9z3m1+udseGWw== Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-42a4660fae8so6285051cf.1 for ; Mon, 22 Jan 2024 05:25:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705929919; x=1706534719; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YH8oe3j90TqC6EUcRLoZewEzXWg7T54K4/yaoqW2dG8=; b=mYfa9Lyn/528bJrnzlpdioYU9LrRZsTufj+R/7WZNMBksPr+ZrTkNWkJK29MnwSBbM wkEBJzDaOUsKDNVDHamHRKzwsNSPYS844tUSR/UkbqSBotcG5NRG3GT9CRkKdOuAxaa/ UjpaaCbUyCfK09ZFF6svnGPUekUMu/75cQu3s6i0AsuKuj+fHRFvzrsckLGKiNHIHxMd 53An+e485QaARfe+mMYJVnsVxR0OhoSVX4v8quWtkJtBI+JCm9RMtHCHGkBhgK6XbGGs Pf0hOn/nJP8J5GvpbJedIujVbP5WxFUMkDKNXZkfnWGidre9gn0oyPUtMjCr2pfFtsHT KHLg== X-Gm-Message-State: AOJu0YxDYcBxkTX35OIFQ1DsYz9VPkM+PySZHvEPFa3m8jBBc6PhQpl6 ZNUdeIjF2lVXTtyGL1uGax8+tj16C1BkZ2WSI2Ch6HsVL8/7n3D9RsHybS83vyX+9tTDd9Ie6y6 YddOXQnGl1eX+T0Ia9N9uAuJ8CCe9Q2jiWbdtOcqazZDrido1hlzJbM9MNK6Ow8FZsYpO/c+lfL OG6sO2W8fUSCFxnUy1EK3TnMS0zpsoEHFK+IGYpWqhRRCNZA4Anpbe X-Received: by 2002:a05:622a:303:b0:42a:49e4:b37 with SMTP id q3-20020a05622a030300b0042a49e40b37mr119062qtw.3.1705929918832; Mon, 22 Jan 2024 05:25:18 -0800 (PST) X-Received: by 2002:a05:622a:303:b0:42a:49e4:b37 with SMTP id q3-20020a05622a030300b0042a49e40b37mr119041qtw.3.1705929918598; Mon, 22 Jan 2024 05:25:18 -0800 (PST) Received: from 348282803490 named unknown by gmailapi.google.com with HTTPREST; Mon, 22 Jan 2024 05:25:18 -0800 From: Emil Renner Berthing In-Reply-To: <20240122080631.2880-2-qiujingbao.dlmu@gmail.com> References: <20240122080631.2880-1-qiujingbao.dlmu@gmail.com> <20240122080631.2880-2-qiujingbao.dlmu@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Date: Mon, 22 Jan 2024 05:25:18 -0800 Message-ID: Subject: Re: [PATCH v7 3/3] riscv: dts: sophgo: add rtc dt node for CV1800 To: Jingbao Qiu , alexandre.belloni@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, chao.wei@sophgo.com, unicorn_wang@outlook.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, dlan@gentoo.org Content-Type: text/plain; charset="UTF-8" Jingbao Qiu wrote: > Add the rtc device tree node to cv1800 SoC. > > Signed-off-by: Jingbao Qiu > --- > arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > index df40e87ee063..0cd7eb9a3048 100644 > --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > @@ -119,5 +119,12 @@ clint: timer@74000000 { > reg = <0x74000000 0x10000>; > interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>; > }; > + > + rtc: rtc@5025000 { > + compatible = "sophgo,cv1800-rtc"; > + reg = <0x5025000 0x2000>; > + interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&osc>; > + }; Before this patch it looks like the nodes are sorted by their address, but this would break it. > }; > }; > -- > 2.43.0 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv