Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3808434ybx; Mon, 4 Nov 2019 03:15:20 -0800 (PST) X-Google-Smtp-Source: APXvYqy35SQtiE1NWN4daM5tzYFUp+5P5cYF9a7eHyxYIcbGR+TnEiYpV7uhPgXiIxZMMYp5kIZD X-Received: by 2002:a50:8c02:: with SMTP id p2mr2011054edp.30.1572866119942; Mon, 04 Nov 2019 03:15:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572866119; cv=none; d=google.com; s=arc-20160816; b=eLuL8OwUSQoWzbdV7cT2kBf784waXZk6s9cGRloCStmhTGm4vVV4o6EhQP6BQiZ47d SuJgXTRoBpUanmZopbEuO6F2lMnJFLC0e5FZcU8sHE8ioIw9DTuwosMnd/OGmHmmzJQ8 1BEEZjGzaz3EiEjBounLjqOhdy6f6EkYX2/M+9QN2RPx+q5tWby1awYdt9QBPdwbGlWb vy0mmFdME0E/14vJrx3P9+V80vQK2/E8l2zxsdjUiBIxt7UbzePiBZt0dZjfCOXPH1mF n63I67kTtttXgceo5ukB7kz09hI6Dir9+XFG5cab0F4w97AHAQ4uIdsh8DD+yP+a4Ge6 1eaw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject; bh=7RO8SXaAv9F9Hg+6nV3coeLHjGX2AunXKIUYdLH7UPQ=; b=k7LTo5ECZbiLYCSmXd7HoNg2FAunwKK9iFOPiiRuurlUCIHf+baOqFYLmIOVirJEq6 yu5FJzInogFWCF4u6fqq8UVeZ4k+ej1OxIGUt7nXJyFszWBsNQx5NqigSrWnDcca9ohM nn/C1vOzkwqOjdRa/mDRunxcng/RRT0yWXl5uTMbMoKfEMOFutzhHcVZzmBesfsX0XDE I+e/UOF3NRgmlDwrwTQJKR2+7nb1/8OaFVDbDhwVrStFYvoQlkpMHDi23KFzFd9kFpD7 2jgHVVzKXscDXmP9mfxPwmGFU9DCUIKyIgoBP+B0C2ApC3X7ediogfWZ8BCwbkYFhGE7 pSyQ== ARC-Authentication-Results: i=1; mx.google.com; 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 y10si11097685ejm.93.2019.11.04.03.14.55; Mon, 04 Nov 2019 03:15:19 -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; 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 S1728444AbfKDLOP (ORCPT + 99 others); Mon, 4 Nov 2019 06:14:15 -0500 Received: from mx2.suse.de ([195.135.220.15]:54684 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726071AbfKDLOP (ORCPT ); Mon, 4 Nov 2019 06:14:15 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3F045ABD0; Mon, 4 Nov 2019 11:14:12 +0000 (UTC) Subject: Re: [PATCH v5 03/12] clk: mediatek: mt8173: switch mmsys to platform device probing To: Hsin-Yi Wang , matthias.bgg@kernel.org Cc: Rob Herring , Mark Rutland , CK Hu , Philipp Zabel , David Airlie , mturquette@baylibre.com, sboyd@codeaurora.org, ulrich.hecht+renesas@gmail.com, laurent.pinchart@ideasonboard.com, Matthias Brugger , Devicetree List , rdunlap@infradead.org, sean.wang@mediatek.com, lkml , dri-devel@lists.freedesktop.org, sean.wang@kernel.org, wens@csie.org, linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" References: <20181116125449.23581-1-matthias.bgg@kernel.org> <20181116125449.23581-4-matthias.bgg@kernel.org> From: Matthias Brugger Autocrypt: addr=mbrugger@suse.com; prefer-encrypt=mutual; keydata= mQINBFP1zgUBEAC21D6hk7//0kOmsUrE3eZ55kjc9DmFPKIz6l4NggqwQjBNRHIMh04BbCMY fL3eT7ZsYV5nur7zctmJ+vbszoOASXUpfq8M+S5hU2w7sBaVk5rpH9yW8CUWz2+ZpQXPJcFa OhLZuSKB1F5JcvLbETRjNzNU7B3TdS2+zkgQQdEyt7Ij2HXGLJ2w+yG2GuR9/iyCJRf10Okq gTh//XESJZ8S6KlOWbLXRE+yfkKDXQx2Jr1XuVvM3zPqH5FMg8reRVFsQ+vI0b+OlyekT/Xe 0Hwvqkev95GG6x7yseJwI+2ydDH6M5O7fPKFW5mzAdDE2g/K9B4e2tYK6/rA7Fq4cqiAw1+u EgO44+eFgv082xtBez5WNkGn18vtw0LW3ESmKh19u6kEGoi0WZwslCNaGFrS4M7OH+aOJeqK fx5dIv2CEbxc6xnHY7dwkcHikTA4QdbdFeUSuj4YhIZ+0QlDVtS1QEXyvZbZky7ur9rHkZvP ZqlUsLJ2nOqsmahMTIQ8Mgx9SLEShWqD4kOF4zNfPJsgEMB49KbS2o9jxbGB+JKupjNddfxZ HlH1KF8QwCMZEYaTNogrVazuEJzx6JdRpR3sFda/0x5qjTadwIW6Cl9tkqe2h391dOGX1eOA 1ntn9O/39KqSrWNGvm+1raHK+Ev1yPtn0Wxn+0oy1tl67TxUjQARAQABtCRNYXR0aGlhcyBC cnVnZ2VyIDxtYnJ1Z2dlckBzdXNlLmNvbT6JAjgEEwECACIFAlV6iM0CGwMGCwkIBwMCBhUI AgkKCwQWAgMBAh4BAheAAAoJENkUC7JWEwLx6isQAIMGBgJnFWovDS7ClZtjz1LgoY8skcMU ghUZY4Z/rww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:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31/10/2019 05:17, Hsin-Yi Wang wrote: > On Fri, Nov 16, 2018 at 12:54 PM wrote: >> >> From: Matthias Brugger >> >> Switch probing for the MMSYS to support invocation to a >> plain paltform device. The driver will be probed by the DRM subsystem. >> >> Signed-off-by: Matthias Brugger >> --- > >> + >> +static struct platform_driver clk_mt8173_mm_drv = { >> + .probe = mtk_mmsys_probe, >> + .probe = mtk_mmsys_remove, > Should be .remove? > Yes, definitely. >> + .driver = { >> + .name = "clk-mt8173-mm", >> + }, >> +}; >> +module_platform_driver(clk_mt8173_mm_drv); >> >> static void __init mtk_vdecsys_init(struct device_node *node) >> {