Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp816298pxb; Wed, 15 Sep 2021 14:04:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXqvkerVtQF/m5EZQgjGlkxvW75oFBo68yfQw/X83yZ1FdG4Xcuj7iadQu6X434nx0SK0B X-Received: by 2002:a17:906:5045:: with SMTP id e5mr2284735ejk.239.1631739881590; Wed, 15 Sep 2021 14:04:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631739881; cv=none; d=google.com; s=arc-20160816; b=AYUrUmerBB65CqLpWe/Ie7116Q+nJShGcNcU1aGUfLF0ts8KtjY+sEtjv2ZMZDHCC6 F8bCw2QmQia65cYVGEidufNquNknbAbWl8ChAdErpgBuLRBsedmkXPeUSTNnOCfxX+aQ 3P2nnpB//A6QmqEPRVn5zgiXKIBSQqtjS+95KvtjWaeWcjZ0rt0RCf9jSgouLt24twN7 bkLnmv5vk3U32rfar8Ttc1ejXrtL4jtkHBGADbJyn89q22Xf+VT3Nx/ujFtfEMdsU8GZ aMvTcrXxDnc7ODWDNUab++33sF/Dqf21r+sM/f0adYTCXhgojbZgkY1PVg5erWuO4EQm 8ofg== 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=6051UbgrRMqDxiwjhzZkrwFi5IKkmuXa1gzwXfPNWkw=; b=DrQAamFNqN9hqtWnpxpe5LIBqH95NA0O0kclInzX31pXeoz7eJ59kY/t+JJ1cqQIC1 oDYKNY8Vf53zCoGvB+WLKVImjhvCke1/r196/mWAD4Ajz2llILTuLHYTr068a/B0obaV qYn3aNxfOLiqTch6FUnI0qSVSvpq4yXH8pdIV9TMdWlfNdP/YTwdbRBjpNL8r1QpBZgX ArCdmX8+pte29VpYk6ezG1uluov9Cz8K6/phrVAvufoF9YB9LkFvyfRaiDRiA/sPp27c DlrODLGs0Rjai3rLsp54jQ6BQOVrXwl/ur0nYzr+lqDW804t8HaXdZQKGwkX2aacGVzi Cn+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=V9NRrB2C; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d19si1117294edx.318.2021.09.15.14.04.17; Wed, 15 Sep 2021 14:04:41 -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=@gmail.com header.s=20210112 header.b=V9NRrB2C; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231689AbhIOVCB (ORCPT + 99 others); Wed, 15 Sep 2021 17:02:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232168AbhIOVCB (ORCPT ); Wed, 15 Sep 2021 17:02:01 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01259C061574 for ; Wed, 15 Sep 2021 14:00:41 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id i25so9610761lfg.6 for ; Wed, 15 Sep 2021 14:00:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6051UbgrRMqDxiwjhzZkrwFi5IKkmuXa1gzwXfPNWkw=; b=V9NRrB2CS1yeigqK9Ue6Dtwu1U6p2jRsXG+HSc0iLZA6dsDHxkcqMA9s8nU/IAI5du TUzkThscVDc4LqTE0D4bNdDMJnI39D4Cvv4pin63v/fGhIgvWapPi8fM1PJ+dzbsjAJn 4CuWWXQxZz2acwXCDbCtSfNxiAMJys+bcXLvzBz9zQWUxyV+TudQpal5XXhPQa1xysjz og8Ri3Hx5q3ohoNhs7msnZO3P3n63Y++vMD+ITHHGxK0DO984wKzDmfp3wcR3WghBEYB OUdF15j4QfzV/LVEk63ATcGIgYiomSE3zSd5hdR13ROBBRgE24iAi4MurR5fh9xiVHKa CPow== 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=6051UbgrRMqDxiwjhzZkrwFi5IKkmuXa1gzwXfPNWkw=; b=gB5xbGVfNxnXky0882T3NE6zVrTz80aukIGEAR/F1/eJvdcW0FsudhyB4P9h4MGsVk /mIlSrwGeQIC+qrEAbH7MMsjRmGmCQDJI21aKzfap5dImFfxHuD2yH/yJkja8N9YrvIh 8oDuy0Yeo42zTW1e84GvvzAdYSWIcP0fWiH7ndXW38u7zS6Bv7isPVn4Rp5TjMgS5hnj euBUYet4W22c0K+lRIqoFihdgB3OPdpL+RSHDH+rRiNP8YiZQnctwLEsg1HWPm1/7Ubg Tu4SiAcl1AH68m5107hGwyVkYI+wfyVh17QUKTJcOPM4NeDGjvmA2WGm5QzqJXPBVAfl CuDQ== X-Gm-Message-State: AOAM5320LMC2RUL9XG99NgtD0sch+0avQ+HEgWpuhJi/xYx2tLDi1GpM /L3N3GBHi8GSY2xRaYGmAEhJgChKnjZ/qNUfAZ4= X-Received: by 2002:ac2:5d49:: with SMTP id w9mr1379832lfd.450.1631739639394; Wed, 15 Sep 2021 14:00:39 -0700 (PDT) MIME-Version: 1.0 References: <20210914162825.v3.1.I85e46da154e3fa570442b496a0363250fff0e44e@changeid> <20210914162825.v3.3.Ibf9b125434e3806b35f9079f6d8125578d76f138@changeid> In-Reply-To: From: Fabio Estevam Date: Wed, 15 Sep 2021 18:00:27 -0300 Message-ID: Subject: Re: [PATCH v3 3/3] drm/bridge: parade-ps8640: Add support for AUX channel To: Philip Chen 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 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.