Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp919140ybt; Tue, 7 Jul 2020 03:33:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkN1Z5zUCe6vAZxznQlI3p/i+Q4f3Mdr2a1WlZU6u/VJK03y+RcINaNFyJNcG3NQj6UitX X-Received: by 2002:a17:906:c0da:: with SMTP id bn26mr45695759ejb.359.1594118039458; Tue, 07 Jul 2020 03:33:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594118039; cv=none; d=google.com; s=arc-20160816; b=dYjVL9rofERSzy3CV9VfIZpMasuuWaQyDKOPYGtgE7IS7wrdKGNkjnNQt+6c8qI9m3 23xCNregB9JIgPfRTILBdGAZmOqxc/grfy0GtFuM14G9VPnO0rQGfLg7loYTAvMMBXM9 zOldxViCI3BCTpMc44PpkbV2zaoJ+9nmiXm2NZ2SeQTRNVxxQ2Bmt9/d4RrGWgmEojud 3nS4+Y/Y8jU1sg4TVQG+p2C1/ILndLZ0CHqF0rSu/uCWnZOK5pkuG93Ks8eYw/2grJNi An7KjnfjnxAVVg8shuvPnmXLxHDl2W5FCJnUrfBGdYhMdArbfOxA2QpEwxXv5oaoBQrc fhNw== 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=zxuPhyQPrCkY8RwKHf/iDbaI7cQGRWG/m4jeg+A9cWM=; b=L6eu9AEpPred36uxKMPm+a5KBzndMl/O8diiRwAYJh2iNSHnKNeD7QXnMhkmX3DNtP 6s4pRyMGNZXIITYz/hzhOjeenbepBbHTuQYusWlUjaOs+KGWoLSJc2jEgPbywOoyJu/L dFXrHDFJaerBDyDmiUTSsVHXpwSjfYMKFFfDHveX607Tvk9Dride+2/eD9zc5jKoyX5t LkFa9OX57cbE7aUoQAYU9YRZ4GAJrHEgwzh50BHbXIFsB8y5MzdeUhRWZFm0sSFmxorO sdAVoN+Lt29HJ4ioBhf6WGKtUcWghzVfKGNJwLDYD6kfZzU09VMaCkGugqPGXJyUM1Lz TkgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="DYVMc/rv"; 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 e20si15080154edv.26.2020.07.07.03.33.35; Tue, 07 Jul 2020 03:33:59 -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="DYVMc/rv"; 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 S1728048AbgGGKbG (ORCPT + 99 others); Tue, 7 Jul 2020 06:31:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727058AbgGGKbG (ORCPT ); Tue, 7 Jul 2020 06:31:06 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A766C061755 for ; Tue, 7 Jul 2020 03:31:06 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id k5so8777181pjg.3 for ; Tue, 07 Jul 2020 03:31:06 -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=zxuPhyQPrCkY8RwKHf/iDbaI7cQGRWG/m4jeg+A9cWM=; b=DYVMc/rvsWjerLh9VJFN6BzYe22rkBMpf7ZdmAztCeUNLETBwUYxFzGO6xCpkvxrOa O8OhThpyu/Ir/ldtsTqi0kyc++7tgODibrHl1wxW2WEnNcSoCUzw1Tx5FhmF/0poNuYt 62D/iekrlWzhHQmWKzE57RYSjQ5fvidbYlIxuP5wwDP+z7m0DSUfS+hzVcT46CKUeJaA SwkxUreVzJAJpd7OqbQt4g+GKCkRHk+YzVTR9IG4n8TXOlzhD5fIggL5j9f25SyLOSkJ kHtpPgJha1ykSnOka38RSIXpp6pDbO81goPYQkpOo6D1rXt4Yf8UJq+2xCvLUpW3StFp kcHg== 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=zxuPhyQPrCkY8RwKHf/iDbaI7cQGRWG/m4jeg+A9cWM=; b=dbp6CnX0psCVeQhMVNNkkTnSka5IX4VjRJcpCdbCbIXRofH7x1rzvvcpJoIpUVEN3m OQyoD/H9JYpMK/xPdK83oOXpbADzxfi/6sWZ0ONBwymi0Xoz2iZvyCvJhm1BPG7Axh5+ 2iYxXq9Q+lVx15qLOwEhxQtkImmRMxcjAIctNvQNsrvJAlwzz09MDZwhva/fGRueylDW Gr+ValqqWb9xIm8VPPZ2YAO54mPdyk59V5cOp8hDwxgUHaYhm5BlNJgjQOzfv8pLAUaW FC079qP/wnzYarqbmjHu6SC2XLt48oE6uQqu6XvhJfPP565Pd822zRtFsPN7cWYghIIN S0Hg== X-Gm-Message-State: AOAM531tvpTs6lzrIcU4EYB5bYBVlKOAu3wHCQuxqDJ13HUFyF19ag+/ 6LXBpXmmJwgo0VjZ+oVCLM8= X-Received: by 2002:a17:90a:c290:: with SMTP id f16mr3676405pjt.143.1594117865675; Tue, 07 Jul 2020 03:31:05 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:549:1a30:cc80:8285:be58:d37a]) by smtp.gmail.com with ESMTPSA id io3sm2159014pjb.22.2020.07.07.03.31.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jul 2020 03:31:05 -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, shufan_lee@richtek.com, cy_huang@richtek.com, benjamin.chao@mediatek.com Subject: [PATCH 0/4] mfd: mt6360: Merge different sub-devices i2c read/write Date: Tue, 7 Jul 2020 18:30:52 +0800 Message-Id: <1594117856-14343-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 In-Reply-To: Gene Chen (4) mfd: mt6360: Refactor and fix code style 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 | 541 ++++++++++++++++++++++++++++---------------- include/linux/mfd/mt6360.h | 240 ------------------- 3 files changed, 357 insertions(+), 425 deletions(-)