Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp300768imu; Thu, 8 Nov 2018 08:30:47 -0800 (PST) X-Google-Smtp-Source: AJdET5c0SD5HWWHkbgUTvh3I2AkuUqeWFSIiIMMVag4gDulkflkbpKT16wlGhemGMro5wMRGJOuA X-Received: by 2002:a62:22c3:: with SMTP id p64-v6mr5334885pfj.9.1541694647611; Thu, 08 Nov 2018 08:30:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541694647; cv=none; d=google.com; s=arc-20160816; b=lPyGcWUCL9egHTmeJkf0YJ/ldiw5gmOICIjb9z5/vLixVZ8Gujv3UWuboXpzfPQyIQ 9EevJdDDTS0t6B247L3fNBfZG8eR5V75hiymT3/viHZgpR3YFsB/XEEec0tnalgdhvjD K+FyQ/cdhtk4wcMILl57grgGAuHjS1mRB8K4WbJr/dB4AIKzVTx+YjCkrO6ynTQjL7Ss hYyxZ2UtMaPuxCr1YJEEWqmIBt3Or/n8I67eKmH/qAtbeEpib9ur6YLURVwuW3vSKEaI vVs8F5XcaeHLOVu9E5WBVq3ql+DlCL75/VG8aEqJBwltoLmj7A+tOOdzfKO5/bp+QBNA ChoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=ZCgvZXGzhiPiUR9nmkJpVfvqYrVP3dagzuJ60T+7Hx0=; b=RYtNIyL8OLYZBlPZSDe8r0dZV2Te8RgJNklXR0l6M72Pf2OPRtwhe+MfRKT7Hp5QY6 Jkc7LIArakLzK0A1dfxudB2Zv4mkVIpBlG46LFuL6DyhhffYhuwL8nuBcmoBv6cbqiLG wam8Sh4N6958qWNxumeXiJ5ys9vCEr4q8KJ3DFuNQl6bYz6y0UC7HrLXjx94YSLMbFU6 DdSKEXOmMLG8/hJurW63r49ohX/SAadWP7fsPcHlnoNL5EBHyfaeZlTANtTlTnCTSSqg QGkiTb/FJPvNNUExcsYs6Bc9tqvhkKnlYY41fvroVTXrFjx5JySgLdng155y9q0+5KTP a+6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=X+pyiBXJ; 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 f2-v6si4516251plr.333.2018.11.08.08.30.31; Thu, 08 Nov 2018 08:30:47 -0800 (PST) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=X+pyiBXJ; 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 S1726847AbeKICGI (ORCPT + 99 others); Thu, 8 Nov 2018 21:06:08 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:54863 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726509AbeKICGH (ORCPT ); Thu, 8 Nov 2018 21:06:07 -0500 Received: by mail-wm1-f65.google.com with SMTP id r63-v6so1893857wma.4 for ; Thu, 08 Nov 2018 08:29:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=ZCgvZXGzhiPiUR9nmkJpVfvqYrVP3dagzuJ60T+7Hx0=; b=X+pyiBXJ9tqy0a+lzo7aG9XP/Bv4DDfFDsAhar1ng6WWv1pCs9EBNM+EjaYuC/53FV YByvPqfahmC5Y1vx/wfYwccW+pCcEmLqDKqgr+/Alm9gTKrUIcpwXBGIIsqyjRqQ+ee6 eG9E8kJudhOK0wU2TEU8mTHcgfMQxUMkpA7kIykMesnwXWR+OZhlupc4c3k1gwxJkZW7 KhJNAR41EaHOLHwMJRljNX6NbInRUPSb4gpC3tdBL4CzRYw39j+lGaHbu1wh02RXodOW fatX3JztFYbDA+hm9H4IiasGAmaribgJ90H9k3tAy0cJn4Wou0YTvfEbuf0EtAGqKSni wUNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=ZCgvZXGzhiPiUR9nmkJpVfvqYrVP3dagzuJ60T+7Hx0=; b=GdslR3TzWVfSHZ92nwLYzVkiwhg2FRIEQOpOu1lp6h/mV6j7SN+yR7flxQ4gLIv2Cn p8YwJlfQSpr7uEX6ZZQhxTVfRu1nexA8LZ6kRpo5Qox96mRe5SqON4V0KgMe1YN0C4Ry wWXD3uSovQiG91paoNJDPDEfQtY5FfCtvY8WcDDEeOqTD1s6bQG8T4jUn2oJfJXCdIHe DPgT/0lzRSftMCf7b/dqmk2YTH8JS3xruq3mMRF1nY/1mbj7r/Zby/9BV5HTRW+uQFlv IkdD4c7oadLXIERQ+ejHTnLDxCQy/4+TFOv8hDqKTMYSSTuuMPcHhEG/mkLxZZK6iayZ QqSQ== X-Gm-Message-State: AGRZ1gLB1KKpWHO2CWI0mWp/Lq/4fQo1/EH+dDAbZtdYg/fvryieoMpu FgE59GqXY/lchEbTt600YC+VKg== X-Received: by 2002:a1c:dc86:: with SMTP id t128-v6mr1769455wmg.111.1541694590296; Thu, 08 Nov 2018 08:29:50 -0800 (PST) Received: from boomer.baylibre.com ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 67-v6sm4132103wrm.32.2018.11.08.08.29.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Nov 2018 08:29:49 -0800 (PST) Message-ID: Subject: Re: [PATCH 3/4] Documentation: bindings: Add missing Amlogic SCPI sensor bindings From: jbrunet@baylibre.com To: Sudeep Holla Cc: Kevin Hilman , Carlo Caione , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Date: Thu, 08 Nov 2018 17:29:47 +0100 In-Reply-To: <20181108160457.GA10953@e107155-lin> References: <20181108135352.8459-1-jbrunet@baylibre.com> <20181108135352.8459-4-jbrunet@baylibre.com> <20181108160457.GA10953@e107155-lin> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.2 (3.30.2-2.fc29) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-11-08 at 16:04 +0000, Sudeep Holla wrote: > On Thu, Nov 08, 2018 at 02:53:51PM +0100, Jerome Brunet wrote: > > amlogic,meson-gxbb-scpi-sensors is both the driver and DT but is not > > documented. Just add it to amlogic's scpi documentation > > > > Signed-off-by: Jerome Brunet > > --- > > Documentation/devicetree/bindings/arm/amlogic,scpi.txt | 7 +++++++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/arm/amlogic,scpi.txt > > b/Documentation/devicetree/bindings/arm/amlogic,scpi.txt > > index 7b9a861e9306..5ab59da052df 100644 > > --- a/Documentation/devicetree/bindings/arm/amlogic,scpi.txt > > +++ b/Documentation/devicetree/bindings/arm/amlogic,scpi.txt > > @@ -17,4 +17,11 @@ Required sub-node properties: > > - compatible : should be "amlogic,meson-gxbb-scp-shmem" for SRAM based > > shared > > memory on Amlogic GXBB SoC. > > > > +Sensor bindings for the sensors based on SCPI Message Protocol > > +-------------------------------------------------------------- > > +SCPI provides an API to access the various sensors on the SoC. > > + > > +Required properties: > > +- compatible : should be "amlogic,meson-gxbb-scpi-sensors". > > + > > Not sure if it's worth mentioning the reason for being able to identify > amlogic,meson-gxbb sensors from generic scpi ones. IIRC it was for the > unit values of these sensors are different ? But I will leave that to > DT or platform maintainers' taste. Yes Sudeep, the unit are different. If we probe on the generic one, it will "work" but the result is just not good. BTW, the point of this patch is merely to remove an existing issue. The scpi driver and meson-gx.dtsi are both refering to an undocumented compatible. > > -- > Regards, > Sudeep