Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3851442ybl; Mon, 9 Dec 2019 00:52:24 -0800 (PST) X-Google-Smtp-Source: APXvYqxTpozcnRyWBmkqJChB4Nk4HirpnxzhtExQ+A8lvnc+JDHeaIgFukg2pcs0GDNZvLDucsUa X-Received: by 2002:a54:4518:: with SMTP id l24mr603858oil.41.1575881544442; Mon, 09 Dec 2019 00:52:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575881544; cv=none; d=google.com; s=arc-20160816; b=FFXvyQ41814K71xJ7oQgyFeBRWUT3Q4Y85jmHBBCux6FxZCPyI/4om3RrVM6zbggkm O4whw+1aSujAitbUVcRAIZgqgav2p1+yAFuT496rR/1N8Qdk0bxGFUvaeDhN7TqomgHI AQoyeaiQ1fTSdxWfGGNq2cndUGJrjBRpcngKvITztbENx/bhGIE2Y7NLpcGVdASnZV11 H/Vf3Y0+e5D/r7QQHRO2ga/fTtDGtDBM8jsW4T6TqM4fnikyM/PlgRpG7lZoEjo7Svtc 8G+aFe9Jlm1CoauiDJ7xIQslSMgYAQPLJJTKuaYARPW/MeMCKH7+fMRe/DfOfa3+cMf2 5G2Q== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=Xr2/g3CmQSCe7XSe29tjEitMS2VOZyuM620kmLXWO6Q=; b=AyCtYiNhYIyboEATipaGov2vnM8oxEE+0kLsLUtGB+WGrD8eQ0Xe+LBR3FUfAlXMWX OFHIdG/eqCzUUEYsD6W/IwMVsgFz4jzyjqEF4cUUKby8y1ZSGjx6CAOcF+mHiW/qffIX 7Fs8la06hv14V3VFAqzwsVs/6RGSPc5HamerT0TW2DB0mNGaMC2HqYdE3gdS8sNyv9WQ /cDE9cllMJuhCyeXcb/VlHuW9CEsi9sNdGmMZ08hdI1qBFgqboqcHahMenvgTip6qnwk GR4ba0sQI68u3HJ/qPFytcjNKYfkpQldql1qgspG+kmGzOSv+1xT6a4uWwudvuM1mlWQ o41A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=P1xvWC6H; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i26si12326085otp.46.2019.12.09.00.52.13; Mon, 09 Dec 2019 00:52:24 -0800 (PST) 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=@mediatek.com header.s=dk header.b=P1xvWC6H; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727247AbfLIIvW (ORCPT + 99 others); Mon, 9 Dec 2019 03:51:22 -0500 Received: from mailgw02.mediatek.com ([216.200.240.185]:51580 "EHLO mailgw02.mediatek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726377AbfLIIvW (ORCPT ); Mon, 9 Dec 2019 03:51:22 -0500 X-UUID: ff33343a19fb4fcc9e4480a7861245f0-20191209 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=Xr2/g3CmQSCe7XSe29tjEitMS2VOZyuM620kmLXWO6Q=; b=P1xvWC6HDaWhqgmYSncCgQAH8w+XZKpkMz44/oBFhr3zDee4L99O/yiaD85cTEOn8EXnEagEfkFkVPxxVmnbqNJOMLxJS/m3Gz9GOeQyUnuS9vcBkk7Dcx0jEiaGsAWnzwfrYy3zLCfeFRAqBT9QE8qDuQWL09gK29ybu4yV3ig=; X-UUID: ff33343a19fb4fcc9e4480a7861245f0-20191209 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1426792079; Mon, 09 Dec 2019 00:51:20 -0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 9 Dec 2019 00:52:19 -0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 9 Dec 2019 16:51:03 +0800 Message-ID: <1575881471.14479.2.camel@mtksdaap41> Subject: Re: [resend PATCH v6 10/12] clk: mediatek: mt8183: switch mmsys to platform device probing From: CK Hu To: CC: , , , , , , , , , , , , , , , , , , , , , , , Date: Mon, 9 Dec 2019 16:51:11 +0800 In-Reply-To: <20191207224740.24536-11-matthias.bgg@kernel.org> References: <20191207224740.24536-1-matthias.bgg@kernel.org> <20191207224740.24536-11-matthias.bgg@kernel.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIE1hdHRoaWFzOg0KDQpPbiBTYXQsIDIwMTktMTItMDcgYXQgMjM6NDcgKzAxMDAsIG1hdHRo aWFzLmJnZ0BrZXJuZWwub3JnIHdyb3RlOg0KPiBGcm9tOiBNYXR0aGlhcyBCcnVnZ2VyIDxtYnJ1 Z2dlckBzdXNlLmNvbT4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