Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp539586ybi; Fri, 12 Jul 2019 00:23:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqydfEvq7gd4AUyLYouY8Rz7bkgc+xKj39xArVGk1goqT0zHlFgnAGwNw7H7iTNVB7+Wh09G X-Received: by 2002:a17:90a:2506:: with SMTP id j6mr10188568pje.129.1562916180393; Fri, 12 Jul 2019 00:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562916180; cv=none; d=google.com; s=arc-20160816; b=qtTtLjJOnT2mDinfZmONo+D56SLhrvG0U6M5/3ko3wIT41v63lIVBjKoKv+V2HxYZE 68vgD0uBoONANMyju+TrtcXqAXGrMgNAcEainuuT4kAcOl9gfP1AThybAsX+5frz803i 2UZSNZ3S1Yjm7h3qqwA8Tsf0iByYrzC/NaBuMRamfDLQIOMNL18soGMlz8rj7JeHt9Bp /mxxYDCuYmv1hdmCRwJtiGfY0wJPDcfmil0zBOFWOzRocG50uPaWmme0GcyCneeqyIW2 btXAzAyHySvi7IGqOrqN7rTlHvy0x76SB5utA3YHuZVap5uEwcYJFklM057HyWafAqQd haYw== 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; bh=U4RKhJGOLDCArxUGCHOwYeswibIxbs2s3Mkh6bslAKg=; b=I5PbHYZKiH+wQEuk8Oq/EQKxFkskO4XqG9xQ+u5mtHYl0BvmssCRIMjIDp66lOAI+d VKjhPUNwB4fES7CEeSm2IRNBtEw32shoKymecQpO0znPJikJScKR7HHWZC5IVIthnSDH +JAHy1l0vOdvczyEzjqpCwuQfXFPW9VXneEULv3fYYNff1d01+1V1N/RygpUDn4E3txj vFjOIWk6dtRXweUti0OVb4gZY7kdnbnt2p7uxkWxMBTiVUJoUaxopEm6uZ4a0inv8ixL uHWtcZXKgBaUNjt/TdE3meD2fcL+lr4FuIcUM/kll8O0edKzDhHJqwFzHwU5lDEhb970 zpLQ== 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 2si7003720pla.22.2019.07.12.00.22.44; Fri, 12 Jul 2019 00:23:00 -0700 (PDT) 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 S1726112AbfGLHVt (ORCPT + 99 others); Fri, 12 Jul 2019 03:21:49 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:55009 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725840AbfGLHVt (ORCPT ); Fri, 12 Jul 2019 03:21:49 -0400 X-Originating-IP: 86.250.200.211 Received: from localhost (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: maxime.ripard@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 54820E0004; Fri, 12 Jul 2019 07:21:46 +0000 (UTC) Date: Fri, 12 Jul 2019 09:21:45 +0200 From: Maxime Ripard To: Zeng Tao Cc: kishon@ti.com, Chen-Yu Tsai , Paul Kocialkowski , Sakari Ailus , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] phy: Change the configuration interface param to void* to make it more general Message-ID: <20190712072145.gr3dbfvdfgrye6yi@flea> References: <1562923580-47746-1-git-send-email-prime.zeng@hisilicon.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="q4ycfudq7dncn663" Content-Disposition: inline In-Reply-To: <1562923580-47746-1-git-send-email-prime.zeng@hisilicon.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --q4ycfudq7dncn663 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 12, 2019 at 05:26:04PM +0800, Zeng Tao wrote: > The phy framework now allows runtime configurations, but only limited > to mipi now, and it's not reasonable to introduce user specified > configurations into the union phy_configure_opts structure. An simple > way is to replace with a void *. > > We have already got some phy drivers which introduce private phy API > for runtime configurations, and with this patch, they can switch to > the phy_configure as a replace. > > Signed-off-by: Zeng Tao I still don't believe this is the right approach, for the reasons exposed in my first review of that patch. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --q4ycfudq7dncn663 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXSg1CQAKCRDj7w1vZxhR xcl7AQD/l+gpdt4tLbilzX+6ZMKAGS3WAQO2akmyeVmUZrz6cwEA9wIVIvz4R8Zy JSba5uROdmHDOd3ljw0dOctpSOHXmAw= =FZ3v -----END PGP SIGNATURE----- --q4ycfudq7dncn663--