From patchwork Tue Mar 30 13:48:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 12172625 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1CFAFC433C1 for ; Tue, 30 Mar 2021 13:54:02 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 87B3661998 for ; Tue, 30 Mar 2021 13:54:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 87B3661998 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=cMe/CMIxkkBrWeRQCzy4yeG7R6CwJ7G6kV2QbBtSa/A=; b=kVF5v1ckErPALad1OPEIxxIpB t8rrB+BCntI+3xzXW5RzpYqPfmAbAs6brrfBJ0Yx/vG7/5s+gRmIEM1x2fLwQC6fjRdCpuNWYvM+W TVRYD9UtMMiCa3lUX73ZGw3292MfTvJCHfplQeiDG321MolevKToNGrFgmHMIOhFlDoNstcjDV4TM Iu97fEO8RCVrgr4YMy+1d1K+7klwzZWLQ2CAutVAJYGqHsfkz/psfCt1O6b1ZMYUYn26mbduMBJxO inQ1BtFZxYsABx7qlxx2T2rKA3Og6MJoS25rZBDvOyG3A26EO29yryxOuqkc/y38bUxUz0NBboYoS 3FFqoiWkw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lREnL-003sBV-AO; Tue, 30 Mar 2021 13:52:36 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lREjL-003rcT-3h; Tue, 30 Mar 2021 13:51:54 +0000 Received: by mail-ej1-x62d.google.com with SMTP id r12so24939883ejr.5; Tue, 30 Mar 2021 06:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3+3EOZ+BiKLMx9cVwQE1QQOnnXxodL6X9K+oNxH3xRA=; b=aetLVVkZ9mDP/zHp1Z3wAEtDs0G3k4Tgtptg9qVC62yVxuFcH/bH1NKhYnqHujMlzy arsR73JfiOqoA1WGXiekmexSG94s65xPe3QOrPdzQOQBTQENKaaEUaSP/WjKa6b2ay1h 8rl8AqJUJjJoED2GTGlS9Tmy3zLJSPlQ6/GPNLyLwpMQ7ER6qEpYnglksXSNA/1YdzxK 5GnLVrMPfIxHcqkMnP2BG8iEC3FyratKojpbYUBabSnBTQ8Smreb31JqO4hN+iXZ6JM8 zLCgPOm7n9iPHUGJSdgVm3qjxg2Z3LbvXngFAikxm2rCaoJ689Jvo/vevXL/1JW9K6kN DdwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3+3EOZ+BiKLMx9cVwQE1QQOnnXxodL6X9K+oNxH3xRA=; b=bDpFcuz7C77y8fAraY2Lr4Mmy+0xjQxtCkm4iHlRuQa4JlyQSbf0Ni23dQN8sRLyfL +mSsAxzOOeuvQ73uJbn9Npu8uFPUOJaQhHRpTCw9k5wlmXpfnUysub7pP1eGBTRLOHCJ z/gu18Xi9MYLXGRYJU2ur6j9Riyx+rkfZm31vGkYMubbZgih9Xc4uu2szqLNzS39MHf4 hVHvKz6+dgj8mNYvm/5XqQJhXg3USNLT0DE7ZBagpHBOFb758byNg2RQ/9N/vYQr1Ret T6flvzXTPlKjP0kDn9JX+1b/teMjyoAhYeeP68TbTi2jWu7Msdx1KoaptCJUcNyq43xv RxMQ== X-Gm-Message-State: AOAM530e9PRPuEsptIjAZzJxiDBRdKGoEDDKRkzIe9GgA8ICjXu/Gudv mqWze6uUrlRjqnlV5gfv69I= X-Google-Smtp-Source: ABdhPJyVApA+moIOfgTjoYWSYe6huhRHCm6oYXLsZJTHueWGkqAvbpPBNiscrtVW/hVNUwe8yub+rQ== X-Received: by 2002:a17:906:3c50:: with SMTP id i16mr33973863ejg.175.1617112105598; Tue, 30 Mar 2021 06:48:25 -0700 (PDT) Received: from localhost.localdomain ([188.24.140.160]) by smtp.gmail.com with ESMTPSA id l12sm11114681edb.39.2021.03.30.06.48.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 06:48:25 -0700 (PDT) From: Cristian Ciocaltea To: Rob Herring , =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/6] dt-bindings: reserved-memory: Add Owl SoC serial number binding Date: Tue, 30 Mar 2021 16:48:16 +0300 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210330_145027_495373_E6A9430A X-CRM114-Status: GOOD ( 14.60 ) 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 Add devicetree binding for the Actions Semi Owl SoC serial number reserved-memory range. Signed-off-by: Cristian Ciocaltea --- .../actions,owl-soc-serial.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/reserved-memory/actions,owl-soc-serial.yaml diff --git a/Documentation/devicetree/bindings/reserved-memory/actions,owl-soc-serial.yaml b/Documentation/devicetree/bindings/reserved-memory/actions,owl-soc-serial.yaml new file mode 100644 index 000000000000..41b71f47ee6c --- /dev/null +++ b/Documentation/devicetree/bindings/reserved-memory/actions,owl-soc-serial.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reserved-memory/actions,owl-soc-serial.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Actions Semi Owl reserved-memory for SoC serial number + +maintainers: + - Cristian Ciocaltea + +description: | + Provide access to the memory region where the two parts of the Actions + Semi Owl SoC serial number (low & high) can be read from. This information + is provided by the bootloader, hence expose it under /reserved-memory node. + + Please refer to reserved-memory.txt in this directory for common binding + part and usage. + + This is currently supported only on the S500 SoC variant. + +properties: + compatible: + oneOf: + - const: actions,owl-soc-serial + - items: + - enum: + - actions,s500-soc-serial + - const: actions,owl-soc-serial + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: true + +examples: + - | + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + soc_serial: soc-serial@800 { + compatible = "actions,s500-soc-serial", "actions,owl-soc-serial"; + reg = <0x800 0x8>; + }; + }; + +...