Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp245905pxb; Mon, 13 Sep 2021 18:14:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeablM7m1e+MR4ZofVlTc42kv39JQqaGHum5xwTOWvyaedqW3i98Xa2SyGB+xNWli1aBHF X-Received: by 2002:a17:907:16ab:: with SMTP id hc43mr8405498ejc.195.1631582058890; Mon, 13 Sep 2021 18:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631582058; cv=none; d=google.com; s=arc-20160816; b=fkrgnBFqSEkoJQhtZ1oIMKD+YCpFxw8V+FLABxrjhgxDN+ny6d/2dS29JUShTNZWXp Nc+lATFtGXnXxi9C36WinxwctRre8nbTl4ppZcmkNrQS/oWGKVe7gl65gMF/38M8AFlb WzT8ZBhgbsokAAJzTby20wdAUuempojImfOAAYVfcjkGU6t62mTd0PwF+1v8rgbIt8qL awKPptBhmvpjLP5T4rLBU9DHVktVICsC/yE2Y1kg4Rtrp74Dl4TpJdyq3MZ91nVb5lru X0a32eRNTnCEVQ3bWxxNFC2gKNyuo7QRirgB29bplPxqgU1WzzfEzXdfVlr2Zr7bGlR5 q8wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=LFUspCFtV5DoOy2PmnKy+pTvRZ6jWPWQRYWdYuJIS7Q=; b=iW4jXbwP/rXG0E+Kx/Xx4cwmdSXkJd+UJAgUI5FiVGvE22CMfcjD8JD0BgD87iXOSX TNszbxbBCdfmAXYwLeyEKjo2HMHbZfrWJ/KNbHyqYN5jqevAUq0r0rD9BRZf9qwfOJqU MwAXeWldO6bSeRDZXplZXyZ0iWymkx8ESGYy2cSaITkWdiG2LQLw6Gj9oc76mD2wdt4x GFuqHWlBRSMTnWhD05hpw09ToFeXPz4KUdx6XqSKD9Ir24lN75u1xiTLEJE7LRDDSD0a ZFSbclHWr082KneyrEKVr34/BZtbRbAENGVJTyjed963GORSzLry95XM6JmpqnXIqToO zjWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Cf6c4g5F; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mm25si2523042ejb.307.2021.09.13.18.13.56; Mon, 13 Sep 2021 18:14:18 -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=@chromium.org header.s=google header.b=Cf6c4g5F; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346145AbhIMViM (ORCPT + 99 others); Mon, 13 Sep 2021 17:38:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245497AbhIMViJ (ORCPT ); Mon, 13 Sep 2021 17:38:09 -0400 Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7741DC061574 for ; Mon, 13 Sep 2021 14:36:53 -0700 (PDT) Received: by mail-yb1-xb32.google.com with SMTP id c6so23460854ybm.10 for ; Mon, 13 Sep 2021 14:36:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LFUspCFtV5DoOy2PmnKy+pTvRZ6jWPWQRYWdYuJIS7Q=; b=Cf6c4g5FVXo1iZP44CAwyVhWJwkqzK0uB6iKuy6uK2l1hbO3JzUsfRcvHLNTgzlVBB AG0HpLB6v0takN6e0dSpWLGzRTBZqEYmPW4xV4cC8TBzoTvkFy3Fqcov1k8Pe9MOOO/b o5OhtU2Za5uLyAwFg80ghBxSd14kwc6Q5nc80= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LFUspCFtV5DoOy2PmnKy+pTvRZ6jWPWQRYWdYuJIS7Q=; b=ZHXnDME9Ug/Drm0M68nzok3jMLM6nHvCOSLaWLAty+A8Nresm0XCbiifINGR7hQ+lW oxMqTDCVsZVbNaQPkzNm6hGJFcPKKBHqoHDrcXrFIPe4Is8YeEtb1c/n7Hjf255MuZa1 vnqmxdZmhoswsP1aEqfBS0cnMdMGTE6/azzPitKT4wBfi+Zba02HZJAuiCJfSTbS5OHW dEiMdnwtmTNQyh0fD2b82zWut4cSBlSmUeywfQ5O4Fz5WFUuBQZF1P7cRsnkpRLQ5qqz Jf1niPy5X6ogvk8gz/tpb0iopmCrxt9J7K+He71ejs1ez0/0OqWgs791CWj/MKQHgY79 jrFw== X-Gm-Message-State: AOAM531YNQZXmW2KxTapzXvE1pQtOolPeAJoC1z7dxwJ/r1T7q5xcMWg l/tUtipNRDoTf5dGq5ksttnPma6mouAXvlDyfq5UAQ== X-Received: by 2002:a25:5982:: with SMTP id n124mr17377159ybb.57.1631569012770; Mon, 13 Sep 2021 14:36:52 -0700 (PDT) MIME-Version: 1.0 References: <20210908111500.1.I9f6dac462da830fa0a8ccccbe977ca918bf14e4a@changeid> In-Reply-To: From: Philip Chen Date: Mon, 13 Sep 2021 14:36:42 -0700 Message-ID: Subject: Re: [PATCH 1/2] drm/bridge: parade-ps8640: Use regmap APIs To: Stephen Boyd Cc: Doug Anderson , LKML , Andrzej Hajda , Daniel Vetter , David Airlie , Jernej Skrabec , Jonas Karlman , Laurent Pinchart , Neil Armstrong , Robert Foss , dri-devel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 9, 2021 at 2:27 PM Stephen Boyd wrote: > > Quoting Doug Anderson (2021-09-09 14:14:29) > > On Thu, Sep 9, 2021 at 12:09 PM Stephen Boyd wrote: > > > > > > > > > Oh does this have register pages? regmap has support for pages where you > > > write some indirection register and then access the same i2c address for > > > the next page. This looks different though and has a different i2c > > > address for each page? > > > > I haven't looked in tons of detail, but I think the right solution > > here is a separate regmap config per page. > > Yes. And then a different .max_register value for each config struct. A > different .name might be useful to indicate which page it is too. I see. I posted v2 with the fix for this. PTAL.