Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2061100pxa; Mon, 24 Aug 2020 04:08:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRe0xHcpdWX8NGcRUbnr/hpYRTB2anY4cJbpSz5LhAJG+qEZP8Rheb4gLJR52F5lTJOLCL X-Received: by 2002:a17:906:c7c8:: with SMTP id dc8mr4863287ejb.285.1598267318650; Mon, 24 Aug 2020 04:08:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598267318; cv=none; d=google.com; s=arc-20160816; b=PFo4JOyerTfXJCGxfqW8cUtMFtCv5zGoDR4JIjCtEyp4Mmt62XV4eZg5gtesD8vM/J M4p8K8MPMpOk6O2+Cz5K6gzigb8inDzCRqM7S7b19bd3TXjIJwABlMMdClG4hkzuMvjD nBh9J6SRczhJgecSOggZbtRqZRR4JChKFYmmXBsxkL5b/cn1SQ6LRQEoY/tfHatxmUhx bHpjq9RtJaHYW1xZiE+lJzjrMq8m3+6fJslyg3ZuXnlUu3egN7QEGmF194y/5l4Kpea3 VpoKF0M9z5M5pKFXCil0CIWf7cCR21OKe2fWaNIdG7psLxH48ZVeO/1c7Aj7i5/DUMYY ZzyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=soqrCDlDWd/K2tJyvCZ7u1E3cGf8lKlbSn6TcAaqIlI=; b=EqIV4lGENHxQqImCBdQISMBNIqtg7x1EuMBQZ6x5psHSARUsb1p9yKh1EwY4AtQ/26 z6YRdl6TORTaGWM1MZ7u8LGYHOOpchW7tm4OFEBPBscWLpkYe26JI60WWm3sSOOBCAef GsC6lU0GWGlZ21W2KWcAETGn15J13cYlRqDqzqlotsfX+huS/2MxjfHMwA8yHgEIG2xK go32STeglTT6wmVXCVT8/kpcHgf/kSA9z2OWeuNqpkG2MI03HXGScfPm/gyviiSNfnlZ Zr945nw1s+hvbreMDj8Vf6tGit3A3152WdPNG4X458G8QLQUOP3Fper7lBr1CP/WpYx3 uJow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uI7LWHi3; 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 g6si5341960edq.456.2020.08.24.04.08.15; Mon, 24 Aug 2020 04:08:38 -0700 (PDT) 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=default header.b=uI7LWHi3; 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 S1726483AbgHXLFi (ORCPT + 99 others); Mon, 24 Aug 2020 07:05:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:53700 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725906AbgHXLFd (ORCPT ); Mon, 24 Aug 2020 07:05:33 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D0443206B5; Mon, 24 Aug 2020 11:05:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598267133; bh=9APzb+PIK28bYSi6UfNZRcD15AFZZuBMXg3adS+rpc8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uI7LWHi3gy3FVvYd39Lj7Q3nWy2hq5jsyryJzwcxW8RTZqgwfjWbctyzU/z8DKTwN hEGSqZctJAo3maBX3X/U31Vy/iO8Kc6l+uyjeNlDBFRcy9QqzfncV+KgQ//CNQHSX7 YpwbJwTP39TX8nppWsgCeYU3GGpGn9siQaUw/yoo= Date: Mon, 24 Aug 2020 12:04:58 +0100 From: Mark Brown To: Gene Chen Cc: Matthias Brugger , robh+dt@kernel.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Gene Chen Subject: Re: [PATCH v3 1/2] regulator: mt6360: Add support for MT6360 regulator Message-ID: <20200824110458.GB4676@sirena.org.uk> References: <1597910022-22617-1-git-send-email-gene.chen.richtek@gmail.com> <1597910022-22617-2-git-send-email-gene.chen.richtek@gmail.com> <20200820114524.GC5854@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="s/l3CgOIzMHHjg/5" Content-Disposition: inline In-Reply-To: X-Cookie: Weekend, where are you? User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --s/l3CgOIzMHHjg/5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 24, 2020 at 06:23:19PM +0800, Gene Chen wrote: > Mark Brown =E6=96=BC 2020=E5=B9=B48=E6=9C=8820=E6=97= =A5 =E9=80=B1=E5=9B=9B =E4=B8=8B=E5=8D=887:45=E5=AF=AB=E9=81=93=EF=BC=9A > > This device only exists in the context of a single parent device, there > > should be no need for a compatible string here - this is just a detail > > of how Linux does things. The MFD should just instntiate the platform > > device. > Trying to autoload module without of_id_table will cause run-time error: > ueventd: LoadWithAliases was unable to load > of:NregulatorT(null)Cmediatek,mt6360-regulator You shouldn't have this described in the device tree at all, like I say the MFD should just instantiate the platform device. --s/l3CgOIzMHHjg/5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl9DntoACgkQJNaLcl1U h9AI7Qf/aKJwrqZi6N40mt5MpwiV+hZ9suHb3xMS5nDmfB/Wbs5e2QhLRELVG8Di V/J+aX+cSq7xN9elG/yRpB6Rv3jEZ+HuzNgWnZT6EEwTO6BFa8JdiDS9Ya9JzOf4 I9mT76nHMMxb0io4hTy0YjxbZIh0BtHU9NK97n3LsG7btQLsQD2eZfdVQHU6RUFy A55EqlQAvNBZ/fRrl0uJmE7iuuOz9KISKypEcBi96+ztklTRTsoet/9XqoqghOkO ch9U8SL21g3Y5/GNW1eyHCA+ZVTeTQQ/mxO7ptJoeMU1FF9/gc7gzd0n/O17MbXH SSApfApl1vKX5VfDD8xKLFEM+9khCw== =rBbb -----END PGP SIGNATURE----- --s/l3CgOIzMHHjg/5--