Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp826356pxb; Wed, 15 Sep 2021 14:20:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1qHgdsFGwJPd+i+lAGASnvgxeTkSEYdhnap2/EpEdNlw2daBXeco49Ig09+lWKy1s7bxf X-Received: by 2002:a02:3b15:: with SMTP id c21mr1757095jaa.54.1631740800175; Wed, 15 Sep 2021 14:20:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631740800; cv=none; d=google.com; s=arc-20160816; b=dOXpC4x/j8Ag6hWGlbP/FEbkgPqSIJhMivqRTb+1/bm/Bk67Av5VMM/PEl63Zoif42 HYhxB3yeR1KM0zUS3LLFRxcyCLaMQmx/Bt/tjCtV7JomHPkOGUZ5E50BsgqdjXjxtgBH rcxaXA4q25uTkO3fm7otcrkTYME1Xf63zl0WImMGsQYVNf8Xr5z3L+9EFFxR4RdBaGwu 5GViWiCg2sPdZSo+6vidlylD1Lno48YJHtqjJk0TvKHnumtup/yTdFBxEDzpf6Ykq/S7 tpVlWr8DmvCBYo3ZTBuarq8jPJfZxNTcffnMd+taM80DW0kiNl/67U7l061QqMfPEqoH 47rQ== 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=o3veXBIZnvUKtnHxWTaozM/HSbOfDNjRTmGu3zb3EfU=; b=Ha0s4W3lPeeve+fFTVs1Rm/eC/N+GL3DduOFdJ7S4Mg4n97Ltxfntz2ODlK4MD+jnM zxv4kpRpHiE6CyC1a2W9rqxvLYcR2zBw2kvOwj29AOzzoLj9LE/tHSD45cfiJodFQogV 635xJO+j4Ef2vEJ30feXWAgbkubwWkLSc/N5kuF22BMqTUfO8tyC4/3iWHN36rmn7sRG GR56Kp+WPqS/1XAIPkn/66/qy2t2fwebjWzVcUXnKWY13Vf6SLscstajGdi7yIWILYAN anprcCKYue9nW7l0KSVDKCpoAvlEVOzuXQZBs3WXrdeA3P7iqmyK6lGZzVCdcdkIJLhb 3uMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=T2gxgE71; 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 a12si1104609ilt.135.2021.09.15.14.19.48; Wed, 15 Sep 2021 14:20:00 -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=T2gxgE71; 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 S232094AbhIOVT7 (ORCPT + 99 others); Wed, 15 Sep 2021 17:19:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230382AbhIOVT6 (ORCPT ); Wed, 15 Sep 2021 17:19:58 -0400 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9943C061574 for ; Wed, 15 Sep 2021 14:18:38 -0700 (PDT) Received: by mail-yb1-xb36.google.com with SMTP id y16so8612286ybm.3 for ; Wed, 15 Sep 2021 14:18:38 -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=o3veXBIZnvUKtnHxWTaozM/HSbOfDNjRTmGu3zb3EfU=; b=T2gxgE71iotL62qHgp9HhDUB18cqI7roSzz75Zt/y2U4xEJ+gNBwoTRJK6fDzLIAIX RMSQFGJ+pxrFbdf9ZY3FitomLZY9LNLGE8yn2O8bcOc0yghhvE2HbrS/zOxY95Gj44+L JtvaBq94TiQEVvSbsqv7I3jo4DXW9p2+ZwYUY= 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=o3veXBIZnvUKtnHxWTaozM/HSbOfDNjRTmGu3zb3EfU=; b=Kdli6YCeAITKm4ke8DV0Cs1Bl/tYT7B6fQfITTRNUBNhhbs1W2aj54wit/qvEGAPXz zT5WJ8EOC0gCXE/MzwPcmHPmgyR3jFI+SBerBfDYbdcf6hW6Ukgu08g+PELln62qrc6X rIrCBNa2nHc5GaAboMYpupZ8jF4ZuO14UqLCkbTfVn2le028xqjAmuTbMhc5juDFXRkc +eV/pUWvAWabI0ek1RrcIEp2fK5Rmn+hNQaVEMBz9F7blBUiHt53KrJrHC7nPNnM13vE RpeMyJImxkxF5QYYLmOLoRXVc/R/7HNuYU13FP25RrJEB8b7MAGOohSUuiMLnzCTKjOr /Zxw== X-Gm-Message-State: AOAM530Arq8bIJb2DoLFtsOCsU92oLV6LUIeuUMKipoq+b1314hcUHFq gbF9/rsMxmvkt5wAqnQcBmCxC0068dHFIVeJ2Nzfyg== X-Received: by 2002:a25:b94:: with SMTP id 142mr2619354ybl.508.1631740718136; Wed, 15 Sep 2021 14:18:38 -0700 (PDT) MIME-Version: 1.0 References: <20210914162825.v3.1.I85e46da154e3fa570442b496a0363250fff0e44e@changeid> <20210914162825.v3.3.Ibf9b125434e3806b35f9079f6d8125578d76f138@changeid> In-Reply-To: From: Philip Chen Date: Wed, 15 Sep 2021 14:18:26 -0700 Message-ID: Subject: Re: [PATCH v3 3/3] drm/bridge: parade-ps8640: Add support for AUX channel To: Fabio Estevam Cc: Stephen Boyd , LKML , Douglas Anderson , 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 Hi Fabio On Wed, Sep 15, 2021 at 2:00 PM Fabio Estevam wrote: > > On Wed, Sep 15, 2021 at 5:41 PM Philip Chen wrote: > > > As regmap_read() should always read 1 byte at a time, should I just do: > > regmap_read(map, PAGE0_SWAUX_RDATA, (unsigned int*)(buf + i)) > > There is also regmap_bulk_read() if you need to read more data. Thanks for the review. PAGE0_SWAUX_RDATA is a single-byte FIFO buffer. So I'll need to read one byte at a time cyclically.