Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp149748ybl; Tue, 27 Aug 2019 17:33:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxyoQ4yOSxYP/2+ZOXHIcHIS6uBfkQk4lUT35ivPWvXfrrI2UzIa3HOZEVOaTp0WJ5/qn0j X-Received: by 2002:a65:4546:: with SMTP id x6mr1061571pgr.266.1566952419021; Tue, 27 Aug 2019 17:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566952419; cv=none; d=google.com; s=arc-20160816; b=VP2wA7I+6kg8Mj7uHcYL1gYh3yxFPC0BRVZMu7RPLxvbMqSSVtfXCQ/h/GjUMJ3sLe yeymipftiM3u0kS56IDQeDXobrOImw5UxEpycYPT9kY70CO2AkVM2our1xpBR5U2qZoW WpHWmU+5/aJwH3eJrpHz842Pf6VH2pQwmrqlK9Qe1XcYAkXrtyB1aCQibgyrx091tsIl tjo3FjJHrveSAmfg/2StiPFE0SMLWfXt6imHD2DhshgqvOQU+gePE6MCqfyufmE1Zb8C Q7zDVnG9DBbHmdJDkSDe/FPmccMStYcoNahCyQFIhk7w1aJrwJii5Y5THOn0BaFcsjyj IHQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:from:to:subject:cc :references:in-reply-to:content-transfer-encoding:mime-version :message-id:dkim-signature; bh=6DZabq8OOFr7SZFMrBCsezS6Py1mMQ+cwU1PePGAkIE=; b=tpVbmp4OxCC1rr4F+hTnCO+/LFfLNqOSaeLsepFLAqoGmdRsRp3cDXHmDPxehhasti 6+iqOQXbIbUfbPjPeDlYcGyNESdkCkvAl+k40DBWdXk2R2XRUQSZ286VHmnIf5890z0j pT6TcD8iq2U/NHbwiRsKPigsPRL+rNXxn6kjytdZ/XTIdAXalkG0tLWkKNvjsRxbM1mj 5awzIVe+Jc8ogC5KmPMngtJjT7lBhPVA7VHla+8GsnJRT/u29wfZb7dG5PgrTi0s9Oug rDz8iT9dW39pY2/pqEjc2i7QkVCbjMx9+qF4wcIubVpvPfWeJtA/gCPn7b88Fjb4Jog7 V3oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ngcmAUYZ; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2si509523pjk.86.2019.08.27.17.33.22; Tue, 27 Aug 2019 17:33:39 -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=@chromium.org header.s=google header.b=ngcmAUYZ; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726437AbfH1Abs (ORCPT + 99 others); Tue, 27 Aug 2019 20:31:48 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41834 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726096AbfH1Abr (ORCPT ); Tue, 27 Aug 2019 20:31:47 -0400 Received: by mail-pf1-f193.google.com with SMTP id 196so466748pfz.8 for ; Tue, 27 Aug 2019 17:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:cc:subject:to:from:user-agent:date; bh=6DZabq8OOFr7SZFMrBCsezS6Py1mMQ+cwU1PePGAkIE=; b=ngcmAUYZXtJo08EKY/VBWkbR9Y6m5d18wyRsXJer8ur7SxM9k+agOqehuEdH+Ycfdy Pi+EmEsEwOnOxG36KNKWz8e3uqLo+w3XInaErt/dXflVRpust3rsqo3sHIA5aMTfgf1p +Mc9OLlWFa+tmIaaicyodHEeYt7jVea8ulCTU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:cc:subject:to:from :user-agent:date; bh=6DZabq8OOFr7SZFMrBCsezS6Py1mMQ+cwU1PePGAkIE=; b=V3Sv6SoURmxFKW/hIQ4usw00B7ynobL0C+JXs7yVMUm6G76EVg73FJe5OoactNqyai gXzk+awaQ9JTWvJONIM7KSI15xcTePaMf0xxa9sbIOfHiInTUObVgf6PC+lUPV4d+RS+ JvtXZRfc2sPANwraFwVezuYAbAPCOlPG9ZKqZeg/Bq3yB+dnWK5dc6HhZWVBdqDPWnNS nMHAlZctEwlv7/+UMz1b6pTWw8ihIvzJeZu4CrHJejG1/yGgM2exnkTzlQQoOY5Mpzy+ gIlW6nmYMSUUZoKyTJIeFZ5KNzVJCJGqRzacPB5g3K+iOH6oBQE4JzPOFieZsj2GMB80 LS5A== X-Gm-Message-State: APjAAAV0bhL/li0J/ZbgiI29LdbHhRMDXLHw1zvVyU7V3kLD+HFS9kMW 9XAACdbsEK+bf7sFFIBagOYzEA== X-Received: by 2002:a17:90b:f12:: with SMTP id br18mr1374786pjb.127.1566952306919; Tue, 27 Aug 2019 17:31:46 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id a6sm508542pfa.162.2019.08.27.17.31.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Aug 2019 17:31:46 -0700 (PDT) Message-ID: <5d65cb72.1c69fb81.5472a.24f4@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: Cc: linux-pm@vger.kernel.org Subject: Re: [PATCH v2 04/15] drivers: thermal: tsens: Add debugfs support To: Amit Kucheria , Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui , agross@kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, marc.w.gonzalez@free.fr, masneyb@onstation.org From: Stephen Boyd User-Agent: alot/0.8.1 Date: Tue, 27 Aug 2019 17:31:45 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Amit Kucheria (2019-08-27 05:14:00) > Dump some basic version info and sensor details into debugfs. Example > from qcs404 below: >=20 > --(/sys/kernel/debug) $ ls tsens/ > 4a9000.thermal-sensor version > --(/sys/kernel/debug) $ cat tsens/version > 1.4.0 > --(/sys/kernel/debug) $ cat tsens/4a9000.thermal-sensor/sensors > max: 11 > num: 10 >=20 > id slope offset > ------------------------ Reviewed-by: Stephen Boyd