Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1553172pxa; Thu, 6 Aug 2020 10:07:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4XClVU/YglwvcQMuS00zAmCzHAee/4A+bilyn8FVuD2NbQqrukZ4lFf+cDrjT4vaoLqh5 X-Received: by 2002:a17:906:a44:: with SMTP id x4mr5569367ejf.193.1596733654574; Thu, 06 Aug 2020 10:07:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596733654; cv=none; d=google.com; s=arc-20160816; b=FDUIsD65QDbIf00js1lP/GEChVMJtLw/aUZWsjNfAxE/XZ236Joj2GcIupPH1PNjUM tYaiQ57gHjnS9jUlHPMSihXvjbX/OAQRDBagkxlkJt/d6VZdHh8XiCYd4b/yESpoDDnl BxIWzH+gfU3f81uyq9YbKtPtoKGg1XszmZm5ey+lTPccOR8nC2rY+3cqTx6iJ98obYot CHvM1U/nokvtZc61ejYD69gTMkcOFZZgoOTspy0k5ck+gWkk6g08AXdlr/0t9gTQz0x+ BB318/rpKIsKhh2NYdcKeHsrIE83zTKmIHbg8QfXzZyCOZgWnBCsHAPUzdOPc8aXEXNK VTsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=GBkcW6NgtTDsQc7K+wm9MXLGks5e/hCdXllRiayCbwg=; b=XIFLOh4wuYZsmdST3J5UBhwKKhKYLMz193+B2/MeiGiwvzkBkEtDlZCyF1WHn1CcLy dlTC5akek16oHmNKkTGGwDU7RMkPlgwTcHmertzIuj0D8B/WK/XJuPGF/rXJYiiCp06A abLKTQi+FwiZt0DcI8HZz8EOuvm7AyAGKsE35+nCLaJQM8jAmRLsDNQXoFjepNbT2GTb LcVl6BSttdPm4TFt3k62WLd0ItuL8TXrHXKvt6maxOGoUor+yVVOVALaP8J5X9qaFL2A hW1CtHcbHPtqBwaVLONC3QCFgaNav8I0uZBVvjeC5KbVi/1phVBhpYeyRXQC924DDMdE VItg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KrhVDbNQ; 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 ci15si3556721ejb.107.2020.08.06.10.07.12; Thu, 06 Aug 2020 10:07:34 -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=20161025 header.b=KrhVDbNQ; 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 S1730068AbgHFRGt (ORCPT + 99 others); Thu, 6 Aug 2020 13:06:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729961AbgHFRFt (ORCPT ); Thu, 6 Aug 2020 13:05:49 -0400 Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1698C0617A5 for ; Thu, 6 Aug 2020 04:31:09 -0700 (PDT) Received: by mail-io1-xd43.google.com with SMTP id z6so49246431iow.6 for ; Thu, 06 Aug 2020 04:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=GBkcW6NgtTDsQc7K+wm9MXLGks5e/hCdXllRiayCbwg=; b=KrhVDbNQF8AsaaoIl4UOq09EsyfUznkaVXPCKNK89TXD4Uz95qFlls1Uidq4Vskll9 zMvwZ2qZED8YOEIFfYZSHnbu0eZf46ZwG2xa9S+vuPklscZyIUL8aITpZ+2i4NmkySdw nZdaNIrVnvMY4Tr3C+aZGR98x5SvBijd5poj/LjbLGpkGcm1eouHtZjbWiGLLv3GflxY Rns9zkuRpElvyvFXPBEWRYvrKdHPEr/oqAaYL+0dABM42HpcSDxCRi6EYu9dlHzgMsWD IVsMY9HkHa66iGKoZTMCpDZ02mbKCnF6o0CyI4jP6zCGVYjYqzuP/LPMMGI4MsfHzMkO rtMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=GBkcW6NgtTDsQc7K+wm9MXLGks5e/hCdXllRiayCbwg=; b=QmWMVAaObBTR9+Y2XRMxAqx1EsouqX9D/u/KSI7TlGKG3/A/yh+wcKwxgWpIyRctME daoTfcp504igMIWAJlgoxioEI4AWGpGYyFM7Ay7ws8tml3YAuJsPwsabVkAFrqDTXZmP zTGwMKgU8ga43hWbuL3cOKVOsmXTyKZaP9VwXAIIg0jhkbuz96Xioau28KuNkVAbsxj0 ZerHN1NH1FhsZhU+VTAwWwGS/Ow9w/DJrW3ku2PLm2sogaCTgRxr9gn+esyOOUUhplkH GD+uFZDIgNmazoqSd4y2DFd320b9DWxD7OqqHw49lO+upV8UcEgh+YvBtBRVqwr/TnZV wmrQ== X-Gm-Message-State: AOAM532202hTS84mHJgSpdCVjoWsUCQRGy11WwNOowyZh8ozdP8XAhTz lN/a0It2Zjx8Ulc8z4iFXLOOwv0feQJHmo6tYpr3WQ== X-Received: by 2002:a05:6638:1b5:: with SMTP id b21mr11426605jaq.125.1596713468774; Thu, 06 Aug 2020 04:31:08 -0700 (PDT) MIME-Version: 1.0 References: <1596558782-3415-1-git-send-email-gene.chen.richtek@gmail.com> <1596558782-3415-11-git-send-email-gene.chen.richtek@gmail.com> <20200805161021.GK5556@sirena.org.uk> In-Reply-To: <20200805161021.GK5556@sirena.org.uk> From: Gene Chen Date: Thu, 6 Aug 2020 11:30:56 +0800 Message-ID: Subject: Re: [PATCH 9/9] mfd: mt6360: Merge different sub-devices I2C read/write To: Mark Brown Cc: Lee Jones , Matthias Brugger , rafael@kernel.org, gregkh@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Gene Chen , benjamin.chao@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mark Brown =E6=96=BC 2020=E5=B9=B48=E6=9C=886=E6=97=A5= =E9=80=B1=E5=9B=9B =E4=B8=8A=E5=8D=8812:10=E5=AF=AB=E9=81=93=EF=BC=9A > > On Wed, Aug 05, 2020 at 12:33:02AM +0800, Gene Chen wrote: > > From: Gene Chen > > > > Remove unuse register definition. > > Merge different sub-devices I2C read/write functions into one Regmap, > > because PMIC and LDO part need CRC bits for access protection. > > It's not clear why this isn't just done in the device regmap, there's > exactly one user? because I use one regmap to access 4 I2C devices, I need change the regmap_bus struct to fit I2C read/write with CRC bit Therefore, MFD reviewer suggests I can move the regmap api to regmap folder such as regmap-ac97.c Is it okay to apply this change?