Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1250618ybl; Fri, 23 Aug 2019 16:11:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqxt9M2j91f+tAc8BgO9B4xoU/PyoR2eP9ScmiyV5bliEBRxMWErMpOMKKmGbg86+JpSuiO2 X-Received: by 2002:a17:90b:8c5:: with SMTP id ds5mr7802585pjb.142.1566601914657; Fri, 23 Aug 2019 16:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566601914; cv=none; d=google.com; s=arc-20160816; b=vGKn2s6EmNg313SIefQSpMf1qGi8l+sBgUDZnFfi5xnWXdO+Uj2IV6Nh9D+mwuUQkN k09FjrxmTBM+RWBGuwFWTB3RWa3omDWsYOnyLXyGGqxN7AwRAHO2/zvHTl9Hpjo4dexW k1aSvcLHmlFOq88gKqhHbRYOn5v6xu4TvzObEKTBoZcYTMPrkjD+6FbzumSE91o/RSBX F0DfAzXln9SmibiSqks858uWaVsD/1IV3SGycBjyNQf+QWOjyTeBXlIe9ymn4MNnvnSy jhcHuxvTJ39WY6b05BdlTGjyubBKXsguK5347sl4BV+A5Ut9uNiOS/FsDyGFR3slwgnk fgJQ== 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:references :in-reply-to:sensitivity:importance:date:subject:cc:to:from :message-id:mime-version:dkim-signature; bh=vwsVwDo5mtKr+oMnTs22N5JvRNBsq55dAZnbdSJaGDM=; b=Xaco7z6KsGP1Lv9xIpdtzpO8yP1m2rCed6vuuCv5jNjW+FicXusAYTk7AGHtSa2H6t YiStB+LCSGINrII1ByblEI3kWDrkPgFYzezMa9UqCBscsdjYT61U1tQ/0QyA0YGW1r08 oYveyo6H0SXJOwD98nj92MxQT3LfJTLsqAt00MBX1uSXPD7J6JvcWX0vFpg+JfzGo2q6 zplOnbQ+dV+0r3UUkfzxVDg8DGUqyNdh2Ba+JqKzWbhCuVN9IcyonqKL1vcTLPgIIl9x nvoje9ew8xdDTzyUotv1OE3lT7dPhAUHC9kpGk5LYmhLv6wC24QaAUEKudYNkOJSwI4n 46Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=FBQpYh+k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u190si3987775pfb.189.2019.08.23.16.11.40; Fri, 23 Aug 2019 16:11:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=FBQpYh+k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393101AbfHWMOu (ORCPT + 99 others); Fri, 23 Aug 2019 08:14:50 -0400 Received: from mout.gmx.net ([212.227.17.20]:47293 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391421AbfHWMOu (ORCPT ); Fri, 23 Aug 2019 08:14:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1566562433; bh=ZZeV6qRtSW/Hn8aQJ6GSyIcFFJLdxp8khErjnJb6tDY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=FBQpYh+kIJbWDHnjvns4r0qIa5UOO4cbX3d0pJfuKJQ5y42tn0Tk1LWViStDHVUJ0 l8u0uHxjhi1p4zou1hzwKGXjSAzdCGQY2wrJ5xNMe8gJqqMi9fLM1Hi8HCbLuWtPgM VE1fJPnOd5+1wXqEm283z06cO2yt5UAm9k/d7yAk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [217.61.154.8] ([217.61.154.8]) by web-mail.gmx.net (3c-app-gmx-bs11.server.lan [172.19.170.62]) (via HTTP); Fri, 23 Aug 2019 14:13:53 +0200 MIME-Version: 1.0 Message-ID: From: "Frank Wunderlich" To: "Hsin-Hsiung Wang" Cc: "Lee Jones" , "Rob Herring" , "Mark Brown" , "Matthias Brugger" , "Alexandre Belloni" , "Mark Rutland" , "Alessandro Zummo" , srv_heupstream@mediatek.com, devicetree@vger.kernel.org, "Greg Kroah-Hartman" , "Kate Stewart" , "Sean Wang" , "Liam Girdwood" , linux-kernel@vger.kernel.org, "Richard Fontana" , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, "Thomas Gleixner" , "Eddie Huang" , "Hsin-Hsiung Wang" , linux-rtc@vger.kernel.org, =?UTF-8?Q?=22Ren=C3=A9_van_Dorst=22?= Subject: [BUG] [PATCH v5 02/10] mfd: mt6397: extract irq related code from core driver Content-Type: text/plain; charset=UTF-8 Date: Fri, 23 Aug 2019 14:13:53 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <1566531931-9772-3-git-send-email-hsin-hsiung.wang@mediatek.com> References: <1566531931-9772-1-git-send-email-hsin-hsiung.wang@mediatek.com> <1566531931-9772-3-git-send-email-hsin-hsiung.wang@mediatek.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:nr4dyiSrd5gDD/bbRxF4ZEMIgz3xepFd/XlrekfNAvjvFi0Rx9xJ40d++NeKsHyt0x2if Vsxhi9F2hKxfL2TtgZhz8QB3wGKc7O4PkkNfmHp2rkd+cyNHuOeuvgv4tTWEc5vz/AKmz43rcKVO w2jtE9MncIXl4dzU+xzojsi78V+giOD8SsFFuIaVLPsJYTcyUSiy3wte1lI3MMA1l7eViGEXQQXU yCKnXLU87YTlbIylJbH+NPl9SoVc0aFsk0n3Hp4z+x5ZYnWHl7jBQ13pt2nLpkqQaYEj6njm7x2i +Y= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:FnVj54k4t1g=:xdot20YBEqJE3Af3zCaBWN Bhkf7wY8DCiRL/dAZBYCJ+tX4aoZA6MWAIBeFyPLOS1gVGIbxCzXRz+7jJbzi3VdLA9lLq9VX khKYQ3M03zz3DK/k4cSUE8BNkY5STJDWdOarnUPjWEFbYi1sAIMrxEhc55jbnAKL59/Ek4dl9 WROreyN+6//0XzUk7kMUjeMmqPwOVKQXW4+xCzS3i8Yh3b2Jv033NVjhDfxHG5BLsJoW6BOcO nO+aobMhP5FqUb2aBCnQ9sPjA0Xo9pLiC71DAGgfe6kPNVpeP7Qss6j604hQqk5rTv0UIi6WK mR+UddvyW9pHXMhIWZdVnEZ1fAQxXsZdoRKQThlZ1Oz9o8iUca4ES+4R0x89lOMQ4Q4kM9/8H Cp1J3hL8C5iVpG5JsNsxqV3BVXZBCYZkpCdB+a6lCjEbkMPoB78sINVR3smTfETnHbq9WkbL0 EV/uXYkwijeRyfx/7dh++1bj1hKeIaLfrew2OuZWysvrQdgBQxTrlfmWvq1olPIdBqiNB57rj oRsUMxl9y9Ol/SJtBbnbnADmPVLNlN+7wgl6WaWyNaBVg/6Gnk2lOf9G5P4zD1MDH6lRJ3vU2 Un1VhrxjKj6kjzX/bMOI1VupE+fMVk+urJQ3DefrmrYUi88bbyplr1v4M8QpGaZZQM6zEtPhD +pVMmTPI6cM2yQC9gSvpZ6ikWI161WUqjQKjzXdXKLxy0Qg== Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, this commit breaks mt6323 pmic on BananaPi-R2 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit= /?id=3Da4872e80ce7d2a1844328176dbf279d0a2b89bdb resulting in this message in dmesg: mt6397 1000d000.pwrap:mt6323: unsupported chip: 0x0 and multiple mtk-cpufreq mtk-cpufreq: failed to initialize dvfs info for cpu0 see discussion here: http://lists.infradead.org/pipermail/linux-mediatek/2019-August/022505.htm= l after reverting this one the errors are gone, please provide a fix regards Frank > Gesendet: Freitag, 23. August 2019 um 05:45 Uhr > Von: "Hsin-Hsiung Wang" > Betreff: [PATCH v5 02/10] mfd: mt6397: extract irq related code from cor= e driver > > In order to support different types of irq design, we decide to add > separate irq drivers for different design and keep mt6397 mfd core > simple and reusable to all generations of PMICs so far. > > Acked-for-mfd-by: Lee Jones > Signed-off-by: Hsin-Hsiung Wang > --- > drivers/mfd/Makefile | 3 +- > drivers/mfd/mt6397-core.c | 146 -------------------------------- > drivers/mfd/mt6397-irq.c | 181 +++++++++++++++++++++++++++++++++= +++++++ > include/linux/mfd/mt6397/core.h | 9 ++ > 4 files changed, 192 insertions(+), 147 deletions(-) > create mode 100644 drivers/mfd/mt6397-irq.c