Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3290697rwa; Tue, 23 Aug 2022 02:06:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR6JvIrT/EbZ1UpihjNW3UxfjULpAzHNTJJRWHWIMnfpV5t+55Q9EDAnF0VM+b6dihYgfB+X X-Received: by 2002:a17:907:6297:b0:72f:9aad:fcb with SMTP id nd23-20020a170907629700b0072f9aad0fcbmr15209471ejc.161.1661245563622; Tue, 23 Aug 2022 02:06:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661245563; cv=none; d=google.com; s=arc-20160816; b=Gh14Uxz+BZcb3lb65LBCoVPwzwK7ngFe0mT3VOqvCbKwY51PgtClejXfOOv83Q1kOW Ouv6dmDrbgqjGlBPJ55Bo7bJQzZLavjeVPS9ww7Fwg8EkEYmxbbcrT5dB89jrNPYWfyF PJbfOuv8Z8rXn4+BdGo+OUSuVtQepajHCIf12vKiTzTMipyLl6bwJW2Z1nkW0+/Kcd7C 6/IprGxa3Jy1M4PgycjNX7pVM9cakamW2yTgo4ikWivUukwk05SIde70jcBvz1nv87E1 qLza+KkFfn9J6rwjGVL/odNn9YdXk+usKRvVsdauw2YsY8HvPXFJ5iCwaLHBO6YQK6Ci A5cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/vigK6qq/VSnMGZD3qvyiRFz8b38AOySEVAg6pDNhBA=; b=bv4QCQZhipLeMKdGBczjLGcZKSAVnVZdRquyo179K007nNx/RUJ1wV3nrD1RmF/Oac tDi7KiFtDsH4vqEkbsiktgMWXC+hL+P6i0r8klDtQI6AKctHVYmb2faejkfmm/I2zPJH uKyezzgOgcMSxruNhfj+NvYqPGa8ubrVoAfxBNLrSrjvs9GfzjJwK6KGD/CTuuyI+ocE A3zcprVq5JIPpwImtbeQqhs6Bng+V8pJYOQXgKoymalBTgCQh8OqJYaQvniHjLsy86bG a7PQfls3E7W5qXpSFvynOcTBZbTAK8q7bBZeskNO/XazFo5OiDY0JqnczJIgxejBEhMr ByAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RFBCAdoH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k1-20020a17090632c100b0073301a22cb7si707574ejk.294.2022.08.23.02.05.37; Tue, 23 Aug 2022 02:06:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RFBCAdoH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243433AbiHWIZS (ORCPT + 99 others); Tue, 23 Aug 2022 04:25:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243499AbiHWIVQ (ORCPT ); Tue, 23 Aug 2022 04:21:16 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CBAC6F561 for ; Tue, 23 Aug 2022 01:12:38 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id z25so18648902lfr.2 for ; Tue, 23 Aug 2022 01:12:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=/vigK6qq/VSnMGZD3qvyiRFz8b38AOySEVAg6pDNhBA=; b=RFBCAdoHZ9YMv6feZw2p+dKXHvS7VJyXLJAC37FpoFugc8t9U4xGQjxoxdGw/n84rT 4hsUDanlR9I/nNG7Ke+u3mNarDeMfo2pIjETOghqK4hSKlXeEw1YTlTTANT/8fvWKxXI XdtzRBwuGqmKBim27k3bvhn8UzfuqHSwYl50LsPWvAK/PGPD7dV9vyXZLWB2v7nm2G85 bCsT7RdUS6YTsVi6EYz0exRDvsamvo7KQCBtYgUnsk/s72pxbjtSB6TsJzyhKk5AEGFG TqeWtODrCPeiQfZXZfcpVljh2bp0DtlkzDtYGyQJvDgJoijDYO0lWMY+IizCnvd1xZY3 zApQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=/vigK6qq/VSnMGZD3qvyiRFz8b38AOySEVAg6pDNhBA=; b=BaGgRfMcUYNvzXvvLxhjKhesBFIeNfOd0pKgib0kMIebBgigTUjegeeRdwNlN/eI+/ SdaaGl+U0IbtgilT8D4iCWrmlGo56bsMjWaDlTsiDGDmWR96t5uaf49JUOP09/0mcKUB NrcN6qte4gzy+kAkyJfF/kvOiEpSZiU7jGP1FzjSdvSC5QIPyDj0AwV38mr+RYoiL6Wn GE61XVLrrtXFvkzh7KpkMH35M6BunHBXGtcJzv/BPqLM6v/3/HUvjyLhfyY/JvD1G/uR 3gfafcOeLsSDVYOxrZcoVh4MhGpI4s7LBgn7pRTFxXgLeX7g96Z2Cx8YZHOLkfK3vre5 K9tA== X-Gm-Message-State: ACgBeo1Od9Rxh7m8CVKU75YKEEWKcUXvvDHXXbNKGGSU/qVLMSluOhHJ 01M8b/E8Ieo4+qvojcULFrP51Q== X-Received: by 2002:a05:6512:6c4:b0:491:c8f9:1994 with SMTP id u4-20020a05651206c400b00491c8f91994mr7719673lff.179.1661242350511; Tue, 23 Aug 2022 01:12:30 -0700 (PDT) Received: from [192.168.0.11] (89-27-92-210.bb.dnainternet.fi. [89.27.92.210]) by smtp.gmail.com with ESMTPSA id g6-20020a2ea4a6000000b0025e5631194dsm2240520ljm.21.2022.08.23.01.12.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Aug 2022 01:12:29 -0700 (PDT) Message-ID: <0bda4ff9-fc08-77f2-0e06-7469dcaec6d8@linaro.org> Date: Tue, 23 Aug 2022 11:12:28 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 02/13] dt-bindings: memory: snps: Add Baikal-T1 DDRC support Content-Language: en-US To: Serge Semin , Michal Simek , Borislav Petkov , Mauro Carvalho Chehab , Tony Luck , Krzysztof Kozlowski , Rob Herring , Manish Narani Cc: Serge Semin , Alexey Malahov , Michail Ivanov , Pavel Parkhomenko , Punnaiah Choudary Kalluri , Dinh Nguyen , James Morse , Robert Richter , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220822191957.28546-1-Sergey.Semin@baikalelectronics.ru> <20220822191957.28546-3-Sergey.Semin@baikalelectronics.ru> From: Krzysztof Kozlowski In-Reply-To: <20220822191957.28546-3-Sergey.Semin@baikalelectronics.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/08/2022 22:19, Serge Semin wrote: > Baikal-T1 DDR controller is based on the DW uMCTL2 DDRC IP-core v2.51a > with up to DDR3 protocol capability and 32-bit data bus + 8-bit ECC. There > are individual IRQs for each ECC and DFI events.The dedicated scrubber Missing space before "The". > clock source is absent since it's fully synchronous to the core clock. You need allOf:if-then restricting this per variant. > In addition to that the DFI-DDR PHY CSRs can be accessed via a separate > registers space. > > Signed-off-by: Serge Semin > --- > .../memory-controllers/snps,dw-umctl2-ddrc.yaml | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/memory-controllers/snps,dw-umctl2-ddrc.yaml b/Documentation/devicetree/bindings/memory-controllers/snps,dw-umctl2-ddrc.yaml > index 8db92210cfe1..899a6c5f9806 100644 > --- a/Documentation/devicetree/bindings/memory-controllers/snps,dw-umctl2-ddrc.yaml > +++ b/Documentation/devicetree/bindings/memory-controllers/snps,dw-umctl2-ddrc.yaml > @@ -26,6 +26,7 @@ properties: > enum: > - snps,ddrc-3.80a > - xlnx,zynqmp-ddrc-2.40a > + - baikal,bt1-ddrc Messed order. Don't add stuff at the end, but in alphabetical order. > > interrupts: > description: > @@ -49,7 +50,14 @@ properties: > enum: [ ecc_ce, ecc_ue, ecc_ap, ecc_sbr, dfi_e ] > > reg: > - maxItems: 1 > + minItems: 1 > + maxItems: 2 > + > + reg-names: > + minItems: 1 > + items: > + - const: umctl2 > + - const: phy You need allOf:if-then restricting this per variant. Best regards, Krzysztof