From patchwork Wed Sep 16 08:47:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 11779353 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 EBAE51580 for ; Wed, 16 Sep 2020 08:48:58 +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 B6FA920872 for ; Wed, 16 Sep 2020 08:48:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GFuQgNWC"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZNbYUSMI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B6FA920872 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=IAIIf+4JDlkV2CtiKwTKJvCpWEyRuhhJjWJhLYjk6VA=; b=GFuQgNWCKSV56DmDpH2yh0GRlH Wuejy5PpyrbkwR4dzAXYH3vdu98GyfrH1rG+4+tQEfy9/V3u+Ev/XdbbqNtCiUzsGQD9YFA2zFOs7 wm3GSNkjFl7uISqgQmeH8lqAw2JoobA5hFAf6/qyDoXQk0K3DdyENerxQmHVKczKtPuKSCITAnjR8 lEfk8X+XsrtHIubug8hTqCUAk4LGporDnumhTHRGwHI/fi8Zn5j/B039vJnJL8vE6D/yHCSLyODWo VLp105rGUjLmrffDoSKnDsWZxbh8zJo9NK04RwDfRPO9OHTfvrBo54c27mMI9Qke/VZDnqHF1EZ43 FPXO0O7Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIT63-000403-FT; Wed, 16 Sep 2020 08:47:23 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIT61-0003zW-D9 for linux-arm-kernel@lists.infradead.org; Wed, 16 Sep 2020 08:47:22 +0000 Received: by mail-pf1-x441.google.com with SMTP id n14so3564445pff.6 for ; Wed, 16 Sep 2020 01:47:20 -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=uHwIU1Jo4n06xkHbAiCRBKm5SEMl0/6j1oOu7Df1a8Y=; b=ZNbYUSMIaxg1hotdQodGFGKb8pOvXU+JDSmNor4NARNX25LP4wMnZbVVkb9tFrdUMq jX301P2/sv31TmdbpW1ZT9ft4E3aafxp+rbapb1Ur4iKMpg9iTd0Am38WKyzAdOFvxuJ jWchWvZfnm1pe5CVcsr+1djrqhSVIrsrYhYLBu/IpB6VfrJq7lFnJ0qUqT8iJvoSDtlo 8aWoDhRGruBo0ye2C+2BDVtmrX3DoNJtYOWABCY+2ZdGi+7nWr49h2yHgQSv8FNPpRqp ypcjMMmYQe+dJGmzWLQYB5au8N1CiQc4FyF7rCe98ZMObgCQbcoDpTpvybrc2ZmJyDck ej8Q== 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=uHwIU1Jo4n06xkHbAiCRBKm5SEMl0/6j1oOu7Df1a8Y=; b=uL7DrfXWJfxmA4ZWFiddFJnwCtwcMd07gyzeU4mbs92wL1eHGZLl/4nEe8t9L6KRTG 7PRUrrAYsWZnq8DqjAewfMe06Zj6w38i/y6kkDG3Mgp4+62OaRD+/Gf+NmHKDC8wPyHg tjPrtICHkf/HxffdvS2U6J/QJfjlGjGn3eJPpXRqroPIZSzbqyprnEzZRLwMVJWhNwY7 IjKeGYUsz8Ul5KgfIR5LzrGQAXXosO5G2Bd5v7Uo0Kmc3XsRnUnsq7BP+yknTU/Vzw60 zqkd3OmEXW/WD/Q0v9EN7/eJ+wCfkVSz4R2IVLwqdDy+QfZ017AioggNXSHUh4rqtFde q1Hg== X-Gm-Message-State: AOAM530A9UKW21dOZ/Cz/CUmJi4zdC16YhZuNAkQI7GTgw9IVEPB/BMe 3mx0X7hYdXQLRnWYi6WZ8erCR7gdmwQ= X-Google-Smtp-Source: ABdhPJwBt2XcTOnQ9VzmzzyiGsGTfjwR3fHPD/moUZ9Y8OMCAcSoSSHJlWyyagDCBgVMbwD+486dsg== X-Received: by 2002:a62:8f42:0:b029:13e:d13d:a12a with SMTP id n63-20020a628f420000b029013ed13da12amr21183142pfd.18.1600246039154; Wed, 16 Sep 2020 01:47:19 -0700 (PDT) Received: from localhost.localdomain ([45.124.203.18]) by smtp.gmail.com with ESMTPSA id kf10sm1925323pjb.2.2020.09.16.01.47.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 01:47:18 -0700 (PDT) From: Joel Stanley To: Rob Herring Subject: [PATCH 0/3] ARM: aspeed: Add socinfo driver Date: Wed, 16 Sep 2020 18:17:00 +0930 Message-Id: <20200916084703.778386-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-20200916_044721_499916_754B8BA5 X-CRM114-Status: GOOD ( 11.45 ) 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:441 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -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.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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! 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 | 23 +++ 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 | 141 ++++++++++++++++++ 7 files changed, 187 insertions(+) create mode 100644 drivers/soc/aspeed/aspeed-socinfo.c