From patchwork Tue Aug 17 09:38:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12441221 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 BECB3C43214 for ; Tue, 17 Aug 2021 09:40:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9B5896044F for ; Tue, 17 Aug 2021 09:40:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236074AbhHQJkm (ORCPT ); Tue, 17 Aug 2021 05:40:42 -0400 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]:36714 "EHLO smtp-relay-canonical-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235668AbhHQJkj (ORCPT ); Tue, 17 Aug 2021 05:40:39 -0400 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPS id BF1013F09F for ; Tue, 17 Aug 2021 09:40:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629193200; bh=YL4I+/3FxyPUFZSenvPrl5nRwbLh6LxmLfvqc1D9xQI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=mUiosdQ3r+s/n130qzoeZeyILiQ7OC229Vx3T9XT9+wR3Yxk5QhH+Iq9AFY5LdhKN II9tPh4/dZi8LuGkvxkE4OibRTw4JbkCIumI0gf2uPPVdlVhyP6k17yCRV/F0UMrUD jxrQudHMR+JCOpXIRLBjEebUjDoJlabIGn+9+X8dRvKgqGuzpc4sdjxNDnaOm7qQ6U UegvY9BDj9lHw/n2Sft1fx8YRlp3s437kLbLEOIoqCt2z07ARrp1DXAf8jL6x5J2+w IgrV10+Y/t2VCjEubuX97FUb7WlqG6qMCw3rBfyS7znnqIznlDDZx48TkyduF/FAVa 26BkauuNCnoxg== Received: by mail-ed1-f70.google.com with SMTP id x4-20020a50d9c4000000b003bed5199871so4136308edj.14 for ; Tue, 17 Aug 2021 02:40:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=YL4I+/3FxyPUFZSenvPrl5nRwbLh6LxmLfvqc1D9xQI=; b=TbiFCDaXgE7agCesM3cdPyMY1mKRK6OWbL24YNFA6wIi/+Vsp155Bm5ulK5Zt7+IA5 xl5WLKtII6ks1stQAp9tfyjs05nsssNWjw1bl9Bok9io3FOJAMC3FfhLWqdTZwWjNxOn 39TdIF3ZWAy4uP7QAIQlCf7IVq9noSvjGj7AQTviC3aLON++Q/ZSrNJwgKk+wepnkgGt 0US5xW1UG+D08/9w45Z+1+7bp3kNGhGmZssfAiXduYjLpiStkCxwE/kDuJFF2UFUraN7 20ISWppowmBR0WvTjjw4mu5c0LYoeq+pCtwx4wsfcIdkRMerKvu+xpF5TfEGLGbIdWpS dIOA== X-Gm-Message-State: AOAM532lr747+7DN6Gie4OxHANrEykHwnai7bV7duB/bek21o6rRx8KF JVVdObcRU5EizehCXYuj9dMceqzLvkvqqxCNF7wWovPiDCv0+7aXx3kixNH8NonR645l/aCmH/f ago84V53kF5woTusdCaGoNXXagmI1X9qoKS9mAV8= X-Received: by 2002:aa7:c40a:: with SMTP id j10mr3080337edq.133.1629193200556; Tue, 17 Aug 2021 02:40:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyP7UchvSb44LTQyUkMc1SNkzvXT8lu+tCownUHhUdvG0CPxNUo8oW+qdDebxZemYIHtntXnA== X-Received: by 2002:aa7:c40a:: with SMTP id j10mr3080326edq.133.1629193200439; Tue, 17 Aug 2021 02:40:00 -0700 (PDT) Received: from localhost.localdomain ([86.32.42.198]) by smtp.gmail.com with ESMTPSA id sa21sm515667ejb.108.2021.08.17.02.39.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Aug 2021 02:39:59 -0700 (PDT) From: Krzysztof Kozlowski To: Jan Luebbe , Borislav Petkov , Mauro Carvalho Chehab , Tony Luck , James Morse , Robert Richter , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: memory: convert Marvell MVEBU SDRAM controller to dtschema Date: Tue, 17 Aug 2021 11:38:06 +0200 Message-Id: <20210817093807.59531-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org Convert Marvell MVEBU SDRAM controller bindings to DT schema format using json-schema. Signed-off-by: Krzysztof Kozlowski --- .../marvell,mvebu-sdram-controller.yaml | 31 +++++++++++++++++++ .../mvebu-sdram-controller.txt | 21 ------------- 2 files changed, 31 insertions(+), 21 deletions(-) create mode 100644 Documentation/devicetree/bindings/memory-controllers/marvell,mvebu-sdram-controller.yaml delete mode 100644 Documentation/devicetree/bindings/memory-controllers/mvebu-sdram-controller.txt diff --git a/Documentation/devicetree/bindings/memory-controllers/marvell,mvebu-sdram-controller.yaml b/Documentation/devicetree/bindings/memory-controllers/marvell,mvebu-sdram-controller.yaml new file mode 100644 index 000000000000..14a6bc8f421f --- /dev/null +++ b/Documentation/devicetree/bindings/memory-controllers/marvell,mvebu-sdram-controller.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/marvell,mvebu-sdram-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell MVEBU SDRAM controller + +maintainers: + - Jan Luebbe + - Krzysztof Kozlowski + +properties: + compatible: + const: marvell,armada-xp-sdram-controller + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + memory-controller@1400 { + compatible = "marvell,armada-xp-sdram-controller"; + reg = <0x1400 0x500>; + }; diff --git a/Documentation/devicetree/bindings/memory-controllers/mvebu-sdram-controller.txt b/Documentation/devicetree/bindings/memory-controllers/mvebu-sdram-controller.txt deleted file mode 100644 index 89657d1d4cd4..000000000000 --- a/Documentation/devicetree/bindings/memory-controllers/mvebu-sdram-controller.txt +++ /dev/null @@ -1,21 +0,0 @@ -Device Tree bindings for MVEBU SDRAM controllers - -The Marvell EBU SoCs all have a SDRAM controller. The SDRAM controller -differs from one SoC variant to another, but they also share a number -of commonalities. - -For now, this Device Tree binding documentation only documents the -Armada XP SDRAM controller. - -Required properties: - - - compatible: for Armada XP, "marvell,armada-xp-sdram-controller" - - reg: a resource specifier for the register space, which should - include all SDRAM controller registers as per the datasheet. - -Example: - -sdramc@1400 { - compatible = "marvell,armada-xp-sdram-controller"; - reg = <0x1400 0x500>; -}; From patchwork Tue Aug 17 09:38:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12441219 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 E94EBC4338F for ; Tue, 17 Aug 2021 09:40:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CBA566044F for ; Tue, 17 Aug 2021 09:40:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235651AbhHQJkk (ORCPT ); Tue, 17 Aug 2021 05:40:40 -0400 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]:36706 "EHLO smtp-relay-canonical-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235401AbhHQJkj (ORCPT ); Tue, 17 Aug 2021 05:40:39 -0400 Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPS id 0A77740CCF for ; Tue, 17 Aug 2021 09:40:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629193202; bh=O8grwwL2ifdZnTVT+NKzhfJJRenRFaKSvMvVvpUkqxw=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=LY2VJqIbeVoh/lKViIxAuXUvye+Y7VhOvM1HeGB1J6LQSryix5syb14IM5EvNp814 Bit+YERVKfZP4aRu087WY+Q9EYMhes4c8M2Z48Nbru1mmExa11tWCPKZA4Ggs+w7Gm cB9v641QxQbcJPw9AXzY3Y6I+2hrzHUqJejTs828rfH3jbx7EWG0OJWF5vTE7D8LZd mJT4R7i6qOukTd9DPvXAuS8Vtj8chDp8YpR/9/5ZpK8Uf2KCifgPZJb4c9aXdeZ0yJ 140JyDsPQWZ/toMdEa8oOgVbDJSQRrpo5WK9i2UhpJoaB+ropzCjkZOtfeydxyC8US 0DLPbONcg9Rxw== Received: by mail-ed1-f69.google.com with SMTP id dd25-20020a056402313900b003bed8169691so4052841edb.7 for ; Tue, 17 Aug 2021 02:40:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=O8grwwL2ifdZnTVT+NKzhfJJRenRFaKSvMvVvpUkqxw=; b=da/ZQm1unRsfOH64KygFKpF1TSfZYZyoVv80Z5fXeUdk3r4IONSxHEh9UOtrz0QHEX CStSdL3kAbuwfy3lvnGyGNjqWPmjO3SRWjrJRr+K+SXhSV4/nOzLhwQsv0+utBbqUu0R fTW9/NxwNG99f912pnd7YR9cByswA0y+mGjGbjM6cqTrtj9ZgXq3jIIqIkTHeW9aeMPs bHOzjx/8wo2+cK5woBhW978bnHM7M3wP3NEhhdSREjv0QEClegWimMWDuolVfEepqEEz KdlmQ5oaSBlXOU43/kjYp9cXpWGKwK8sC4PTtegyE5lseqZ5I6oTPwI0fHXVYfqEHK1a A5Zw== X-Gm-Message-State: AOAM530DGffD6EYcjnzkPalpQbfDvU6GR55H9nWVPKMvzyjzivhuhqQ7 3Ieqf7i1jNWc39KY1yCe6yb8E/hXpkqDRF+WT4yNSgm/+RtIqQ0NBnzfLcBYmBzp63R+MXz3V5h yurGSIk2jHxfxjSZamy8P19Y/2KnSnZgwBXyV2lQ= X-Received: by 2002:aa7:cace:: with SMTP id l14mr3209281edt.14.1629193201826; Tue, 17 Aug 2021 02:40:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPaN9/+Xh9sugyxx4rCADXIJl5PW2HMz+txn6kA9UaH5J9NRz2BaR5d40ICG4bM9PnLwqk4A== X-Received: by 2002:aa7:cace:: with SMTP id l14mr3209265edt.14.1629193201687; Tue, 17 Aug 2021 02:40:01 -0700 (PDT) Received: from localhost.localdomain ([86.32.42.198]) by smtp.gmail.com with ESMTPSA id sa21sm515667ejb.108.2021.08.17.02.40.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Aug 2021 02:40:01 -0700 (PDT) From: Krzysztof Kozlowski To: Jan Luebbe , Borislav Petkov , Mauro Carvalho Chehab , Tony Luck , James Morse , Robert Richter , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH 2/2] MAINTAINERS: EDAC/armada_xp: include dt-bindings Date: Tue, 17 Aug 2021 11:38:07 +0200 Message-Id: <20210817093807.59531-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210817093807.59531-1-krzysztof.kozlowski@canonical.com> References: <20210817093807.59531-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org Include dt-bindings for Marvell Armada XP SDRAM and L2 cache ECC in the EDAC-ARMADA entry. Signed-off-by: Krzysztof Kozlowski --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index be8e4af8ed64..ec75414db0ce 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6574,6 +6574,7 @@ EDAC-ARMADA M: Jan Luebbe L: linux-edac@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/memory-controllers/marvell,mvebu-sdram-controller.yaml F: drivers/edac/armada_xp_* EDAC-AST2500