From patchwork Thu Apr 15 14:05:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Fertser X-Patchwork-Id: 12205603 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8B06C433ED for ; Thu, 15 Apr 2021 14:07:46 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 579AF61153 for ; Thu, 15 Apr 2021 14:07:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 579AF61153 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Ry5FNMS+XcUdwcTj6ui2Qdd6l0uOE6K4aKBz0EI3yhA=; b=D21mgrecOMQg37JgJj6TqueQuT MWzn7XbIOvFWjROcH79FSA6qkQZR/dxhVU71OQUdm2rrcznk4+j+5RfsycDrforRRtzz5ebh3m7pZ gnNi5NVJgKNoxdSgiwpcip4y73ist38D0r53068hqwhy49XP5BZFL2qC3UeM/7hbZ4t+lWmucQZps eqVW6PYqrkrgPiErrMSarQ7yx2P6IfuUcwKYiUIjHelABCCyEn/t8Mftrkk8tLrqdiMF/BOhDo1af QUWHUchSnwHZKGVE9XdjAvt+8VHnC0jqRvib7lie/VdueyrOoxN647RyUwJI3+/5b0oPrSzi8OX+Y sEcWZEZg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lX2d3-00GNcL-EV; Thu, 15 Apr 2021 14:05:57 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX2d0-00GNbT-JG for linux-arm-kernel@desiato.infradead.org; Thu, 15 Apr 2021 14:05:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=gPiY+FwH2gRVnDBLwBz7oG10TpGLnHGvMx4jxp9Wvb0=; b=oTNJK+E7+KBTtQM1meqh78lVhh Lc9Npvjttk0wtJJzbV4nr+bmXyMge+F9dx+6Yz/qu6t1JhirzqUi9Wazd2M7gRYjyXVzGGT9uF9Q8 NGAoI0Q+n7rUIKKVZpK4Z3t7L7wRr9y4X9GNl2gbtzip/d7lXotVHMIQlvhLLB2pY0d+6rJPCdPz+ 1gJPS5bXXOGaccRKL6OoorUw5n1y9vup870Y4v/85NbCuIMipkszHthhI3UdJfHRyIuIQiRROl6MA LeXOFVgIYv+am8PYBCCQJM+lKATYJPtL6J8x5a8rhE3T6xaPXWc2KmnxujpnLvnx+YFEgmHjdLVyh 6sDsnq/A==; Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX2cx-008dVN-DW for linux-arm-kernel@lists.infradead.org; Thu, 15 Apr 2021 14:05:52 +0000 Received: by mail-lf1-x12d.google.com with SMTP id z13so22369615lfd.9 for ; Thu, 15 Apr 2021 07:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gPiY+FwH2gRVnDBLwBz7oG10TpGLnHGvMx4jxp9Wvb0=; b=Bm/MilRSFScyxsdyRbsaFklFyVzW5XBChpPpkddUspJnlJHDAHL2WaNfbwL4YYzeYf HY97f36MnQnI4+C3p3BFnwKUPY+1weOoouiJrlc7atEw+PTHqEAas7g9rZ+EJGfkzfk6 6Lph8E6+JfDGxLl97XzI/+uTehOYt/rkI8rNVq8BFD+UUfsYBjNvL1urIVvpyHkLc5ui gN273E+h4hVoopBQdRdbl/jOH/7IivhCEr1YYsvo7geoP64CBvyU8eJT9Pe4eBn+QCPC pS7Wk1a//Fib5HW41jbelDx2/DguRhnZxYp215mcPHca397Su/a1Tyn4W3LNklKhrJVX kh1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gPiY+FwH2gRVnDBLwBz7oG10TpGLnHGvMx4jxp9Wvb0=; b=AKvG6AITks+EOHiYtSqxgSqUp+WyAcl+Efso1377K6t41yvrSdFaSvSuAjHYMqSq5Z fMcJpBl60qjR44LPCcHrRhCcPJRrrgtY3nCaldRGNEHklIQz+x/ED/csj/XfGJHR9moo KpzvjXwypYqT137Thcsb/HBaR2IKVidh8otWo/9tUgzxXy90QJEDJmItT2XXqr7IUr7o ubsvGKK2xsMPAqwJYK0t1JKo+0bfsAvnP/u6NIP4yvTUkOd+Ql/RoJZtPBntGDjR1o75 YewLAR6fjVg8z2718fR3bBokKEVyfBoYybjcApPXydgOjQWHS2mq2Eu+jxtipCClssd5 Zp/A== X-Gm-Message-State: AOAM530L4/Ub0b86MskWfKPHR8AzecBtOr1VmilcOVQiiJwdOEfLrYmT a9okaDlQezyy2RR0msBnSWA= X-Google-Smtp-Source: ABdhPJxAeJyOtPFkQla5RZUI+PSioepyRmiAJnqiyvMHao6fbwWN5/M8/Izt4TBFrDdx2Ps0RJLv6Q== X-Received: by 2002:ac2:520a:: with SMTP id a10mr2814536lfl.362.1618495548924; Thu, 15 Apr 2021 07:05:48 -0700 (PDT) Received: from home.paul.comp (paulfertser.info. [2001:470:26:54b:226:9eff:fe70:80c2]) by smtp.gmail.com with ESMTPSA id l11sm679210lfh.16.2021.04.15.07.05.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Apr 2021 07:05:48 -0700 (PDT) Received: from home.paul.comp (home.paul.comp [IPv6:0:0:0:0:0:0:0:1]) by home.paul.comp (8.15.2/8.15.2/Debian-14~deb10u1) with ESMTP id 13FE5jxN011398; Thu, 15 Apr 2021 17:05:46 +0300 Received: (from paul@localhost) by home.paul.comp (8.15.2/8.15.2/Submit) id 13FE5hEH011397; Thu, 15 Apr 2021 17:05:43 +0300 From: Paul Fertser To: linux-aspeed@lists.ozlabs.org Cc: Paul Fertser , Rob Herring , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm: dts: aspeed: tiogapass: add hotplug controller Date: Thu, 15 Apr 2021 17:05:00 +0300 Message-Id: <20210415140521.11352-1-fercerpav@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_070551_488935_6D9FE2CE X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The ADM1278 IC is accessible on I2C bus and on both Wiwynn and Quanta Tioga Pass implementations a pair of parallel 0.5 mOhm resistors is used for current measurement. Signed-off-by: Paul Fertser --- arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts index 3cc2004fa2f2..500661956dea 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts @@ -591,6 +591,11 @@ &i2c7 { status = "okay"; //HSC, AirMax Conn A + adm1278@0x45 { + compatible = "adm1275"; + reg = <0x45>; + shunt-resistor-micro-ohms = <250>; + }; }; &i2c8 {