From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 63662C433FE for ; Tue, 11 Oct 2022 21:38:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 64FCC84F32; Tue, 11 Oct 2022 23:37:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="cnanAQkw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7ADE984F23; Tue, 11 Oct 2022 23:37:12 +0200 (CEST) Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A0E1F84F2A for ; Tue, 11 Oct 2022 23:37:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72d.google.com with SMTP id o2so2187322qkk.10 for ; Tue, 11 Oct 2022 14:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=nEwa+QrI9gyQEUGx2+4M37sffgsOUo1lTj3TTQCz6ho=; b=cnanAQkwv/ktrh9c5TRcNJpPnPARKw6CHSjC6W+Ie0fX/lPb30timLNDVFEG24Y1w/ 3ifBMbGglZ+dY19Ndk+WEO5ciUjaj8pBZQXLTIJYz5l6/59tS7iaQ8Wmx30q3nqxEs6u pOzZPFY6AvL9NaeLcWsrjWUZqXgeOwdnkPKQw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nEwa+QrI9gyQEUGx2+4M37sffgsOUo1lTj3TTQCz6ho=; b=cirSKjRJsWhx5yJbWyMgL/ogR2gKtd6eq5eIRfkGCSX7Qqf/MT8YT0nv9tbjavW74h j322bokYNgZNxgB27gK8xMSucv+8kRLMTCxZszo75oBMjHGfvbbG8vogLnWldW+OFPKB a7Bxq6Ngh9PsZ37nBhZWpZZk0fNzuthS6+/zNY95cNaIu8+J7rIKpGtvt4ULar1XKS63 rayqzfY7PbvC4MDyw852JRJWjPPdgfNCbZNr0Arker5Pj0r06Dx/qcRfW9nOP4kx7NqW 3reIpoAu91n2PyJKhpfTPOf1qvwGF0GZXlUFVX4KlyN/VMqWb3J6Wq9HqpMU2kosqW5D 8K0w== X-Gm-Message-State: ACrzQf2qArucvskQgb8U/1Vl+/zrrRraLxigsqLNfWYPL1pQFKnOsurA HNmHO/S+BVCjeRttup9PtgbZHQ== X-Google-Smtp-Source: AMsMyM7QDLE1MHwPZKtqfPLNUmlnE+NZNQFzVm4l59UIAJtYpbnFvz+8dBV6u9saXvvqV+rR9yUotQ== X-Received: by 2002:ae9:ef81:0:b0:6ed:1614:582f with SMTP id d123-20020ae9ef81000000b006ed1614582fmr8187629qkg.403.1665524226492; Tue, 11 Oct 2022 14:37:06 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-9506-5302-f3bb-a137.res6.spectrum.com. [2603:6081:7b00:6400:9506:5302:f3bb:a137]) by smtp.gmail.com with ESMTPSA id y204-20020a3764d5000000b006ecfb2c86d3sm6221050qkb.130.2022.10.11.14.37.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 14:37:05 -0700 (PDT) Date: Tue, 11 Oct 2022 17:37:03 -0400 From: Tom Rini To: Robert Marko Cc: sjg@chromium.org, pali@kernel.org, u-boot@lists.denx.de, luka.perkov@sartura.hr, Robert Marko Subject: Re: [PATCH v3 1/4] cmd: add temperature command Message-ID: <20221011213703.GR2020586@bill-the-cat> References: <20220906113036.1768055-1-robert.marko@sartura.hr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rxd0khGtqYUbFQFd" Content-Disposition: inline In-Reply-To: <20220906113036.1768055-1-robert.marko@sartura.hr> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --rxd0khGtqYUbFQFd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 06, 2022 at 01:30:33PM +0200, Robert Marko wrote: > Currently, there is no way for users to check the readings from thermal > sensors from U-boot console, only some boards print it during boot. >=20 > So, lets add a simple "temperature" command that allows listing thermal > uclass devices and getting their value. >=20 > Note that the thermal devices are intenionally probed if list is used as > almost always they will not get probed otherwise and there is no way for > users to manually call probe on a certain device from console. >=20 > Assumption is made that temperature is returned in degrees C and not > milidegrees like in Linux as this is what most drivers seem to return. >=20 > Signed-off-by: Robert Marko > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --rxd0khGtqYUbFQFd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmNF4f8ACgkQFHw5/5Y0 tyyQ8wwAgDuYlUVe3Ibth2Agdq9slf2pG83RiPYyQBAEv/DgQsgLX6eQTF7COIKX qQI08ajjxx/S3G5PkWdjMREZIGuuI/s5SDTbVdzgY837tmiFfQn7Qc6PgbkqWGqf Z5+JABh12Y5/m0VfAV4FpsJ7EdPTApAIQGibcJUyBKI9PAUHbYGyoeT0RpgdlKoP GtOOW00qoFAYY7XPdIUJK2x+TXd4k8va/EjABdWz53AFCccDV14o52yCpMBlA9Of MalVCfbDYV3ZMOapp0x1tQr2eG6+s9YVrpLlGgwTfrFfoLTCMSJNcnDkUHkpVuzv oQhSVL7UmGw3XQPHOB1dCiqMnZ3iqFPwXuQvi8FcgYG25dd/LuR+dfzaMQFcOyl0 u978RH7dtsAL60AhfdjKKtqnQL7weCzOBD0jjN5FAarpYHtP0Qluhu8Sq3O2Y4RQ LyS3GJVnytf4yk4tSL2cHG7uNY5U2FkxQsnVcMK/1oeutaRr0+3chjWSeY7TNOCG 3uen2YEK =B7Hb -----END PGP SIGNATURE----- --rxd0khGtqYUbFQFd--