Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1087020ybl; Wed, 14 Aug 2019 10:29:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVWHbKnbwcONnoS9oJdCzBNuUU29U85LCrECXtAZzu8lQfKsXnuNTD1bHUOpSlZPlwCqhS X-Received: by 2002:aa7:8f2e:: with SMTP id y14mr1057762pfr.113.1565803760655; Wed, 14 Aug 2019 10:29:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565803760; cv=none; d=google.com; s=arc-20160816; b=nJQjRbWi9FIqN253I48DmIUelkwlBq7fCAAZFwhl7/vrjkItpf4JTiTWoLTnhZTPI8 Wu3Zmr05xfTiMG3DeFBZQbA3ONCTpejU6tTPWdHUXazpZeOSkloeT90V25y3s2+oAzbS Ert79pknWJjWOcNKAtokiRbU0OhfbSkIZ81VI6+b3iOzxWDdwaKJeSNf7NXfGu/mipxM CDhGduNRsQVRHjtXoDD4Vh5oBImlDC/IIzUZkd8b6EcGQ24wyacrK24W/Pbl9LyKckUS zzQCXBuZMSvHMFJ4+18H/sHiNmrvGZCi27776O5h0X/yiTh7FATQ+kY3jg7PAgbpGhCk SZ2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:user-agent:to:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=TV60AH0a3C161hHOIYuidKAnQn4c8HqtTRgOdTyz7OI=; b=XoVLQKlkQgmpn004d7ZPxnE922T+DhXAHqga0gNqtatqxVWuULipWbe8TQu58E4Z2o icVaeT0Fha+Dn46ppe7SXpNA0OlfICkaU4aFR2rSPD7XGZm6VHCkN1WuhsCryvaq9TSV dKgIPhLTvoQwWkaykpM1myQOp18UEkfm4VEdNIVzlpLSN2n5zOntyL4stExb0bP8jxde pm+NyxzFxupJO9XGgP0gYFXS8ryYpgfgCdCob4vEgymAONCh9RvEFPlyt3KZ9UxPyMGu eWbClHriphadPi+z6u0qfTSL8XSbEScl0nIHBDAs4DNpSiRBEHuqV2GWSLVAx/qQZuhS Ruqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bz9MVcdn; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31si273013pld.65.2019.08.14.10.29.04; Wed, 14 Aug 2019 10:29:20 -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; dkim=pass header.i=@kernel.org header.s=default header.b=bz9MVcdn; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729641AbfHNR1Q (ORCPT + 99 others); Wed, 14 Aug 2019 13:27:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:48544 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729593AbfHNR1N (ORCPT ); Wed, 14 Aug 2019 13:27:13 -0400 Received: from kernel.org (unknown [104.132.0.74]) (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 7F8F6206C1; Wed, 14 Aug 2019 17:27:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565803632; bh=+41o6/e8C3rXOa97d7ojKaetkEKiEfIBz+3a72/HK8w=; h=In-Reply-To:References:Subject:From:To:Date:From; b=bz9MVcdnLCunPed+11bKUFqXoUxHJm8DV9Ku/iZIOTbgaS1Sjej5zap8bdJfM6HIU NRy/p5pGykiILOq6ab5LAu+cxIIUhfzftTQbRX1APx5bOywzIjEPOezyH5OB2nv9I0 6O1GDRYSpW3DI/cwtbNyOsLvNyLCr7wunrBD+aJY= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20190812100103.34393-1-wen.he_1@nxp.com> <20190813182520.2914520665@mail.kernel.org> Subject: RE: [EXT] Re: [v1 1/3] clk: ls1028a: Add clock driver for Display output interface From: Stephen Boyd To: "linux-clk@vger.kernel.org" , "linux-devel@linux.nxdi.nxp.com" , "linux-kernel@vger.kernel.org" , "liviu.dudau@arm.com" , Leo Li , Michael Turquette , Wen He User-Agent: alot/0.8.1 Date: Wed, 14 Aug 2019 10:27:11 -0700 Message-Id: <20190814172712.7F8F6206C1@mail.kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Wen He (2019-08-14 02:38:21) >=20 >=20 > > -----Original Message----- > > From: Stephen Boyd > > Sent: 2019=E5=B9=B48=E6=9C=8814=E6=97=A5 2:25 > > To: Michael Turquette ; Wen He > > ; Leo Li ; > > linux-clk@vger.kernel.org; linux-devel@linux.nxdi.nxp.com; > > linux-kernel@vger.kernel.org; liviu.dudau@arm.com > > Cc: Wen He > > Subject: [EXT] Re: [v1 1/3] clk: ls1028a: Add clock driver for Display = output > > interface > >=20 > >=20 > > Quoting Wen He (2019-08-12 03:01:03) > > > diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index > > > 801fa1cd0321..0e6c7027d637 100644 > > > --- a/drivers/clk/Kconfig > > > +++ b/drivers/clk/Kconfig > > > @@ -223,6 +223,15 @@ config CLK_QORIQ > > > This adds the clock driver support for Freescale QorIQ plat= forms > > > using common clock framework. > > > > > > +config CLK_PLLDIG > > > + bool "Clock driver for LS1028A Display output" > > > + depends on ARCH_LAYERSCAPE && OF > >=20 > > Does it actually depend on either of these to build? Probabl not, so ma= ybe just > > default ARCH_LAYERSCAPE && OF? Also, can your Kconfig variable be named > > something more specific like CLK_LS1028A_PLLDIG? >=20 > Actually it also depends Display modules, but we allow building display d= rivers as modules,=20 > so is here whether need add Display modules depend and also allow clock d= river building > to a module?=20 > Would it be better to reduce the number of the modules insert, I think th= e clock driver > should be long available for the system. I'm asking if it actually requires ARCH_LAYERSCAPE or OF to successfully compile the file. Is that true? I don't see any asm/ includes or anything that's going to fail if either of these configs aren't enabled. So it seems safe to change this to=20 depends on ARCH_LAYERSCAPE || COMPILE_TEST default ARCH_LAYERSCAPE so that it's compiled by default on this architecture and is available to be compile tested by various test builders. >=20 > looks like great if named Kconfig variable to 'CLK_LS1028A_PLLDIG'. >=20 > >=20