Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1204040ybv; Thu, 13 Feb 2020 18:05:02 -0800 (PST) X-Google-Smtp-Source: APXvYqzxnJpibb31xem9ZZis3/B2iqFb/4EwUduu/OJNj6RbX6VmQoprPkGMeAY03M7690ZBtFZV X-Received: by 2002:a05:6830:2110:: with SMTP id i16mr380429otc.337.1581645902666; Thu, 13 Feb 2020 18:05:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581645902; cv=none; d=google.com; s=arc-20160816; b=Udkwy3Ju1Wwwn7lEhHKmoybAHzdwVGFSYQGhcHzr1AUooj0cIJ0TDbJaf+yEnEkoWA bj/JoGJzyOe/Rifky8IZdc+JGC5U3CA7MipSu6OONdlryHuBZspCRKWf4qHrQbCBxS/L lYPp8k21L+/hhlDtVzkciWstdlM0ts2SunnPEztTFXmmpJXRiu03eAsVZNW2lrUoaozI j0yJVWfhwxpNHc2y7SPOuzlKbFd+OEMFLGGt7PBEXmqSGG9GVu4Ir+7K5HQPW6IkniU9 kdeajB80WCgpYz81/wz7/leAy5L1nCvpNisBHNZ+aOXQ0OKhYGgDTFUgV05XLzQLjZbZ BAnQ== 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=5kuuBKwpTdX0p4HJiRAoqn7HWcPfUW5EtfpYL3ZhCNs=; b=knIucCf8mDceFk6ljVYJglw1MR6KYhlZpDA0BsLY82Ny1e4F9+X1uBHWPZvzxqAeY7 9p+W/5dd+ItWl72+jpjBdlgnU1baBFfIgZyMp+UgPXUTaLEVlJ2VT7yJRL+iJGquqB3Q AubiGE3z4TGJzdthX/K3dUNd+1dbV9z6MPUAmTQiUmu48FGSja+rdoqMAabE+5+BC/wL Clzd+IHEXojvINtDFRC2cZAdcR3HXhBRordh6EQ7TJQtzOXSdEVeOusvxOVZiRa+Dq1F +OSOQE265yhF4+o8YsMOAo/Ph69ZikVhpTb25i9p3/Nmv+ytF8RbTXawCu1GODiouide nKlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=t2l4dAhY; 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 b8si2032300otf.32.2020.02.13.18.04.49; Thu, 13 Feb 2020 18:05:02 -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=t2l4dAhY; 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 S1728355AbgBNCC7 (ORCPT + 99 others); Thu, 13 Feb 2020 21:02:59 -0500 Received: from mailgw01.mediatek.com ([216.200.240.184]:37030 "EHLO mailgw01.mediatek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728052AbgBNCC7 (ORCPT ); Thu, 13 Feb 2020 21:02:59 -0500 X-UUID: bd4dd24d56574b39878d2be9792b1aaf-20200213 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=5kuuBKwpTdX0p4HJiRAoqn7HWcPfUW5EtfpYL3ZhCNs=; b=t2l4dAhY+2Fng+4k5/ovqJsy1gYRA9OXtImVPDXaON1Zp4etcAr0r9Hc3MJF869tohF8vm+gODwMd25Ugs0Yx8wW0RWQ4/ob0R9niL7MhYVk34jMBD4vOKE4X7BpJrrI3e3idHell2kQKZQ0OK62kSJTGWZwtzvqdlcheRkHu00=; X-UUID: bd4dd24d56574b39878d2be9792b1aaf-20200213 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1788984706; Thu, 13 Feb 2020 18:02:50 -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; Thu, 13 Feb 2020 17:53:01 -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; Fri, 14 Feb 2020 09:52:11 +0800 Message-ID: <1581645161.22833.6.camel@mtksdaap41> Subject: Re: [PATCH v7 11/13] clk: mediatek: mt8183: switch mmsys to platform device probing From: CK Hu To: CC: , , , , , , , , , , , , , , , , , , , , , , Matthias Brugger , Matthias Brugger , Weiyi Lu Date: Fri, 14 Feb 2020 09:52:41 +0800 In-Reply-To: <20200213201953.15268-12-matthias.bgg@kernel.org> References: <20200213201953.15268-1-matthias.bgg@kernel.org> <20200213201953.15268-12-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 SGksIE1hdHRoaWFzOg0KDQpPbiBUaHUsIDIwMjAtMDItMTMgYXQgMjE6MTkgKzAxMDAsIG1hdHRo aWFzLmJnZ0BrZXJuZWwub3JnIHdyb3RlOg0KPiBGcm9tOiBNYXR0aGlhcyBCcnVnZ2VyIDxtYnJ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