Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2203042pxa; Mon, 17 Aug 2020 03:58:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhx19b9dXzbereUhqtzMiKbmN3MM0gNdeO6docDQufWxD1P3pjbOB6RFzUVy99AknFtPTt X-Received: by 2002:a17:906:a209:: with SMTP id r9mr15011881ejy.413.1597661902107; Mon, 17 Aug 2020 03:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597661902; cv=none; d=google.com; s=arc-20160816; b=y+DqzdWXM3/gh5pPtD09xAYFsn+3EBPhvx25m8kNjDunxPj5wDP5uvbaTNAZ1s21GL ctMSMdycHxcR0YRnMz5l6kPujFSbAHQ+WoQjM4awrodVGxRcy+2E0vkoVNuAzUdyj6rl IVGx5EVUUTQaK5kwyJN3SFSwvmppWV2w0TacqoyDifSkeOfuoUcC0kzZ08NEXbZrH/iU R+iCJWVOfpbyz4ZaOC/cM9a3WbVav0QFyVElkutYeUvm/mrfnlTfPnKwe0sQCtjVzikh zTZ7F8/jbfgXZKRZZJc51bu9oY3whmvNWrUNGAXqjBzvsdWxg2VyQt2rs4DpgtYfniDA UNbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=6l78lXwR/yjlw8bo2gFOnw4SGZQb3C/vx4zGLauS1as=; b=GjwOD5brlr3BIUv8NDRuX+ljm35tLe9gAq/65PyRL5EyRd51/dMPZ4j5zSpdzZF6y3 5HWWCCk58N4b7182u63vrKVjfEbybmWVCtat/e72X8x0+l6KLcPlS9zsjrLKlR8siRDc isiM1S4psJbnsSuki58s1ti9lesjNPsg5qTObLIawnpjzt9TOqEpaPdH65Th/RJyXhaV ZetG4xjsAZA9sWpg3lCxuVd8xu9rPNibJxkkFmxVjcCC9k2y8FRkuGrqQoQqA6ha4PnY 9gOSsnJmOZjjt4ssukNz3Eu1/QCYF/MQJ6NNv2AV1pDRb5Ohzdju3tE2taEmOzDdxAgw UhTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=skok8w30; 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 cw11si10167680ejb.6.2020.08.17.03.57.59; Mon, 17 Aug 2020 03:58:22 -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=skok8w30; 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 S1727939AbgHQKsn (ORCPT + 99 others); Mon, 17 Aug 2020 06:48:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726403AbgHQKsl (ORCPT ); Mon, 17 Aug 2020 06:48:41 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04958C061389 for ; Mon, 17 Aug 2020 03:48:40 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id 189so7292995pgg.13 for ; Mon, 17 Aug 2020 03:48:40 -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; bh=6l78lXwR/yjlw8bo2gFOnw4SGZQb3C/vx4zGLauS1as=; b=skok8w30JX83F/n0CTjywpZkjOauFx8e98U3T7xkSpAcx2wxT90ofOzO80ro0566IG BKWfbDesOgk8d3hUECshOfwo4bG0AsItZi7foV3vbE8wc8MbGopUvz0gTi2UVG90o7f2 S0fnXrUgHt/LBmvl33phs5qfPVkaUViRiMo1L3NGyalsmL2POsEvDFjuwJRVBR/3z8hm 1/wLPnHVnbMQ8Yn/4/7WsKdsEjR9o7vhFA2S72++Ff+4IQ3+vgw/vOw+jdWEGiAGm49W aJK/xR3ReEVeUET3G8W8Uj8E7L4Kjt7u5ehTWzZXgyRTlBHgl8MBLibjN1ZdXq07TItn tPqw== 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; bh=6l78lXwR/yjlw8bo2gFOnw4SGZQb3C/vx4zGLauS1as=; b=F1eeZYjdI27kLp4RhSyW5IRjr1OXAKKjhaeZWhm1GWVJuH10R1dzIWEcYtMUN6L+DI Qap+KbaVEc6Y2zoslyvxC+Ekxfs7GnW1r2VKQaPEbu58Hs0DYXFVcWmx4KyIWZSYC4Vg pwAsC7zkIliLkv2mkucyufTvuO3eoX5c16q2kCZUhdvwyHzLc4IbFGXWJzDc6tXAKTgX gvbWOpuihW0z8UJwkUTBpTHTuPH3+VUw0pASc4tmu3WCmoY9wV+Rpc4Dd7zA+tEAMg6x fFciQJnoTLZzOv06N92geqjot4nMzvEvqbCIH30ZMoEOwZilucQhpqsFPO21jAcHgJZw Ursg== X-Gm-Message-State: AOAM530vOOH7X+d/YOsvvp18XJHiQHCUFXwaQVnwCEHGyc58vUZx6PvQ nNrSHYpu8AUyHfof1yPatiw= X-Received: by 2002:a62:7853:: with SMTP id t80mr10868286pfc.47.1597661319769; Mon, 17 Aug 2020 03:48:39 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:577:c217:67e6:a40c:a3bf:1945]) by smtp.gmail.com with ESMTPSA id k12sm16976528pjp.38.2020.08.17.03.48.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Aug 2020 03:48:39 -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, benjamin.chao@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com Subject: [PATCH v4 0/9] mfd: mt6360: Merge different sub-devices I2C read/write Date: Mon, 17 Aug 2020 18:47:48 +0800 Message-Id: <1597661277-27862-1-git-send-email-gene.chen.richtek@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org 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 (9) 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 different sub-devices I2C read/write b/drivers/mfd/Kconfig | 1 b/drivers/mfd/mt6360-core.c | 550 +++++++++++++++++++++++++++++--------------- include/linux/mfd/mt6360.h | 240 ------------------- 3 files changed, 368 insertions(+), 423 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