Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2234383ybc; Wed, 13 Nov 2019 11:04:39 -0800 (PST) X-Google-Smtp-Source: APXvYqxn4/Ok2qXgynjp//g1SP+N8WbE1/RJ8zoQGBFWp50rKI5136GPKJr+BhV5ivlVHDxdDiQX X-Received: by 2002:a05:6402:1b04:: with SMTP id by4mr5465029edb.218.1573671879862; Wed, 13 Nov 2019 11:04:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573671879; cv=none; d=google.com; s=arc-20160816; b=dN4R9mPfgH0EfXFnCTilQT/u+nYHb1Lj0trFZgxNOU6s88gF1cSHJgaBnhYdOyQUjZ TXxoU9Ze3e1CzPg91QJv6ZLkFQMuzVN/3InT2n22rZh7Axf9WebG9FdZiLw8OxX9Q9Bd iV3Khi81Sl4NvNm4wINILnZeOtygB7Yw+PwDZnSCBmiJb0/uD5kUA70pfXAW/ATnxyyq KhDIptP4yn/xlckW8k44Kdn3LG+2EH3udm28vImw2daA5Ynhow1zbBv354mkfCP/6QhF vxtKMOgEU3l3k/RmdCyF3l1rhcWtMGub7KNhxpOkH5+wY36pzBrpDnmW8ZaMy2/hKuM9 Et5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=R7PpQq0S5Nb4yjqBKn3iLZOJtFaNEqtu5FW/fS+5Yp8=; b=useR8Xx7htkbQlUF8y5CaSiymA2gb9Z9AyPa1IYs+SyQknVhFlG+fznjK859+zX4cC E7NbnVJlJ7adN0QBnrOsFd7pFVTGw7K7S65HT3cmJgilfy/m8SrWulES3VpnwcR7TGk5 Cx5igg2/Iu84zVwu542VYTs2BCR6rv1bcnbQWfkCo6QxrDKNKgBAN8NClRyUlFKK4Eo0 LlSjd3Cb5gHti4WNyJmr0ckBLDOhCAezamrAlB1ekTNKhBn2rWML/0YaH2iDuAwyTIvd lnySATScmPFIr3u/mxBTRgfiNb/JRZHcAx0IGOByHVyUW9QZfG/DyTXmea/ukbmYfdrK OhgA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q8si2573252edi.445.2019.11.13.11.04.15; Wed, 13 Nov 2019 11:04:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728352AbfKMQfO (ORCPT + 99 others); Wed, 13 Nov 2019 11:35:14 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:36998 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726410AbfKMQfO (ORCPT ); Wed, 13 Nov 2019 11:35:14 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: aratiu) with ESMTPSA id 388EA28E964 From: Adrian Ratiu To: Emil Velikov Cc: Neil Armstrong , "Linux-Kernel\@Vger. Kernel. Org" , ML dri-devel , linux-rockchip , Boris Brezillon , kernel@collabora.com, linux-stm32@st-md-mailman.stormreply.com, LAKML Subject: Re: [PATCH v2 1/4] drm: bridge: dw_mipi_dsi: access registers via a regmap In-Reply-To: References: <20191106163031.808061-1-adrian.ratiu@collabora.com> <20191106163031.808061-2-adrian.ratiu@collabora.com> Date: Wed, 13 Nov 2019 18:35:30 +0200 Message-ID: <87r22bhgz1.fsf@iwork.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 13 Nov 2019, Emil Velikov wrote: > On Wed, 6 Nov 2019 at 16:30, Adrian Ratiu > wrote: >> >> Convert the common bridge code and the two rockchip & stm >> drivers which currently use it to the regmap API in >> anticipation for further changes to make it more generic and >> add older DSI host controller support as found on i.mx6 based >> devices. >> >> The regmap becomes an internal state of the bridge. No >> functional changes other than requiring the platform drivers to >> use the pre-configured regmap supplied by the bridge after its >> probe() call instead of ioremp'ing the registers themselves. >> >> In subsequent commits the bridge will become able to detect the >> DSI host core version and init the regmap with different >> register layouts. The platform drivers will continue to use the >> regmap without modifications or worrying about the specific >> layout in use (in other words the layout is abstracted away via >> the regmap). >> >> Suggested-by: Boris Brezillon >> Reviewed-by: Neil Armstrong >> Reviewed-by: Emil Velikov > > I should have been clearer earlier - I didn't quite review the > patch. Is is now though. Reviewed-by: Emil Velikov > Sorry about that, I got confused and thought you reviewed it all. > > Admittedly a couple of nitpicks (DRIVER_NAME, zero initialize of > val) could have been left out. It's not a big deal, there's no > need to polish those. I'll address them in v3 as well as updating your mail address. Thanks for reviewing! > > -Emil > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel