From patchwork Thu Aug 3 23:03:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Ren X-Patchwork-Id: 13341009 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 82DBAC001DF for ; Thu, 3 Aug 2023 23:04:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=MeD9wX3lKv92Sby1ksIg2K/djjqwLdhRPIBQEwZy+aA=; b=J+7fzv7xiHUdLk UBKG7QxyZn3fIp+/O0kY8TkFeyefocDRRXazgPwUjSjh0P+FuzGc4gUYjl9UYM9uElD8jtGiQ40ZA nTPbwjX9wuzpL1a7RrPsxFaX3zSFxsuLrACqK/MLI1euvgFopBEGMGjy/XOSLGyQ2E2he61baRBN+ KkJXClvXrg2mtb5MJfwPdBZoWS1aAzjIAJ685lHk2Ci8WbkSz70av9i2AjfFPGVZr0CAxPIy25wYJ 0XaZ15O9t+QvHcoZOh2sheLZDuvon5m8LfqvOG/PwPgxP7/5Vysq5LOFLoyvjAlJuVWNY4ubsteuc CHHXBmG7bbGL30+GLEeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRhM4-00B3Vc-0d; Thu, 03 Aug 2023 23:03:40 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qRhLy-00B3Sv-38 for linux-arm-kernel@lists.infradead.org; Thu, 03 Aug 2023 23:03:37 +0000 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1bbc64f9a91so13116015ad.0 for ; Thu, 03 Aug 2023 16:03:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691103814; x=1691708614; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FCqXZ3aIK41APZmJUyJtIADVAZfdOyyUdWhlq/zah+A=; b=fDdnhKSG4bsPDkze8O0TyzQZbYZp6PewHRUfNahc+nCM4/zHnU/hC33jgPCn8WxNGI PanrrHiN2ixafjxeVoWpUTdFgrePLV5gljn6hX41bIvgcyVDvYdy9XdEa8pJU6hb8p91 825Npwd8BrAs603s0OCIFp3X0lc1NvYzCIULip3Nu7I2+n4zfoFsJVAL0uKGqS8WTL6G F1Pos0eVj3+fxcFo1XvpMnHv8NS/0a2uJwr1ULwQoq3UzFKmu/HOuh/0VoAkS0xmaKZ/ aYTcwtExKf8TMofcCaOzFse9RiByWN0X9J+52yaIupkdwp7d/FyXlocqIpbB1pb+iJKi pidg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691103814; x=1691708614; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FCqXZ3aIK41APZmJUyJtIADVAZfdOyyUdWhlq/zah+A=; b=Gu2sc4wV0O9D53Jgbegf4rlt9/VuuYORELFA2r76MMECo2+LYcxorjnXMYfJskJ7Yc JdO+VQOhCA1q/IUrYoHEYsjtPBPh7/1xEH9aV29jLqvb8fw9ENO21ZjV3YPSA4CWFHyJ 490zptNF8wR9+SOcNOFgPWMi+MmB7htGz74vvswmXMlmTqVDkMPQCZ4/QnvAsUz3roO+ Gz8MgOd+oGGIXdngLdB2l+waZUPb8zio1WsP4sjL6R8b50KRNcHDOYND7pdyzsjbGK+e PTxatsJGPIw/LrTUqyKU7pqbMF6ICUlPQhOYbWja42LEqZt+ruiChJ79+aTacqz9OYio UyGg== X-Gm-Message-State: AOJu0YxyaEl3Pajrzg2dU0/GhgHgOLtXKtkysVsq2WnwCsk/WpCTBxez 13O1G+GVkHKaNi6JdhNoMJA= X-Google-Smtp-Source: AGHT+IFw83JkMH1zRFqh+nnFbGXM33XYKbnbZ7+OTETUvcthEPrk5UoB/wpJrlNmpd81eYTIu+evLw== X-Received: by 2002:a17:902:7d91:b0:1bb:9c45:130f with SMTP id a17-20020a1709027d9100b001bb9c45130fmr94201plm.69.1691103813895; Thu, 03 Aug 2023 16:03:33 -0700 (PDT) Received: from taoren-fedora-PC23YAB4.thefacebook.com ([2620:10d:c090:500::5:e60a]) by smtp.gmail.com with ESMTPSA id y7-20020a17090322c700b001bbb598b8bbsm372349plg.41.2023.08.03.16.03.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 16:03:33 -0700 (PDT) From: rentao.bupt@gmail.com To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, taoren@meta.com Cc: Tao Ren Subject: [PATCH 2/3] ARM: dts: aspeed: wedge400: Enable more ADC channels Date: Thu, 3 Aug 2023 16:03:23 -0700 Message-Id: <20230803230324.731268-3-rentao.bupt@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230803230324.731268-1-rentao.bupt@gmail.com> References: <20230803230324.731268-1-rentao.bupt@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230803_160335_014774_E63F19B2 X-CRM114-Status: GOOD ( 11.99 ) 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 From: Tao Ren Enable ASPEED-ADC channels 5-8 to support voltage monitoring of all the Wedge400 hardware revisions. Signed-off-by: Tao Ren --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts index ed305948386f..5c55afed946f 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts @@ -59,7 +59,8 @@ chosen { ast-adc-hwmon { compatible = "iio-hwmon"; - io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>; + io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>, + <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>; }; /*