Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp949805iog; Wed, 15 Jun 2022 16:30:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tfeT3fODB0sDD6Nh0VlFC4i5maE5ErBsB3X2iBAZUdSvw3tu9Wp9QQu6u3Qvz0jaFeYbxO X-Received: by 2002:a63:80c7:0:b0:405:1870:39cc with SMTP id j190-20020a6380c7000000b00405187039ccmr1862174pgd.45.1655335844402; Wed, 15 Jun 2022 16:30:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655335844; cv=none; d=google.com; s=arc-20160816; b=T54u97KOSG7NF40OVEdW36q210fJBtW1BJSdqNtcn1DcpuRFcq5Wc7ZGq+a86G8OoO U/5L3u8LnQ46UWrxVXA2/OBIhZisDzMhioufPMCwleUBR13wGpEcY8pbdh0VhwGvEZu0 QMc/BGen8lD5tqocJ5ZoYYDHvcQ3g785uWSpmi7W/scR2uRnfzaH0UeZQboRjp/3vJ4b nKSagB/sFRtNz2Hr9xnNGZoETiV7uociH+HHM3DDHHqD9BzJpRiuX9ZhL9Q0j92d9dix 8wamCTxLN7yeTc5n7aIRTeGR9XcZvIAGyqb7+pV1RutwBd0y7IeoOp0oC6ox6d8LG28a jNTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Oh0CzsBK6XYUSBqF1cQtOHLaqbDSnG4wCRRP0RL1GWY=; b=wm3xRdKbhN3FQfNi3MpoIu8dDhRq2Kcdm1G8Aax4Yahwkbf2dU2JANBDu4n33LX8bP Gfhn2H3SlEQsojo5R7RXB+sEittlr7rFr7gn5up5eun8bfIwW6j0xiJx5CKZys9b8CsM ML9GplDTCjVo+yVMSChT10KA3gZIYNMvP0wrkkVBdm1BR/vuXF3mLpL4r77NsgScEK4H cZ2Yn0R2pN5h6FvA3NIqznsHm9rDut7pfULNgvHiaUK/NNfU0H6imIRcB8TLqJShdGof f988aKf0bMrISJdGouuj3AyamhLekN3hYj+fU7+kjAOY0nzzHfulqpT16u82yelU8v+r KaPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fwryWYy1; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z4-20020a634c04000000b003fbde547522si551995pga.27.2022.06.15.16.30.32; Wed, 15 Jun 2022 16:30:44 -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=@chromium.org header.s=google header.b=fwryWYy1; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348447AbiFOXYq (ORCPT + 99 others); Wed, 15 Jun 2022 19:24:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242403AbiFOXYp (ORCPT ); Wed, 15 Jun 2022 19:24:45 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC99710FD8 for ; Wed, 15 Jun 2022 16:24:44 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id z17so7085146wmi.1 for ; Wed, 15 Jun 2022 16:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Oh0CzsBK6XYUSBqF1cQtOHLaqbDSnG4wCRRP0RL1GWY=; b=fwryWYy1j3kluVUxxG5tFQ3vYHpbqs9hgx4Jdj1WImsyQmO4FTGFa4hM1VabxWcMms WojO6BK3Hsd5ZpJMYnTmbFv4nRhloIV5aNQRFeEz0P1QQaZ3IO8tgbpGhzb7hee9RpiY 76/9VoY0DBWkGkLyYJ7Ja5vJIarHTKlwS1eUY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Oh0CzsBK6XYUSBqF1cQtOHLaqbDSnG4wCRRP0RL1GWY=; b=CHxCmV1o5CELXK2SbddwdFlqdgXXH6nSvgVcQWRvVi9MHE6k2VaVGBK2e9yrfk/hGO GmoqphmDOgL5moJzrJGvEcSLjcBLhO/utFQa8YO16oXabyQYBAMRnlB2T9vv1Mj9ufjC nlD3J33xECaGVMMxxU1G1NmzTi07kVb4ghWqmIcCvgCbRhlMHMxtwfVAIxaetuVxKVjs jlm9BLVDhbiGJKFk8nDjWOrSTxambNjWD9EgAI7RODyFrae/OBgVZ3pIm2aounG39GRQ qAQI8j5K4w14RDC2eZ5lG34HgE8HVUvz4lKt5FlsappohIS1DPT8N4nNOFN0/2LNsgiE v26w== X-Gm-Message-State: AJIora+/4gkcwJj+ni/Z0EZ9vOyaE5sFfaTEApYo2LxHW4ys76fyyioZ +xAsla0uoUdcLw4DGV+tbAhks587tiCM+6enrz0z8Q== X-Received: by 2002:a05:600c:3792:b0:39c:6667:202 with SMTP id o18-20020a05600c379200b0039c66670202mr1876308wmr.104.1655335483162; Wed, 15 Jun 2022 16:24:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Julius Werner Date: Wed, 15 Jun 2022 16:24:29 -0700 Message-ID: Subject: Re: [RFC] Correct memory layout reporting for "jedec,lpddr2" and related bindings To: Doug Anderson Cc: Julius Werner , Krzysztof Kozlowski , Dmitry Osipenko , Jian-Jia Su , Rob Herring , LKML , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Nikola Milosavljevic Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_SPF_WL 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 > OK, then what you have seems OK. Personally I guess I'd find it a > little less confusing if we described it as "num-chips" or something > like that. Yeah, we can do that too if people prefer that, that just means the firmware writing the entry needs to do that math. But while it makes the chips thing more obvious, it makes it less obvious what the actual memory channel width for the memory controller is, so I think it's sort of a trade-off either way (I feel like reporting the channel width would be closer to describing the raw topography as seen by memory training firmware, and leaving interpretations up to the kernel/userspace). > They do have different sets of values valid for each property. The > properties are annoyingly not sorted consistently with each other, but > I think there are also different sets of properties aren't there? Like > I only see tRASmin-min-tck in the LPDDR2 one and not LPDDR3. Okay, I haven't looked closely into the timing part. If there are notable differences, let's keep that separate.