From patchwork Mon Sep 21 09:16:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 11789013 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 379EF139F for ; Mon, 21 Sep 2020 09:17:21 +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 E68EA214F1 for ; Mon, 21 Sep 2020 09:17:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="B3jKjD2O"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="luceUTko" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E68EA214F1 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:References:In-Reply-To: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:List-Owner; bh=kPDs7pjH4KRbKX87YlNOkTXpLPHi4yf9HHQ8fijThGo=; b=B3jKjD2OeuZ2m76iSzEtgBbIg 71jZvRM2vBFr8Jj7czDQm5EkKGB/yrDzfaaT7JDvNrR9V0qkj4l8c1SA3FQmMjihFo1BwR562GuhE dqzt4fEsg75uGgavPXcl8TZrUZyL5MnNjHUoYz9Wr610zFTtdpVpGYQjZrPser/xt96MDkLa0r0o3 lCzRuqWQAW5z/NI/vvQieDXB8F1gld8VWH0DXyjTlIlM2xHQm2hMK5kcHBrKa+EkYLQ4US/r/9aSY Sv5A3evjHAy3vUTSPP6nZjs1pb3SXEvM5sEH0tIbe03hfJsZM+1eRQM7slE7ymzHgj1k/fuivGOrz KjBIac10g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKHwa-0005zy-8j; Mon, 21 Sep 2020 09:17:08 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKHwS-0005y1-Qf for linux-arm-kernel@lists.infradead.org; Mon, 21 Sep 2020 09:17:01 +0000 Received: by mail-pg1-x541.google.com with SMTP id 34so8471528pgo.13 for ; Mon, 21 Sep 2020 02:16:59 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=HIhrg8tRGQCxs5Sa82o6WHubo3OlUJFmsl/2L8gztn8=; b=luceUTkoW+9pCSILD5AJicH1J7GUxI+drnA7b7xnLPdudcjaTLtZDZEXBBcaCOHK3/ eJ/HTzvjz30J6sVCL0gS4tX6QBRAOUnOf8CfiwxIhqPir5iQvrDuLvoG0ZOP9eZKxhUU lNzz1Fny3mKw/eNJ7r9UIP8gZPM7MWUvt4UYahlSDRhR2BV3H8ngmzyQ47fD9dFPW+c7 am4R1V0XmCL84wJjCpaosxDc9zMPkgmgQCJwDWMfAWacXXJpcd1VVfrBENnJmSCKQIMF 4yZZAJ3pFHuKsQ3gbrycfl0p1pS7cBuh7byMcYJCwBa4LGhMzyiPyUp5Oqm2lsQq3p3w phIA== 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=HIhrg8tRGQCxs5Sa82o6WHubo3OlUJFmsl/2L8gztn8=; b=irPfrsJNGnxyEbvdSMEvIx1DprjLrcDe6xgRK+hLoCu3OVFG8fKk/5QrLBRSZpCiOg 1qlpsNs8MQ9rkXLnt7Ddy13yY/G5S0Dod956ZTjGcrGe6C72uwRd9E05Nck4s9t2wVvV tSpP3LeyXJcpBMAksd0IZ9VuvxnPP4bFLDZ3uiA1V+Mj9YljPCVUk9xUgFUfBKn9i6oO B//NsvD01QfMU6jXferwabKv7GpRH0lxxiEnIGSbp4lLgcB1xYyK19VBVLK68SCqA4Pz XCY+Xdc1qvb2W5qEoXOG8T6MpfIuB+6O/iy6b199DJI0Ysub6f70iPNq8d82JvRYEMUP ybDA== X-Gm-Message-State: AOAM533rBY8iBvFH1GJVPq1JVcnZO3oPUduHAZsRZTxX/SladmLfCBta BgUUGTLy4XVmNZSWLJiGMO8= X-Google-Smtp-Source: ABdhPJwkuFJnVm4iQza9Qo50hDygKfc4y7LOKZiXmom/SbE+SshwfyezqsxBfCvXn2jybxjLYwRgug== X-Received: by 2002:a17:902:b286:b029:d2:29fc:c89c with SMTP id u6-20020a170902b286b02900d229fcc89cmr2287067plr.3.1600679818365; Mon, 21 Sep 2020 02:16:58 -0700 (PDT) Received: from localhost.localdomain ([45.124.203.18]) by smtp.gmail.com with ESMTPSA id gb19sm10105690pjb.38.2020.09.21.02.16.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Sep 2020 02:16:57 -0700 (PDT) From: Joel Stanley To: Rob Herring , Andrew Jeffery Subject: [PATCH v3 1/3] dt-bindings: aspeed: Add silicon id node to SCU Date: Mon, 21 Sep 2020 18:46:42 +0930 Message-Id: <20200921091644.133107-2-joel@jms.id.au> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200921091644.133107-1-joel@jms.id.au> References: <20200921091644.133107-1-joel@jms.id.au> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200921_051700_881090_4641878E X-CRM114-Status: GOOD ( 13.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:541 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 Different ASPEED families have various unique hardware silicon identifiers within the SoC. Signed-off-by: Joel Stanley Reviewed-by: Andrew Jeffery --- v2: - Fix 2500 string - Be explicit about which ast2600 register to use --- .../devicetree/bindings/mfd/aspeed-scu.txt | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/aspeed-scu.txt b/Documentation/devicetree/bindings/mfd/aspeed-scu.txt index 4d92c0bb6687..857ee33f7329 100644 --- a/Documentation/devicetree/bindings/mfd/aspeed-scu.txt +++ b/Documentation/devicetree/bindings/mfd/aspeed-scu.txt @@ -20,3 +20,29 @@ syscon: syscon@1e6e2000 { #clock-cells = <1>; #reset-cells = <1>; }; + +Silicon ID +----------------- + +Families have unique hardware silicon identifiers within the SoC. + +Required properties: + + - compatible: "aspeed,silicon-id" or: + "aspeed,ast2400-silicon-id" or + "aspeed,ast2500-silicon-id" or + "aspeed,ast2600-silicon-id" + + - reg: offset and length of the silicon id information + optionally, a second offset and length describes the unique chip id + + The reg should be the unique silicon id register, and + not backwards compatible one in eg. the 2600. + +Example: + + +silicon-id@7c { + compatible = "aspeed,ast2500-silicon-id", "aspeed,silicon-id"; + reg = <0x7c 0x4 0x150 0x8>; +};