Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1442237ybg; Thu, 11 Jun 2020 09:57:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbD6Minl1bnFhfYaftZ4tI7cevXEUp6MIR0EWYP6BigX/GkW7EETSCEciMCnvy1LvdFxtI X-Received: by 2002:a50:f1d9:: with SMTP id y25mr7571405edl.292.1591894646781; Thu, 11 Jun 2020 09:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591894646; cv=none; d=google.com; s=arc-20160816; b=UR+MzzVvAyGQSxBXcAp6o34uKGGIolVQCdJnqzGUOnbniW6juHvE5wNWhleAvc5LlB /sDyVdz9bcio8QpEW8zEEQBLUs/DQ59NIrdMSVmreJei++EXXLGUiUkgmaJJ060WkMwX dE3xYKBkYB7ZPfPa/u5pZS9uRvPXmzurPDZmuiIGXctcmWukJuqu6NT7xKf7drMRdOVC unyEIEvYCmnuMPsx5FIajqDA7uS8mrX9EEdo3yuHbiJpDi0H3RT6TxqDaqyEDIEBnfPX gKir++ra7OC4IEhuSOV5Fh92oeZ6gQysls/1KNhIPWFus+AKOA7pwM4yKA4XGi+Un2P+ 0UUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=gF0btmld4U26k5IsFwX2l44MfY0Gg3/saFgkLyH4blE=; b=KEXjal47YAjLvZlDVsFTVb0tTjJy0iYw2gIzsJQengs4G9I7vpcsrHLUehLKC8043A +E4HUIZCU7ifB33BUySZObKSu1RPgjatxd1dMVNok8zkFIvSFV4L3Z3CutBDhrCCLHXn 6ei1Q91WewQjzw3VIXvdar4s9+Sc66OtegzfulTm5RY6orDmD1PC30mZdbbp0zRd1s9s kgfRGQxmUJdrdRBVTLNLb9Qep9aNk0XccnKr9glVOQipZmfm257qHQADfwu/RXN71x8W was+Q1f4pEhEoRZPsml8xPdsmZPTR9gsH3t3jOIdCFsr/V9iPb7ZcCsjxBfhWtRwk3mT C/Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=LDLIbuQx; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=u293WYbh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 23si2304328ejy.621.2020.06.11.09.57.04; Thu, 11 Jun 2020 09:57:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=LDLIbuQx; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=u293WYbh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726664AbgFKQws (ORCPT + 99 others); Thu, 11 Jun 2020 12:52:48 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:54833 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726542AbgFKQwp (ORCPT ); Thu, 11 Jun 2020 12:52:45 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 039A258020E; Thu, 11 Jun 2020 12:52:44 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 11 Jun 2020 12:52:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm3; bh=g F0btmld4U26k5IsFwX2l44MfY0Gg3/saFgkLyH4blE=; b=LDLIbuQxI36aNk5ga ggJ7wdX9TM3II8gptiBPX+McLxBtUVosZzwYVq8kPs0Hi/trZJFyMRbHEVChTNiR daUcnRePipy7Q4ESJhkDNtAiz0wMUeWo2pHPuaSthP26W3tt/eaFjdvt3ZWY8FBl Ugh4Ko2+Azl7gV2x9a8LRjYysMeSikKFpJGESQp1yVSfNjef/9PDq+XMSGX8mz/l xNl63aMV1gevwytHYVTRUmEeRf8GOV8cAZZd/W6fJc9PVZJpUj6+Jr5ve/CJbZtR hpu0fAie5o6HXGXyUNS6WaPQByhpSgaXGyZ7MaJcLg27S2R81r6jlmESFh/CCXCN n320A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=gF0btmld4U26k5IsFwX2l44MfY0Gg3/saFgkLyH4b lE=; b=u293WYbh5c64oJUtk1LeO+ED1Pe7Xl/BQoVYeuU+7y2yGw+R4goF3Xrqo HtACc02exwfB4ydHwPiDTmFQBZho7CFe37VZYGtZPpqhRsD0ZL7uwR+6AXAl0max tvgxaIRYazyf0Pad5aH0NxqOWHAxdmv0v58Fy70l38NCQNKbhVAZUu0CRTAi9Pt7 0lABEHfykR5p/jrCZfKfb+P6yo0s8muMwokSft+QL4TmAdGFYqBpENPOUzxS6qE6 PCuRMVxFTY3r8jXWPS0Pey5qLN4vY15OqJzLC1MPfv4UJWCvHRDd+k5rLzDsheWV IwO2YcHH3IAI2Iao2odyjTAArHuEg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudehledgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjgesthhqredttddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpefgjeettdejgffgffdvteeutdehtdehgeehueetkeefgefhtdetjeekledu gedvudenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id C30193280060; Thu, 11 Jun 2020 12:52:35 -0400 (EDT) Date: Thu, 11 Jun 2020 18:52:33 +0200 From: Maxime Ripard To: Stefan Wahren Cc: Nicolas Saenz Julienne , devicetree@vger.kernel.org, Tim Gover , Dave Stevenson , Stephen Boyd , Mike Turquette , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Rob Herring , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Philipp Zabel , Phil Elwell , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 2/3] clk: bcm: Add BCM2711 DVP driver Message-ID: <20200611165233.dmwxuz5lhxxbh7fb@gilmour.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stefan, On Thu, Jun 11, 2020 at 05:50:30PM +0200, Stefan Wahren wrote: > > diff --git a/drivers/clk/bcm/clk-bcm2711-dvp.c b/drivers/clk/bcm/clk-bc= m2711-dvp.c > > new file mode 100644 > > index 000000000000..84dbc886e303 > > --- /dev/null > > +++ b/drivers/clk/bcm/clk-bcm2711-dvp.c > > @@ -0,0 +1,120 @@ > > +// SPDX-License-Identifier: GPL-2.0-or-later > > +// Copyright 2020 Cerno > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > + > > +#define DVP_HT_RPI_SW_INIT 0x04 > > +#define DVP_HT_RPI_MISC_CONFIG 0x08 >=20 > sorry for not noticing this before. Are these defines specific to the > Raspberry Pi, because of RPI? I'm not entirely sure to be honest. It's the names that the register have, but it's not clear to me if it's something specific to the RPi itself, or it just means something else entirely. Maxime