From patchwork Mon Sep 21 09:16:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 11789011 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 217DD139F for ; Mon, 21 Sep 2020 09:17:18 +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 D1368214F1 for ; Mon, 21 Sep 2020 09:17:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Lt37wlO7"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ldsSZNkr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1368214F1 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=yJSr8morPRcRrNj4hKqaAVpQmaWrYEn4yGpdpu5UUEI=; b=Lt37wlO7KWJOM6UL73/DPNuNiR W8G4gqESO0GoJVWq8xARqv+64XkDwJABfomoqdf1sIPU/ItbUjF0WKMkZKWbYf5fNHioxhr5T3TDL S62UaqDEFxeQxkFyhvBVOKOFJ9ov+BR1Rp+ccM0ui5gZvlrSjbpQoWXQR69tArKyVmLZsbJSPTLRN qefJxq0gPCRtXJGdAqT71o/BUpiYdb+i/WRBc2CC9eOSboJK9IFo1LyaYhZbwobMa9VD5c6jgTwuN r+WyEGP9IKSCVohgCG5kp1hNz0lYTLyc3XItRXzPHC6c5JLbdycnpWjhuAHcfDleQxgKPqvfJ9Jx6 PSg0JyRg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKHwT-0005yG-31; Mon, 21 Sep 2020 09:17:01 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKHwP-0005xQ-5g for linux-arm-kernel@lists.infradead.org; Mon, 21 Sep 2020 09:16:59 +0000 Received: by mail-pf1-x442.google.com with SMTP id z18so8748450pfg.0 for ; Mon, 21 Sep 2020 02:16:56 -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=O0usRX3IupYhm9xLYMHxSSpnG9Oszbsh5o7UQiNJyv8=; b=ldsSZNkrmVUvrKjrSlDJvzXiz+in9dp1pNf4/dDAWW50HVOQ0A4lI5T6l+fttjZgI7 RCSqBpwChYrMTZZNr0q8akQMIU4JLnWP3xCy1SmdaPuUtNJsT9mq6bg78CzyHqSK0ccu KpMQxcQooEfa8BMgUx2zuZgUHZnYagsIBr5CSNoEjMFOdzlMa6wSV3z7N/C7Zw8/Z8Pl Pott4eCBbHXWFTUgcldSs2XXEUjiSVt4/3U0XyAPnGKQA9Cd+MtYe7DfzMhVuR6hL0u+ 0Sf0fjC3+oPyJGX2VbCZXCa0LstKYAb5n2By9l+5/+tzMWvbx4ivFJryBCVaXYqfdqdJ 5gOQ== 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=O0usRX3IupYhm9xLYMHxSSpnG9Oszbsh5o7UQiNJyv8=; b=tqgFRwo1+JyOhzy4cSASnmsmMcE1sePoK3hAILUYy23pdjftLkXFhaKswbE9BJz8XS 7XKETWAyuafWpAQw/DQ4d6pCxmZiUW/A3lLStmLv6aJpsTIdXudfFkfi3PnTcTBd8LCH lJfNcvVB3YLft6z4qgfjtcCsGdh/aIRTyEDdggDg4XHc93C3XNKHipMEOLnL1HFDBzaa ZvfsPNlMxe959r7iw1Hfa+OfUJtTzlqI/RuWd00s+OmBQPBiccofAaI/f056lmTOnwII uDlOifO5GOq1Ns6xvZtFPLQqGucDCWRcQnQSfMLTgtZgXxu0nzc6HVDVskGyVh14Ctmy VByQ== X-Gm-Message-State: AOAM532Nl+NyqG/7u3HIT0yg3pqUR1lNNoDy9MWf9ktXQPeXuXetCkFJ fa2QXLvHYout+x2lNf2gTZU= X-Google-Smtp-Source: ABdhPJyGquNlLPQwLAwU1JyI954cw9uZkKT3NrTQKQh16JzAoWT49zpJX19KTAP5OLhY8/tDtsw3+w== X-Received: by 2002:a17:902:bb85:b029:d2:21cf:dc77 with SMTP id m5-20020a170902bb85b02900d221cfdc77mr4958843pls.66.1600679814654; Mon, 21 Sep 2020 02:16:54 -0700 (PDT) Received: from localhost.localdomain ([45.124.203.18]) by smtp.gmail.com with ESMTPSA id gb19sm10105690pjb.38.2020.09.21.02.16.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Sep 2020 02:16:53 -0700 (PDT) From: Joel Stanley To: Rob Herring , Andrew Jeffery Subject: [PATCH v3 0/3] ARM: aspeed: Add socinfo driver Date: Mon, 21 Sep 2020 18:46:41 +0930 Message-Id: <20200921091644.133107-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-20200921_051657_279635_EA9663A9 X-CRM114-Status: GOOD ( 13.00 ) 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:442 listed in] [list.dnswl.org] 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.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -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.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: 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! v3 removes some unncessary frees 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 | 133 ++++++++++++++++++ 7 files changed, 182 insertions(+) create mode 100644 drivers/soc/aspeed/aspeed-socinfo.c