Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp54858ybb; Thu, 19 Mar 2020 16:28:11 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs0wYSALMMvkMyHHBDmM1Mh4TvNIJSRiKJAbnbJhe8hCPbjx80+hmE6cBd5gcmYA6psFvC3 X-Received: by 2002:aca:fd0d:: with SMTP id b13mr4379973oii.179.1584660491194; Thu, 19 Mar 2020 16:28:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584660491; cv=none; d=google.com; s=arc-20160816; b=eAwkCPLNlZYcH2PexSPtBvwlWiXzIJyc1qZqthT5lZdmitGb26ywcZs8cB0SSNxaGq mT9d1dltoAvpz06t49dUOp4L05iWIZx1130rdqxQSAt8cq4/KyrzCBKLDtY2i/kcAF/R n97LCoQmEXOd20hXpRXgxdOu0jQ0VWqMfAdo4BmsOyBgm4VsjJjxn42pRkkoscq/9nFh DUzTzWL5oY45jn8f3mIoj3d1S7qY4DPkhaDSiqYGxNgLvb+Okq8VF6XS8hn17Zma5TpL qj2bTccFXeUMThB6EUIIL87RvqZ1nukvw7KYKGJCg5wk38XIvA1jABgxdkX5djxbW7LG iTbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=LhMQ+INauU/9KsdnAD4j2Pb0cvx1ECfEdZDOsAn7Tjs=; b=dFJVinCsElwaL1zTd9lHceaBT3K2Lw0AyeT1wJLGS5PULPfjZOoFSAipBzUUQ9NZqt Ss6bFTGo8n98h37jGuMmirBIbtliS0ovEExSNsugENwvruTNwyOva8v1UG3R4WU6AZKy /xyEW1CO5mKiiOJzDHlZcJeuVAVc4ZFuMa46xhFDHGZO5TcCnDuqeDUy4qtkmsNRGqn/ ImjLUx25N7c5dluY/Z+owODNpggKnpIStyy1hh+qnKqsFC8zuaOoLfeGqbC3OzPOJn29 /onSfkfnFINwwBEVBFUT4DN3dJb5LmntalsWmhm2nqEbb64sxq6sN8MIFmsGhMYwv+4H M61A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=MhM+didP; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t19si1862816oif.250.2020.03.19.16.27.58; Thu, 19 Mar 2020 16:28:11 -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=@google.com header.s=20161025 header.b=MhM+didP; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727621AbgCSWsa (ORCPT + 99 others); Thu, 19 Mar 2020 18:48:30 -0400 Received: from mail-pl1-f201.google.com ([209.85.214.201]:38759 "EHLO mail-pl1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbgCSWs3 (ORCPT ); Thu, 19 Mar 2020 18:48:29 -0400 Received: by mail-pl1-f201.google.com with SMTP id f20so2618835plj.5 for ; Thu, 19 Mar 2020 15:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=LhMQ+INauU/9KsdnAD4j2Pb0cvx1ECfEdZDOsAn7Tjs=; b=MhM+didPcgg860ORFtZLYW+f0Yigz9R3V9Dt9sQFenpw5C8t+d3zAp4iZdnHS20qBj rluUdvf3Tk5HZ+fhAi+3AhaWvz6M+8nPWu3gEjKl+mlO13h6gzwlEWXL/mUVBeRs2Q1Z BXnLAIZ4oYQYPE6viTR1RxUYphilXx+en4IHpEXGMygvfUa40O3kVU0Oxj2sc6V1ACiT 3eQOHS+rfuemcp3ctkZ5yzASfOo/QIp4jzErU+6nwvqG/FjdsT3YbnG4foi4eG0755xh aBIwiN7e8pqaY440bLfaY470kt6vhy+0vhGsbDWheRHYTqa9t2oI6lP7JabCSxg+rBng 2tLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=LhMQ+INauU/9KsdnAD4j2Pb0cvx1ECfEdZDOsAn7Tjs=; b=unDdSjml0x+dFn2u5QrfqMvHJV0kkViWc7jny+voQJY2AiDYis+o/BlVUB0QwKtsid rV4ATw4yztKuHmXUtTj4UUCLxJWo8An1+dQR6vQ3kbRn26apiGVRuK5scdRcpKQTclNl bTFboBSR2bmwiOjIO627jRL+XwpcBbXics9lJvbF9Qbm4MF+yuK7TsvUZ4bEbMx2W19G VQ8gUg1Odg84ODddKuxcNH5wfF8s7qfKSe3pQmLecC0QuMg861IVizgW9ckGySp1aFjK mcn4OlCIICi8ELHvsPtPJiOmfPuHBT8Nu0xu/aCq7Zy3j0p5lmYJYaCHr5yp70d5ZxTm jOKA== X-Gm-Message-State: ANhLgQ03Yoxb2hJmvRaHdv0kAmFV0xuTQu3LpPtID3u/h07X/flxnB1v s4qfsXMvrezWOdvf+VXRy0nf3Sld7A== X-Received: by 2002:a17:90a:25c8:: with SMTP id k66mr6241638pje.90.1584658108071; Thu, 19 Mar 2020 15:48:28 -0700 (PDT) Date: Thu, 19 Mar 2020 15:48:11 -0700 In-Reply-To: <20200319224812.202013-1-kunyi@google.com> Message-Id: <20200319224812.202013-3-kunyi@google.com> Mime-Version: 1.0 References: <20200319224812.202013-1-kunyi@google.com> X-Mailer: git-send-email 2.25.1.696.g5e7596f4ac-goog Subject: [PATCH linux hwmon-next v1 2/3] hwmon: (sbtsi) Add documentation From: Kun Yi To: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, mark.rutland@arm.com Cc: Kun Yi , openbmc@lists.ozlabs.org, joel@jms.id.au, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the SB-TSI sensor interface driver. Signed-off-by: Kun Yi --- Documentation/hwmon/sbtsi_temp.rst | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/hwmon/sbtsi_temp.rst diff --git a/Documentation/hwmon/sbtsi_temp.rst b/Documentation/hwmon/sbtsi_temp.rst new file mode 100644 index 000000000000..f5addb72d13f --- /dev/null +++ b/Documentation/hwmon/sbtsi_temp.rst @@ -0,0 +1,33 @@ +Kernel driver sbtsi_temp +================== + +Supported hardware: + + * Sideband interface (SBI) Temperature Sensor Interface (SB-TSI) + compliant AMD SoC temperature device. + + Prefix: 'sbtsi_temp' + + Addresses scanned: This driver doesn't support address scanning. + + Datasheet: The SB-TSI interface and protocol is available as part of + the open source SoC register reference at: + + https://www.amd.com/system/files/TechDocs/56255_OSRR.pdf + + The Advanced Platform Management Link (APML) Specification is + available at: + + http://developer.amd.com/wordpress/media/2012/10/41918.pdf + +Author: Kun Yi + +Description +----------- + +The SBI temperature sensor interface (SB-TSI) is an emulation of the software +and physical interface of a typical 8-pin remote temperature sensor (RTS) on +AMD SoCs. It implements one temperature sensor with readings and limit +registers encode the temperature in increments of 0.125 from 0 to 255.875. +Limits can be set through the writable thresholds, and if reached will trigger +corresponding alert signals. -- 2.25.1.696.g5e7596f4ac-goog