From nobody Wed Jun 21 07:58:17 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QmG8j2F8nz4fwHb for ; Wed, 21 Jun 2023 07:58:29 +0000 (UTC) (envelope-from titus@edc.ro) Received: from eatlas.ro (eatlas.ro [86.126.82.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "eatlas.ro", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QmG8h0XZRz419x for ; Wed, 21 Jun 2023 07:58:27 +0000 (UTC) (envelope-from titus@edc.ro) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=edc.ro header.s=mail header.b=lLKfNrJ6; spf=pass (mx1.freebsd.org: domain of titus@edc.ro designates 86.126.82.18 as permitted sender) smtp.mailfrom=titus@edc.ro; dmarc=none Received: from mail.edc.ro ([10.1.4.58]) by eatlas.ro (8.16.1/8.16.1) with ESMTPS id 35L7wInI025185 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 21 Jun 2023 10:58:18 +0300 (EEST) (envelope-from titus@edc.ro) Received: from tituss-imac.eatlas.local (eatlas.ro [86.126.82.18]) (authenticated bits=0) by mail.edc.ro (8.16.1/8.16.1) with ESMTPSA id 35L7wHBq004168 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 21 Jun 2023 10:58:17 +0300 (EEST) (envelope-from titus@edc.ro) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=edc.ro; s=mail; t=1687334297; bh=DFNOP2hwT5h9v3cKceJv/ykrx6o4ze+0yvRr+NYZ7m8=; h=From:Subject:Date:To; b=lLKfNrJ6yOeRdjbH/dKMnS8qbTM/CWCsCu0lUaYEj8yY/ImL+He5zlrmyIj9gpQgD OtJJP36aAJQow9Zji4u41zQSGkASfzdokShLQnL5BMKI1dHumbrouzpHtx5WVgFaTl D5dbJahxstvFT9snAjJmEe3iO51YRWbEiiFiqPBs= From: titus Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: h616 clocks Message-Id: Date: Wed, 21 Jun 2023 10:58:17 +0300 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ns.edc.ro X-Spamd-Result: default: False [-1.48 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.987]; NEURAL_HAM_SHORT(-0.98)[-0.980]; MV_CASE(0.50)[]; NEURAL_SPAM_LONG(0.49)[0.489]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[edc.ro:s=mail]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:8708, ipnet:86.120.0.0/13, country:RO]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; DKIM_TRACE(0.00)[edc.ro:+]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[edc.ro]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QmG8h0XZRz419x X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N I=E2=80=99m trying to add support for allwinner H616 ccu I downloaded H616 user manual and i mostly can figure out differences = from allwinner H6 but i have a question how is the CCU_GATE clock parent assigned to a specifc ccu gate - there = is no indication in the manual for example=20 CCU_GATE(CLK_BUS_DE, "bus-de", "psi-ahb1-ahb2", 0x60c, 0) the manual says that 0x060C DE Bus Gating Reset Register (Default Value: 0x0000_0000) has bit = 0 as DE_GATING and bit 16 as DE_RST but why is psi-ahb1-ahb2 chosen as parent ? (can=E2=80=99t find any = reference in the manual)