Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp784562pxj; Tue, 18 May 2021 14:10:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVS5eaibJbOmHzpruGecihwLIFc9/H48wLAleNRsEIX6vNaWVKtU0r7lRgmOz4WAH1a+BM X-Received: by 2002:a17:906:1701:: with SMTP id c1mr7992047eje.425.1621372218886; Tue, 18 May 2021 14:10:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621372218; cv=none; d=google.com; s=arc-20160816; b=RkLJgWnEsgNXISpDP6y8stAQJ8Ei1K0hY0CYwKR6Pw1yZVOpJCNj7yBr/93MJ6HcGg DErpO12Ved1spv0VLPTy2uB3E9uxmwff90OZXlTd0QgpvQTm50RUVwYKZLFnQfWUMI6V Wo7kvkBPOPuzuTtT+DIPnzZYB5WoohZrHHXjcW/0EJSFdMQ8PyuIePt2zO2X1rGml42h gESdkZq54gvHHlr9Oh0e11X4ZvohFND7d5LXCYMLNHNzDZjS7p9y7+sCMQVKWILe7kPd zSvYsBD91y/gO9fEd873Z1u5DxYuwYi3UlUVtl7kE9cuLTx2nVHdA8LakD+Vg4HT+F4S HF3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=YyJT27jROY3Us4aMnHuX9K8cycTBbP5Zslf0mdWBiXw=; b=lrPj5/bKNXqd0x1WJQRuUZFRWGeXM0WkrBPbbwj7crlGqeI0h+/L83sunEzbYNTHOg DFtn3nLbmjALpSlUPtEATiy8jqPrf+d5q4Tlfg/CJLQNpAg/Tpwa+FOoDWpFu/hDJejD T7SJN0GlLNZQyQCja5km3d7JJuykwhWIB0MBz1B96jewLAbqClbNzb+4U683953nuZlx MyP28L1jXJT/plb32eSnyppj5tH6IyTNtP9+SAuIN4B75dn0RBKAX81q0/oZOk7r020T GNGlJb3fFU6QXHnThHW26OAd9NRJz8dg7bUZ2kp4Whso172hK0LL27LX8oQQ8ofpRj4w BJTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CK62iBCy; 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 k22si3392539ejc.431.2021.05.18.14.09.55; Tue, 18 May 2021 14:10: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=@gmail.com header.s=20161025 header.b=CK62iBCy; 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 S242041AbhEQRej (ORCPT + 99 others); Mon, 17 May 2021 13:34:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231840AbhEQRei (ORCPT ); Mon, 17 May 2021 13:34:38 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE326C061573 for ; Mon, 17 May 2021 10:33:21 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id g24so4063406pji.4 for ; Mon, 17 May 2021 10:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YyJT27jROY3Us4aMnHuX9K8cycTBbP5Zslf0mdWBiXw=; b=CK62iBCy/RQ2BjPv1yClrCpAUpbt+Ysb53ae8FWiM42bso9RpHF+lBg7+pyc1yQeU1 rcmaOWJJw9UpilQYrizPKIOcJ2PUdwiP992l5W8ureZM+ZFrz20yQkjcdyC/vZCrwUPA UMrG8/WzqWupAwiDxke6qgyLEef8Eaf4Sjgn1+tj3kaDWrghW+cfG2db4BQxpTo4h7D2 Wdq5Ob+D2hPmAlA+LwfFJ4OhXz8Dhr1X3lpTHWIo1GPkpfmFp1GGtMUVPtI9NJZWX3nf IO/Oda3HHi1PM4pyM/K4F5Mf5+4ZnN/oEZDZg82xgt2QYtxmLXuZP1kVp0d6WUwOKkez gjbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YyJT27jROY3Us4aMnHuX9K8cycTBbP5Zslf0mdWBiXw=; b=mJw6qts5gHhcF0VY1VcR6XtLXXM0W0Qtw4ETRHySSjhbPWqCRdP2I3W5c/azrBVcTQ i78o0j9+OyI+xmOGtIhg4ggXJlt1pODbyiAVmd4ggRPtXLyRnz4Q4muoTXCVxcQTS50W zf1iS4Q6/AowAyITPq+t/gEMAsslIRcGNAJ9jM1FJt1HvGzy924QNzzWk7oyXzcvdDeN hlCg/D23r4au+jq4+Eg1Vj6D0P1sp4wUWWKE6ycc8dwR0vrgKwqJl24rmpbxLtVbyU6d 44vkSIF8/PxIXZDNmFk152Za8mYw37T+3MZaQgO7nAjCpm4mN9BoPfk5SbdV4nY+uPb2 k7Ug== X-Gm-Message-State: AOAM532VciFU1ec+zT3yuZg3mx/FlQf5yGwTZyzl3Cr4wpvREUp9J14U /c/s/0VdW4OjP2an/cVBxsA= X-Received: by 2002:a17:90a:fc8f:: with SMTP id ci15mr537328pjb.147.1621272801488; Mon, 17 May 2021 10:33:21 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:47e:c24d:6c72:a52:2c8:7df1]) by smtp.gmail.com with ESMTPSA id c12sm10358296pfr.154.2021.05.17.10.33.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 10:33:21 -0700 (PDT) From: Gene Chen To: lee.jones@linaro.org, matthias.bgg@gmail.com Cc: linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, gene_chen@richtek.com, Wilma.Wu@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com Subject: [PATCH v8 0/10] mfd: mt6360: Merge different sub-devices I2C read/write Date: Tue, 18 May 2021 01:33:04 +0800 Message-Id: <20210517173314.140912-1-gene.chen.richtek@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series merge different sub-device I2C read/write into one Regmap and fix coding style for well-organized. Gene Chen (10) mfd: mt6360: Rearrange include file mfd: mt6360: Remove redundant brackets around raw numbers mfd: mt6360: Indicate sub-dev compatible name by using mfd: mt6360: Combine mt6360 pmic/ldo resources into mt6360 mfd: mt6360: Rename mt6360_pmu_data by mt6360_ddata mfd: mt6360: Rename mt6360_pmu by mt6360 mfd: mt6360: Remove handle_post_irq callback function mfd: mt6360: Fix flow which is used to check ic exist mfd: mt6360: Merge header file into driver and remove unuse register define mfd: mt6360: Merge different sub-devices I2C read/write drivers/mfd/Kconfig | 1 + drivers/mfd/mt6360-core.c | 552 ++++++++++++++++++++++++++++++--------------- include/linux/mfd/mt6360.h | 240 -------------------- 3 files changed, 376 insertions(+), 417 deletions(-) changelogs between v2 & v3 - Replace mt6360_data to mt6360_ddata - Split I2C read/write to regmap driver changelogs between v3 & v4 - Merge back mt6360 regmap driver to MFD driver changelogs between v4 & v5 - use devm_regmap_init - define crc calculation magic number changelogs between v5 & v6 - Remove unrelated change - Remove regulator device of_compatible changelogs between v6 & v7 - Replace OF_MFD_CELL by MFD_CELL_RES changelogs between v7 & v8 - use MFD_CELL_RES for regulator sub-device and sync codebase to latest