Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5980636ybp; Tue, 8 Oct 2019 11:07:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgTNeZDYOaU9R/ZH5Yzp+3oJkZoIjQdMcyxTey/I1fN/5QW4rCa0yj8+q+tPe9sjmOwIWW X-Received: by 2002:aa7:d803:: with SMTP id v3mr35591052edq.146.1570558034267; Tue, 08 Oct 2019 11:07:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570558034; cv=none; d=google.com; s=arc-20160816; b=lfh7cu9/p+TppPYkNpOGXAwwPcSVhigul7elrSFh+N0WCw62Tvg0HLfmsjLox6CH9R ndgB4nVuXq5anQoJBhO5MYWV4WJExPpkd6D6M8uQ3zgOp6v4YIMSkytfTIvsfKGDzlUl zVfpM0t3Veay9OfC3nxMZ8UJTwq8KkoTA0DerciYC96aH8Wt6OsBLg0w2LMUCbIUodUh pQLmRBNOqg4NhbZKaZHEmaxVRfHz/K1q6DxKDsR4UXHlWOvQULmBAHT9bqGlRZOXzkdA Y/G+ARXKwjkzSXGHb8aiU/PfIQpex1La1owETRwe+x6qd0ZBOiADtNjIGA6MshqOHRzA 0AtQ== 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=h90Cd6MFGBRWfIimfxDnjpF0R2GtcjUaWODUBYbROSc=; b=aRP/Lxhe8e7tFrc5YFDdNY1YF92B+/LWd2psp+e37LKVG2+1xs+OARo0/ezeJR2RYr nFwM/JqJSMA1cIuvHbnwJlcPn6NtFmN8ZnIGnUnYchiux6q9liM24XGIi1dAd7cf2FCY lLlTBKJUMTdEUb67RhzZZAWH3KIv5VXnZhjIVhbuOujQatCYeHw+MkaFUCWj6eT9haaK H/UCfOOVneef18P/LojM4olPNfICiWfyQkbx8EZmWeUFPQXDFSYgHxld/ygkJCxjZV3F U/NoS22VIHI6P3U0LBM4APmm25dyRKquPDSS5HUcPiCRqiiIMu6Usy3z5CHNkFidAIYd J5dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bcTU11Vh; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k53si3438767edb.303.2019.10.08.11.06.50; Tue, 08 Oct 2019 11:07:14 -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=@linaro.org header.s=google header.b=bcTU11Vh; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729460AbfJHSGf (ORCPT + 99 others); Tue, 8 Oct 2019 14:06:35 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:40316 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727180AbfJHSGe (ORCPT ); Tue, 8 Oct 2019 14:06:34 -0400 Received: by mail-pf1-f195.google.com with SMTP id x127so11227196pfb.7 for ; Tue, 08 Oct 2019 11:06:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=h90Cd6MFGBRWfIimfxDnjpF0R2GtcjUaWODUBYbROSc=; b=bcTU11VhW9Rk4bFEn8L9uZiTfbCu3q1YDIve80+3ruXqCLIgHegYyZXYYE1mFyB68A VLzam38yk/JfzSNR1ezSKO6A4o9hl1Bafu8/69nZExRPm8aWtLheMURGyFI6kP7ilJ29 iuB9ja5T9g+viozO8c6ZnepS2X7mVNAP0nAiuz1bME/8nssgefqS2YRm8DSDv42llzrk TQX8Xg7YtOKWVP7B+Tz0zEbBW7JEKnv37D6J4JPpn0eu5npTtLFKCA2BtFfAPEJyBJk/ CzauLGDk6CsBOo/7KBCgRAL/7/7CFBpPjrki7KwpQCP4VRGdD1WlpUrzH/6hNpAK3eNb 3Ujg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=h90Cd6MFGBRWfIimfxDnjpF0R2GtcjUaWODUBYbROSc=; b=EwW60qKmrLfFEA/c6vhqlexophrBi3kEfmyvol0ffuRjM2HQ30c7VUU9aALSDze0sU x+1av/RxV4A3mNsdaezLgl/tTZaGjgNJkagHwD3Q0YyRV+/pZePOMHb2fdapT8VrRzeS sgx2XeHPCntrXQXdasiE7Nw+n3dkE/Yqo69TLY+q/rny2svNcaaiVoyHVC0lbMC7astm bKxe20arlLdpmIb6+waEVyWToXMMVii8uEqBPnWkuJbBwUq4qzPnUASr4xZltVeN0zkN m2pUDF0jJAr9uuW6LfjyymeHsaBKZGV3qlwqPNFJkqTSw4Ue4/XkF5B1FZH2mtHBV5EQ DyjQ== X-Gm-Message-State: APjAAAV8keqtIXHz/OlRqXG8gp+yXKiPLsKcMppiLrFaCZS3AA6cmOT0 axUWLsRIE2tfcf50uUdRB9sKPw== X-Received: by 2002:a63:c306:: with SMTP id c6mr36235226pgd.253.1570557993927; Tue, 08 Oct 2019 11:06:33 -0700 (PDT) Received: from minitux (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id q88sm2826700pjq.9.2019.10.08.11.06.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2019 11:06:33 -0700 (PDT) Date: Tue, 8 Oct 2019 11:06:31 -0700 From: Bjorn Andersson To: Greg KH Cc: Stephen Boyd , Murali Nalajala , rafael@kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] base: soc: Handle custom soc information sysfs entries Message-ID: <20191008180631.GI63675@minitux> References: <1570480662-25252-1-git-send-email-mnalajal@codeaurora.org> <5d9cac38.1c69fb81.682ec.053a@mx.google.com> <20191008154346.GA2881455@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191008154346.GA2881455@kroah.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 08 Oct 08:43 PDT 2019, Greg KH wrote: > On Tue, Oct 08, 2019 at 08:33:11AM -0700, Stephen Boyd wrote: > > Quoting Murali Nalajala (2019-10-07 13:37:42) > > > Soc framework exposed sysfs entries are not sufficient for some > > > of the h/w platforms. Currently there is no interface where soc > > > drivers can expose further information about their SoCs via soc > > > framework. This change address this limitation where clients can > > > pass their custom entries as attribute group and soc framework > > > would expose them as sysfs properties. > > > > > > Signed-off-by: Murali Nalajala > > > --- > > > > Reviewed-by: Stephen Boyd > > > > Nice, can we convert the existing soc drivers to use this interface > instead of the "export the device pointer" mess that they currently > have? That way we can drop that function entirely. > Unfortunately we can't just drop it, because it's used on some SoCs as the parent of all platform_devices. But we can definitely get rid of all that uses it to create sysfs files. Regards, Bjorn