From patchwork Mon Sep 21 02:06:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 11788203 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 56D6D92C for ; Mon, 21 Sep 2020 02:07:13 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 1C1872076B for ; Mon, 21 Sep 2020 02:07:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="K8gPEesL"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Xa72Kts3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1C1872076B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=lfhiGt/JL/DL4PhQ2XmpiIZo1pTz1nuaPsfyoQNb8Iw=; b=K8gPEesLxHnOJxcGTmOHezh85f 8imPr29V33e4wV76nAWqsJezrx6376Db5SW7zoehhcd68YwVppOzprlO1Z1ZYVHo/sSvTtNnhcysz FKbpzUxonhIxoOYh5DWCF4tP680uZ75BV2QzuqM71z5tCPsH8E6yYRXiEoudDlJpfBNXZ7EA8NrVX aMdDkMcomLbP5IB1y2Pd2ar8SzXaj7A9MRFohBi8rD+O8YlYP4knldLMresDW1r+iD7Klx7nOy2Ta 9OEZRn+0xz1bFwTSjke+XiILWv2eq8I6YJOr1Tx8yYEa9Xk0GHTh5Rj2w0qXWIzixqWueB7/CaAZp egxAudoQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKBEI-0006mD-Hp; Mon, 21 Sep 2020 02:06:58 +0000 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKBEF-0006ll-5l for linux-arm-kernel@lists.infradead.org; Mon, 21 Sep 2020 02:06:55 +0000 Received: by mail-pj1-x1041.google.com with SMTP id b17so6328964pji.1 for ; Sun, 20 Sep 2020 19:06:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iZUg/ce+1HYpD4B6gMD7V2L20Pbr5ZUqnwEDb7JNX/o=; b=Xa72Kts3jVXlY2elD1zj8cwWXwWdyIKSrcQkXHVIe80qgWnLNNcp+0BfwvtZodkehx esBW0t+vJ8d8F7ioDs8m2kR4bl31jiDbilKCb7VqBPdlSgDftmMbe+wHppDN4vR2Oyqt nA9nEhFpZWsIulMZq9OlfPcjbcIuqhbym7CEEKkjTeESuCN5U49FpQw2WmDeM7wFucB4 HcdhDCyH7Paj8VZCfPmO16+zPeWn1n0z4b9apSitx/rqFi/zfLQsuG8tymc/k3jtvk1x uMYjcvlG8cC9EzOuZCj0I0l7x18pmJ+wOlruTZ0/4p3WoqtG8NHInYcUKKQ//TxKjrDZ iEJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=iZUg/ce+1HYpD4B6gMD7V2L20Pbr5ZUqnwEDb7JNX/o=; b=hepiXgzBQ+xzl2m0wyai6x8cZNSufmafL70fO7z0EbSlIfeXW4H1dYfJ+AkMxb589w TbgdGfvu/AbIhO2x5H0RhQ1BoyVLk5s1Pb47Qttj8v8hPKFJaVFUKrZ2ItmplvmQJMrD 9P4k/M7mlKQZoJ12iO/Pacylag+HhJvotgqOcmbm7SnroJnaz4k0ezgh0OG8k0xSf9Du epppnJJ0LsuUT00E06W+ggq6NlFBT9w61h5Lm73WI3jltBex129iYZvJ5vroP5k5XoAr 17fRSbpK7ZlGbAXKGruRskmWjlzNy9i/lQBr2s8r5EPZ6aqKq6KmcNGzWqS8lLZbjfxr DK8A== X-Gm-Message-State: AOAM532zbUf6eP0u/vbX+5TghY4Ka0lGExOGYtNEFI51DIeXpEk5/al8 YxxVkGrp634vWEpvGtgVR0w= X-Google-Smtp-Source: ABdhPJxtSJcRDriyGXojg+R/Gfh2dOIUDr+T286JHMYpyZAuNyMNliDrlB4GiRRfBt1RuXAQlFfv2g== X-Received: by 2002:a17:90b:a0a:: with SMTP id gg10mr22935200pjb.20.1600654012917; Sun, 20 Sep 2020 19:06:52 -0700 (PDT) Received: from localhost.localdomain ([45.124.203.18]) by smtp.gmail.com with ESMTPSA id z23sm10212045pfj.177.2020.09.20.19.06.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Sep 2020 19:06:51 -0700 (PDT) From: Joel Stanley To: Rob Herring Subject: [PATCH v2 0/3] ARM: aspeed: Add socinfo driver Date: Mon, 21 Sep 2020 11:36:38 +0930 Message-Id: <20200921020641.48733-1-joel@jms.id.au> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200920_220655_270581_5871FC56 X-CRM114-Status: GOOD ( 12.34 ) X-Spam-Score: 0.4 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1041 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [joel.stan[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jeffery , linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This adds a socinfo driver for the ASPEED BMCs. Please review! v2 addresses Andrew's review comments Joel Stanley (3): dt-bindings: aspeed: Add silicon id node to SCU soc: aspeed: Add soc info driver ARM: dts: aspeed: Add silicon id node .../devicetree/bindings/mfd/aspeed-scu.txt | 26 ++++ arch/arm/boot/dts/aspeed-g4.dtsi | 5 + arch/arm/boot/dts/aspeed-g5.dtsi | 5 + arch/arm/boot/dts/aspeed-g6.dtsi | 5 + drivers/soc/aspeed/Kconfig | 7 + drivers/soc/aspeed/Makefile | 1 + drivers/soc/aspeed/aspeed-socinfo.c | 135 ++++++++++++++++++ 7 files changed, 184 insertions(+) create mode 100644 drivers/soc/aspeed/aspeed-socinfo.c