Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp752414pxb; Fri, 8 Jan 2021 18:14:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJznjoTfp0E3cF8gxVAlsmVLOE4FKUWejRrrGsPugdbIzlrB8nll9uZS7U0sNzc7hP+erjFC X-Received: by 2002:a17:906:f905:: with SMTP id lc5mr4346031ejb.177.1610158492071; Fri, 08 Jan 2021 18:14:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610158492; cv=none; d=google.com; s=arc-20160816; b=yBEwViaQtreMmBoNvJEosGa4gVR5KC+dQLkOM+wLWcZBEcb/57QY1isII+VyJdOx/y EAxPQnQGLC3XeNhWNT4qke7GjgM01NEyKZSOMQ4jALAapBfzAfDc2um8wDyXGYlQ5pKk Op0j5ITG/T3Bs08zDGoB/SY73WXBm3MK2+c3HUoFQ98q9P13Xj/toss0gfWQVjibS8Tk N2NmGvPqJW/P+s3WsJVMJY8CaULlSDw658qMbKwyj+/P1xupye4vd4tjxQMuGLnzr1fj AJP/HzQstKR098GuecOplUoZwCSjlD9yungJZc4tLeMjbZG3Nmv9KGBwSD5b5l74J1fL gb3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=BhaUdlF1PlSZ5FcSDvx6aH0Je9ujypj8dVsv9q5jAno=; b=sypWZZF3QevULX6ZPN9FrRARP8MWxGInbifEVDdXRjgcZfrU5EYojulmw+jY4svpI0 td6seAUQBo2BaT/7AcMphrhyEt6SHQB8oK6eII6Ah+p+6d3sY1PRilcNE/gzBhMCMU3n fuo+qxjX+M9Kea7Qilomg51L9+swhY4lcGwoVOTr5yaKAZyY9SAmm4zODvK+adIHtlO2 5Js14UcYeDs4uBa2Azf5Ka/J2KLeOGcgB3RuZiw8z1YSd0DQ8qRUEPLAHLkZhSNyqrLo l6vTQDDgrvHOvJPncFtLrsI03KzxUiAsopzJpH2ULXilvUoyuu5QP5VzN0l99C5cGpp4 BivQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QygVfo2n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e22si4249223eds.52.2021.01.08.18.14.27; Fri, 08 Jan 2021 18:14:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QygVfo2n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726364AbhAICLi (ORCPT + 99 others); Fri, 8 Jan 2021 21:11:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:42238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726078AbhAICLh (ORCPT ); Fri, 8 Jan 2021 21:11:37 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id EC761238EC; Sat, 9 Jan 2021 02:10:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610158257; bh=EDiuihkI2zHL3YX+YyvVNrWe26jYFlwF8QTuQEZCbkw=; h=From:To:Cc:Subject:Date:From; b=QygVfo2nV59Sajx3EWeE0ByXrAMFCYRfmPB9WAX072niACBy4umZ1FtX0N+B33xjr 5oQdrZcBwIxnGE3Q2wlH52ow98pTlepl2c5O/NF+/sAWETV7P2IijEWoZhallGIGX7 u9lD17bqxEacfJxZT8/Y2S9n3ftcg7D6Q0BZtFBYQvzxR6NteNtTobwhyCUqYjPqKy lrRlMISTXIwWN02VjH6wEt/gMul4dxghy4pwDu0aNgTygG4tbgkBQrVJYUri9Bmw71 t5U0gTppjRwuysce9jqeH1sTmBSo1e7QLapQVGo2tZLvxYHfJdv+IlK4BkcWHO8gz7 4MA+TCFvPPumA== From: matthias.bgg@kernel.org To: Liam Girdwood , Mark Brown Cc: Hsin-Hsiung Wang , Axel Lin , Chen Zhong , Gene Chen , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Matthias Brugger , Matti Vaittinen , Matthias Brugger Subject: [PATCH 1/3] regulator: mt6360: Add OF match table Date: Sat, 9 Jan 2021 03:10:44 +0100 Message-Id: <20210109021046.21907-1-matthias.bgg@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matthias Brugger Binding documentation mentions that a compatible is required for the MT6360 device node, but the driver doesn't provide a OF match table. Signed-off-by: Matthias Brugger --- drivers/regulator/mt6360-regulator.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/regulator/mt6360-regulator.c b/drivers/regulator/mt6360-regulator.c index 15308ee29c13..07cbb9bb3c09 100644 --- a/drivers/regulator/mt6360-regulator.c +++ b/drivers/regulator/mt6360-regulator.c @@ -445,9 +445,16 @@ static const struct platform_device_id mt6360_regulator_id_table[] = { }; MODULE_DEVICE_TABLE(platform, mt6360_regulator_id_table); +static const struct of_device_id mt6360_of_match[] = { + { .compatible = "mediatek,mt6360-regulator", }, + { /* sentinel */ }, +}; +MODULE_DEVICE_TABLE(of, mt6360_of_match); + static struct platform_driver mt6360_regulator_driver = { .driver = { .name = "mt6360-regulator", + .of_match_table = of_match_ptr(mt6360_of_match), }, .probe = mt6360_regulator_probe, .id_table = mt6360_regulator_id_table, -- 2.29.2