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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 49890C4332F for ; Thu, 3 Nov 2022 16:58:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E82A1851C4; Thu, 3 Nov 2022 17:57:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="G3wy1SCt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1B8C5851CD; Thu, 3 Nov 2022 17:57:39 +0100 (CET) Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 81249851D1 for ; Thu, 3 Nov 2022 17:57:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf34.google.com with SMTP id w10so1544191qvr.3 for ; Thu, 03 Nov 2022 09:57:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=yGm3OPhZ6eAORZP76b8zgjHyqFExVo64PIDwK62B+sE=; b=G3wy1SCt3HPCEXOz4st6GHhCq2+DTTZ48GxFmSR8kyXJSjc8SLHIRKyCy1It17Pxaq /zweYKXvo4znWx1J1V1y/kVk5SluJ602VDZKj3hDjJOL1C7ySerh2hZLuaH3+PY24Dg5 BXTlaEeTmbidCkKhety/ib5i4LiNwVuvXHPtk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=yGm3OPhZ6eAORZP76b8zgjHyqFExVo64PIDwK62B+sE=; b=Hresfz18TbxY1QmyoCBYOnuYioKRdPmBsdXtp9o9ur8IY4O/pYARmllSIMRwP9PqFL J8Xdut0SrW48BOuPLRozp3xDbfvnnesG1H4NsOXlQDRZSCvwX1NNf1oMCe/UghrO4Jyd I02Mm2bMrE7+cuVwkPJs9soxW0XWFnPoC02Uu8+HDdT0QSIRtH356IjDTI2p8oOt+hMc 0vDUmgZkvKDLkVuto1F2v5iE+VYsw5OXbVKd5OmlLh4FQCvnBiHa3kazcecpdzGvwljo /4vSismVeZJn1w2kb8vE+n/+dd1hT3zKzHCMbqv/Hhd4NU/kA3PDKBRVVZvFq1FxsWVM nuuQ== X-Gm-Message-State: ACrzQf2rB3z26elA4Om1wZggHkZ46ypGRUdLz2n5kcAXbTf18j6xcZgD 3IRH/ADJjuX/IxeItTHSpCAPN1pgimXAgw== X-Google-Smtp-Source: AMsMyM5VW5yspTcWW/epQJbO6dZopaoCECgH1tGtykZrLCBxSwAozPiRa73BjWNyIrPrwE0dAN+YfQ== X-Received: by 2002:a05:6214:29e4:b0:4bb:ab47:274c with SMTP id jv4-20020a05621429e400b004bbab47274cmr28091508qvb.32.1667494654225; Thu, 03 Nov 2022 09:57:34 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-994c-dfba-30d0-8ee5.res6.spectrum.com. [2603:6081:7b00:6400:994c:dfba:30d0:8ee5]) by smtp.gmail.com with ESMTPSA id ch3-20020a05622a40c300b0039d085a2571sm807088qtb.55.2022.11.03.09.57.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 09:57:33 -0700 (PDT) Date: Thu, 3 Nov 2022 12:57:32 -0400 From: Tom Rini To: Andre Przywara Cc: Simon Glass , u-boot@lists.denx.de Subject: Re: [PATCH 1/3] timer: add SP804 UCLASS timer driver Message-ID: <20221103165732.GF2116612@bill-the-cat> References: <20221020221025.2473281-1-andre.przywara@arm.com> <20221020221025.2473281-2-andre.przywara@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ECcIMtargrIi2fbc" Content-Disposition: inline In-Reply-To: <20221020221025.2473281-2-andre.przywara@arm.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --ECcIMtargrIi2fbc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 20, 2022 at 11:10:23PM +0100, Andre Przywara wrote: > The "Arm Ltd. Dual-Timer Module (SP804)" is a simple 32-bit count-down > timer IP with interrupt functionality, and is used in some SoCs from > various vendors. >=20 > Add a simple DM compliant timer driver, to allow users of the SP804 to > switch to DM_TIMER. >=20 > This relies on the input clock to be accessible via the DM clock > framework, which should be fine as we probably look at fixed-clock's > here anyway. > We re-program the control register in the probe() function, but keep > the divider in place, in case this has been set to something on purpose > before. >=20 > The TRM for the timer IP can be found here: > https://developer.arm.com/documentation/ddi0271/latest >=20 > Signed-off-by: Andre Przywara Applied to u-boot/master, thanks! --=20 Tom --ECcIMtargrIi2fbc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmNj8vwACgkQFHw5/5Y0 tyzRigwAnk4o970bWY/En/pfz1fCUaw36/Ez8ChqNtTDXMcpb74RHWSsfHiNI6pE zd43nE42a3x0LI/bkxKTEQHgOK9Uymla9DnNPTZxJjP9soeUR+xaRiEsCvv6PWsk yCneOR5MpYmg9G/Kwp4LT8S1IejXBNiVIFWTH09a1rQvfo7v1bZ4G9oZJny45DPW WvCRYqTFMMDlD2z+C5elHELOK6kBFB34unh+yirhV6GSVCtfl7pVAKQVO6kW0Hon SlfgCc+LF+dajmJp9GW+vKEWl4GtNfX2dqVy2VudHpnXsFZzkDrQk0MA8fgoOBtq dB5tZhi4ZthBi4OM1Kd2Pi9oV5kF7jy5bGoHHaCkO6dIj+/5glesWsVgmqrz0K3g G+PG8GEOG+jlIGwBF+Z82sYM8POpiRObOhhW5BNXI4D6DJ15RbHj1AQlPW92MPT7 LIwxcVKw4dqavbHeOnYEs327ndgWjOln3kkQjEHvfc1r2gKBLqnfjvyPYzxGlFoa t1OaEjF/ =cFXt -----END PGP SIGNATURE----- --ECcIMtargrIi2fbc--