Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp501138ybf; Wed, 26 Feb 2020 17:19:11 -0800 (PST) X-Google-Smtp-Source: APXvYqzrUF7jfBb9TPYiev1hv++l93DWckVqNak+QvZD27nBtvX4ksKXeA0Z0jt+KAmgLOrsR7AG X-Received: by 2002:a05:6808:aba:: with SMTP id r26mr1476786oij.4.1582766351419; Wed, 26 Feb 2020 17:19:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582766351; cv=none; d=google.com; s=arc-20160816; b=yJh2GthHJHERRidBIlZIJ5cgAergVHFJ5+GgVpF+ORejEAPFJ+h55GZS06Pyu76Icq 30/JiOPvwVQIhFiFXr3oT8z0rvJ1iqOMcJYZ9bIMDmO3Ev6UMXUwg2+KkXrftrZXNMGM WeLbAX2GS/ZQURvQZ0ks+gjQa4HrCx/NnbjZ9PkYNGKW3S1U0/+uNj9DhGbRxNb+dXW8 em6Ma5FvhZGkhGxkTnu92NRkmCbxAZWmIno02sFZlIUSnOXsE/MsBVP/DeeqgAxa7x6i 0siXyPflJ6JJrmRBGKxB73/N2BFhjYlBsHnAMRUxfaKPe5gvhCmIZ2TnPbX/5Jpb3BpW QZtw== 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=yXW8DIWB0/OF+vlxKwtMdA9ZUE5alnauOjBVkRixaho=; b=NGgk5QVeyzgbvcQTKY+hiSBv4TG/FmyMErS972XTgARJ1bhOMW+QoDp8QXHjgEHsRx WSa4Ppv2ydL56MimhNUpr4u6DZFSBUvVaU1fXIZXKFqnyZs3fm/6Hu5Zvsl9p2gosfIF pX4RRp+o8ifrAnR0DRayr/CwF/pXgorCWLFIynk4D2hfMa5GyNRs+v2A6aSC8r9FEmFF QwdIEuna5HOmEbXy1gfIBZWUW51HScZ5g5Abv4DZ8VuJTgA8wQLRA07rjetBkwxDXMZ/ Ab5yhQ1ybf1/P6q3SeDFixPqVc6BW1f6xT1Sg6t7JAhW+AU2s2A8qc69ZwyyKf7GlRpY rsqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=UtKQrtG9; 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 f204si498413oia.43.2020.02.26.17.18.58; Wed, 26 Feb 2020 17:19:11 -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=UtKQrtG9; 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 S1728157AbgB0BS4 (ORCPT + 99 others); Wed, 26 Feb 2020 20:18:56 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:31531 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728094AbgB0BSz (ORCPT ); Wed, 26 Feb 2020 20:18:55 -0500 X-UUID: 8c623ce9db9e4ca3a5c20d82e806e0e2-20200227 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=yXW8DIWB0/OF+vlxKwtMdA9ZUE5alnauOjBVkRixaho=; b=UtKQrtG9tksb/cEl/2nkoget1sJkqS/veERIP2lHjry4+ZmSqAZ5ND3ebndPK4FzjVUADk43UTvsGvB+WoB6LLYtU0nCT8UQttuxI2SKpjQpdgCQ3IOUmbB4kKAZowSAUAXEwuMm2xf0zZOLeD7Wr7+f5MITqQXh2uoYvGZnMC4=; X-UUID: 8c623ce9db9e4ca3a5c20d82e806e0e2-20200227 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1207506835; Thu, 27 Feb 2020 09:18:49 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 27 Feb 2020 09:17:55 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 27 Feb 2020 09:18:37 +0800 Message-ID: <1582766327.20746.4.camel@mtksdaap41> Subject: Re: [PATCH v9 3/4] soc: mediatek: Move mt8173 MMSYS to platform driver From: CK Hu To: Enric Balletbo i Serra CC: , , , , , , , , "Mauro Carvalho Chehab" , , , Weiyi Lu , "Seiya Wang" , , "Collabora Kernel ML" , mtk01761 , Allison Randal , Thomas Gleixner , , Kate Stewart , "Greg Kroah-Hartman" , Houlong Wei , Matthias Brugger , , , , , Minghsiu Tsai , Andrew-CT Chen , , , Matthias Brugger , , Richard Fontana , , , Daniel Vetter Date: Thu, 27 Feb 2020 09:18:47 +0800 In-Reply-To: <20200226105419.632771-4-enric.balletbo@collabora.com> References: <20200226105419.632771-1-enric.balletbo@collabora.com> <20200226105419.632771-4-enric.balletbo@collabora.com> 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 Prec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