Message ID | 20221026171354.51877-1-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp394079wru; Wed, 26 Oct 2022 10:22:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5rdxU5xy/VMiAl7UejBnBeZp1DDfrtSsP/13ldILfW3tFg9xJPUDYU4aFVkU5Lv3yxDNg6 X-Received: by 2002:a05:6402:1e89:b0:461:a8b5:402a with SMTP id f9-20020a0564021e8900b00461a8b5402amr18695340edf.336.1666804931916; Wed, 26 Oct 2022 10:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666804931; cv=none; d=google.com; s=arc-20160816; b=pgppBI4IS6c+Z282teyxXNAUrPqP4Jtoht+y09C5+lnfoZa4KLvW8KP0pPhF4DWNXC l4N1K8BTUnYpgOa0oy+him3ykaA3PYwjkwtMB/48Foh+yMQ3HIxhO9C+ZVwlBWpJjUI2 PnXIGcsh++XJGK1yJ9nrroYVz9UZgvxq5R5EfKp4+Oo8sM2VmxvpUNLtnzVDULs4nVs5 5pVhHPeWR1fFoSKE3Al+2JdbCKTkctvsfmf2TMmsvAN3xXkJah0BsGkqZMycGnVq2C2+ uRTq3MGeKGsYjQ4BlTif1q9itShxZTETG8xjORi0tV0KtIsqXVM5bUlkh0oyZbZzPSVm 36yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Lfid/EGLi+19H4uwbSlhnu7zTXD1AOWmoY4BG7Csjzk=; b=gTu6blzdTOb8BTDtsOLY5rc6WgwAv9edIUGHA5dISKmelkcSAeLj862DYO6iiDbOYC 7IyMnWI6fNb+Y+imca1t5SvqVQUehvYXH3HZ3Vu0EQ+oCG777Nk7B8KC4L8QeVuMRufX 40j0mvqrhjpqG475BHIpGd0hxka3aTG+c9FYip2UYq2S+cShLthyZdXC66qKNwzH09WC bigedG2CVdYxya4meX0P0emqGAuIyJ6Y6wNJpxgCTXIJvYA6+4/0Z/XAgImkG3431c0B KCvFU9Btx8lETmmuhI/4NxcjGyVfL/HLfzkD1XT3ML3EbQqiBAI1YyP6/2L/RyJ5a6zI r6sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w2XLX71A; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h19-20020a056402281300b0045945eed10asi7526318ede.5.2022.10.26.10.21.47; Wed, 26 Oct 2022 10:22:11 -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=w2XLX71A; 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 S234080AbiJZROB (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Wed, 26 Oct 2022 13:14:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234147AbiJZRN7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 26 Oct 2022 13:13:59 -0400 Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 284F312601 for <linux-kernel@vger.kernel.org>; Wed, 26 Oct 2022 10:13:58 -0700 (PDT) Received: by mail-qv1-xf36.google.com with SMTP id i12so12095836qvs.2 for <linux-kernel@vger.kernel.org>; Wed, 26 Oct 2022 10:13:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Lfid/EGLi+19H4uwbSlhnu7zTXD1AOWmoY4BG7Csjzk=; b=w2XLX71AJSDs08JMfr4J7+gBpYWssQnKF7mTjcseKI+gsVR28N0HH5u3aGnphmCS3t gNXlxecVPdx1Hz4fjH+FuX6G1q1Y5MfQ+h9Kg12DgxFiL3peE/z05GcyQMfLoZBUOWCC PEAhRRRZBEg58af5k53cS50uIhMsncd6gmOBaTExPC1cSuxxzvBa4IId0+kUBz//uo7I QX1MlyriVfn14H7x0IPs/zCWdGuz0G5ROEKCDeNvJ6EET3oNYrOm0jla+Jfk0f9znfgl d+a4togMkqaMYexyeW9uFEPMKAirv7wwiBMPpxVz1wWXT2hyJTZV9UvZrooMPQVXaHYo Atng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Lfid/EGLi+19H4uwbSlhnu7zTXD1AOWmoY4BG7Csjzk=; b=E4YZJrNs4CR2AuDEX9Xbjh/wudPOUymzGUmJdUCSpgEFudp90NreG2d99D/vrzFA5o u2/4mDmozp+UoN6K2cXs/RJ0/yNmug/7DlOW8cbTUM5omvxZAHmdMMRzK91DuSHFFgi6 325V5tZrTUDskbC+RzJX5FN5g6zhfiCFFHmxo8G2lWGxmaXNdbxEy6qnz7eh7QBJpT8E ER2A/ieQ6FlkCb1sgYwFCnpXsdszwD74W0BPFM5CY1tjsRo/a1Rf7qiUFts8R0TX7isU lFOjRLPH2VF4Z8tC5tRV8bkF1ac9CFC4FHSGBh5tbnCg//AGouspgVTE2Zhi3nQWuPxC GmUg== X-Gm-Message-State: ACrzQf2wYWTEv3/r9SsJzLlt3UF9g4PtG25LIMkVYOomJwTwxce8yKzq 1SGewdZ+tCoJuyKAf8mPUCNXvA== X-Received: by 2002:ad4:5dea:0:b0:4b2:e813:7c35 with SMTP id jn10-20020ad45dea000000b004b2e8137c35mr37120067qvb.74.1666804437178; Wed, 26 Oct 2022 10:13:57 -0700 (PDT) Received: from krzk-bin.. ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id bq14-20020a05622a1c0e00b0039cc64bcb53sm3467002qtb.27.2022.10.26.10.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 10:13:56 -0700 (PDT) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Olof Johansson <olof@lixom.net>, Arnd Bergmann <arnd@arndb.de>, arm@kernel.org, soc@kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, linux-kernel@vger.kernel.org, Krzysztof Kozlowski <krzk@kernel.org> Subject: [GIT PULL] memory: drivers for v6.2 Date: Wed, 26 Oct 2022 13:13:54 -0400 Message-Id: <20221026171354.51877-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747771648079784721?= X-GMAIL-MSGID: =?utf-8?q?1747771648079784721?= |
Series |
[GIT,PULL] memory: drivers for v6.2
|
|
Pull-request
https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl.git tags/memory-controller-drv-6.2Message
Krzysztof Kozlowski
Oct. 26, 2022, 5:13 p.m. UTC
Hi, This includes pieces from late (3rd) pull for v6.1, which did not make that time. Best regards, Krzysztof The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780: Linux 6.1-rc1 (2022-10-16 15:36:24 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl.git tags/memory-controller-drv-6.2 for you to fetch changes up to a11a5debdf4b5b5c24e88a378b53b42cc4fe1bb9: dt-bindings: memory-controller: st,stm32: Split off MC properties (2022-10-18 13:05:18 -0400) ---------------------------------------------------------------- Memory controller drivers for v6.2 1. STM32 FMC2: a. Correct in bindings the name of property for address setup duration. The DTS and driver were already using proper name, so it is only alignment of bindings with real usage. b. Split off STM32 memory controller bus peripheral properties into generic ones (re-usable by multiple memory controllers) and STM32 bus peripheral. This way, the FMC2 controller properties in Micrel KSZ8851MLL ethernet controller node can be properly validated. 2. Tegra MC: simplify with DEFINE_SHOW_ATTRIBUTE. 3. Renesas RPC IF: add suppor tfor R-Car Gen4. 4. LPDDR bindings: refactor and extend with description of DDR channels. Add also bindings for LPDDR4 and LPDDR5. The rationale for (4) above - LPDDR bindings changes, wrote by Julius Werner: "We (Chromium OS) have been trying to find a way to pass LPDDR memory chip information that is available to the firmware through the FDT (mostly for userspace informational purposes, for now). We have been using and expanding the existing "jedec,lpddr2" and "jedec,lpddr3" bindings for this (e.g. [1]). The goal is to be able to identify the memory layout of the system (how the parts look like, how they're tied together, how much capacity there is in total) as accurately as possible from software-probed values. ... The problem with this is that each individual LPDDR chip has its own set of mode registers (per rank) that only describe the density of that particular chip (rank). The host memory controller may have multiple channels (each of which is basically an entirely separate set of physical LPDDR pins on the board), a single channel may be connected to multiple LPDDR chips (e.g. if the memory controller has an outgoing 32-bit channel, that channel could be tied to two 16-bit LPDDR chips by tying the low 16 bits to one and the high 16 bits to the other), and then each of those chips may offer multiple independent ranks (which rank is being accessed at a given time is controlled by a separate chip select pin). So if we just have one "io-width" and one "density" field in the FDT, there's no way to figure out how much memory there's actually connected in total, because that only describes a single LPDDR chip. Worse, there may be chips where different ranks have different densities (e.g. a 6GB dual-rank chip with one 4GB and one 2GB rank), and different channels could theoretically be connected to chips of completely different manufacturers." Link: https://lore.kernel.org/r/CAODwPW9E8wWwxbYKyf4_-JFb4F-JSmLR3qOF_iudjX0f9ndF0A@mail.gmail.com ---------------------------------------------------------------- Cong Dang (1): memory: renesas-rpc-if: Clear HS bit during hardware initialization Geert Uytterhoeven (1): memory: renesas-rpc-if: Add support for R-Car Gen4 Hai Pham (1): dt-bindings: memory: renesas,rpc-if: Document R-Car V4H support Julius Werner (4): dt-bindings: memory: Factor out common properties of LPDDR bindings dt-bindings: memory: Add numeric LPDDR compatible string variant dt-bindings: memory: Add jedec,lpddr4 and jedec,lpddr5 bindings dt-bindings: memory: Add jedec,lpddrX-channel binding Liu Shixin (4): memory: tegra20-emc: use DEFINE_SHOW_ATTRIBUTE to simplify code memory: tegra30-emc: use DEFINE_SHOW_ATTRIBUTE to simplify code memory: tegra210-emc: use DEFINE_SHOW_ATTRIBUTE to simplify code memory: tegra186-emc: use DEFINE_SHOW_ATTRIBUTE to simplify code Marek Vasut (2): dt-bindings: memory-controller: st,stm32: Fix st,fmc2_ebi-cs-write-address-setup-ns dt-bindings: memory-controller: st,stm32: Split off MC properties .../ddr/jedec,lpddr-channel.yaml | 146 +++++++++++++++++++++ .../memory-controllers/ddr/jedec,lpddr-props.yaml | 74 +++++++++++ .../memory-controllers/ddr/jedec,lpddr2.yaml | 48 ++----- .../memory-controllers/ddr/jedec,lpddr3.yaml | 44 ++----- .../memory-controllers/ddr/jedec,lpddr4.yaml | 35 +++++ .../memory-controllers/ddr/jedec,lpddr5.yaml | 46 +++++++ .../memory-controllers/mc-peripheral-props.yaml | 38 ++++++ .../memory-controllers/renesas,rpc-if.yaml | 5 + .../st,stm32-fmc2-ebi-props.yaml | 144 ++++++++++++++++++++ .../memory-controllers/st,stm32-fmc2-ebi.yaml | 138 +------------------ .../devicetree/bindings/net/micrel,ks8851.yaml | 1 + drivers/memory/renesas-rpc-if.c | 22 +++- drivers/memory/tegra/tegra186-emc.c | 15 +-- drivers/memory/tegra/tegra20-emc.c | 15 +-- drivers/memory/tegra/tegra210-emc-core.c | 15 +-- drivers/memory/tegra/tegra30-emc.c | 15 +-- include/memory/renesas-rpc-if.h | 1 + 17 files changed, 531 insertions(+), 271 deletions(-) create mode 100644 Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr-channel.yaml create mode 100644 Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr-props.yaml create mode 100644 Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr4.yaml create mode 100644 Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr5.yaml create mode 100644 Documentation/devicetree/bindings/memory-controllers/mc-peripheral-props.yaml create mode 100644 Documentation/devicetree/bindings/memory-controllers/st,stm32-fmc2-ebi-props.yaml