From patchwork Mon Mar 8 23:38:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 395516 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp2130697jai; Mon, 8 Mar 2021 15:40:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyL68bRUlm8sYCPaqplZJJjsFvg6lVuFSM9vOg9oGPRagGwixpcb6xaheUTfrFB6FziAcJ4 X-Received: by 2002:a17:906:358c:: with SMTP id o12mr17917578ejb.156.1615246858914; Mon, 08 Mar 2021 15:40:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615246858; cv=none; d=google.com; s=arc-20160816; b=q3Z2StnIWzJO3CqyUTzi0wb0q/6pVb+1Fbl0YJFVDygwfcmMOQs6TbusDCYGdW+2Cr FySykjA7MiL6KP/c1GFwq5KVB6QO81DxSCKFDJHj2GdkDWOtCjzmYACC2R3wrEKJZOIC i59PLNgH6TGOE67DIdI1zlsdrdOzMWTQd0ct7tvaUF2PNjf9BYmKN16Q/3svgmybSmx6 mIqx+BICCdGhpC16c+Lw7hgNW20alRkDmuLyp8DXuBh7ZDw9/qMdMj2TqO9qCVcbnvpu ibo7b9XGnTNan0yeiOVwWt+/Tgcz56CxVsD/whYwaZLlZiBwaeqBD/+yVu0ctWunW+Ry VczA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=V3n06U8mdhrzmpR+haJF9/pQTaor6n5rQHvjEBzX2gU=; b=rencbnMyF/LwRJgvOl+KBMCL5/0nhm8vFTyGYtLcK+OS408ZlRK1JZHNvKPYY59UeO Qdcm44ebScPQuZcp97+hpFZI5j21PRzqMRJM8jDYelD6Pz0WDeKj1sWHMb3Fxn5xr2gO 0yjxI5sUY60SbrrKe2OMt5MK9gg5pSlqHtIbyqRnOHxnSsl1C/2gyiDAnlqaU474MuFv 9bbYI0PZlwQL+xh/frQ6dbpekJvzKDMIgu2yTYDnzHhlZF99IJZBZEoS860X31UF4Fbn js9BWhrrixidrYr00SfU4NqHdekTrm9tC9OUw/c/Kr/gWLjp+sQ3ZEM1TcyQoP0wNUoK y3pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kWi+A3Ig; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a20si3424749ejf.345.2021.03.08.15.40.58; Mon, 08 Mar 2021 15:40:58 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kWi+A3Ig; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S231907AbhCHXky (ORCPT + 6 others); Mon, 8 Mar 2021 18:40:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230476AbhCHXjf (ORCPT ); Mon, 8 Mar 2021 18:39:35 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81FC3C06174A for ; Mon, 8 Mar 2021 15:39:35 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id a18so13213261wrc.13 for ; Mon, 08 Mar 2021 15:39:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=V3n06U8mdhrzmpR+haJF9/pQTaor6n5rQHvjEBzX2gU=; b=kWi+A3IgqRtBD4WQ1kzOkBiV5S2EZ52U8te+6WygJldm1JsY3gMHw7ggielE/Jdvfq b9Pt0Lylqd0tZYzQE83aoe0OqIbov8zLbdiXGzq7j5useTLzwSo++IL9XqMqWj817HMS 1k/xAhE7+HhvVyMYhJ7bbkTPPrEH9ReX45TxdZ1tD9qcDhovcS33CxAfiWqx0UG5lVRP 5vB+ylkCN7jpTtrFtwqyYjoB+59FLT9DHw4GJPEYJnx3TG8/gLvmSQ62J6Q+O57LvP3N Zx1wpoQ1lWiVYRBbHXnpyBrVnUXSb4oxXVNALg1o8t3uY6B01TlV36amLwi3dA4BrVul luXQ== 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=V3n06U8mdhrzmpR+haJF9/pQTaor6n5rQHvjEBzX2gU=; b=PNH75REUgG5LZPsV5A3ismiNd8fJnBaBkFE661vlxka83DadXZpO49qANwkbiCz1C4 p7FxAL1K0IjePpdEjls6GKsjgMia2SlLCi47L+yzHbvKuYFws8LUASjnWK5ptIhlviFk nKHEtDQBv4ZXmYQSSUzFbSJapR86CYOJn09rJVgCb7docrzCZqMxLMhtSVJv8dia38Mu HVFpuEvRfHwyLSzsgGn7wPlf0pL4006nAHxhOC9OpBEZ3+mkzAP/FULthEm6TMFzSjIz XxJ0NLWEw8CGCpQvFGiL3yEH/ssOSDSKrHAj8B7Gm6tBaemWSFHH/wuRFSrMiah7c6dF Jl+A== X-Gm-Message-State: AOAM530n3hqoW04bgEbvGwUdBH48CwkYUvZCqu0EOHwJDxecMXkDWmxv fVS6Ti5OskrrmdSOuB5qXL3USg== X-Received: by 2002:a5d:658d:: with SMTP id q13mr25309365wru.388.1615246774116; Mon, 08 Mar 2021 15:39:34 -0800 (PST) Received: from localhost.localdomain (lns-bzn-59-82-252-141-80.adsl.proxad.net. [82.252.141.80]) by smtp.gmail.com with ESMTPSA id b186sm1145408wmc.44.2021.03.08.15.39.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 15:39:33 -0800 (PST) From: Daniel Lezcano To: heiko@sntech.de Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, =?utf-8?q?Ga=C3=ABl_PORTAY?= , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Rob Herring , linux-pm@vger.kernel.org (open list:DEVICE FREQUENCY (DEVFREQ)), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [RESEND PATCH v5 4/4] dt-bindings: devfreq: rk3399_dmc: Remove references of unexistant defines Date: Tue, 9 Mar 2021 00:38:58 +0100 Message-Id: <20210308233858.24741-4-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210308233858.24741-1-daniel.lezcano@linaro.org> References: <20210308233858.24741-1-daniel.lezcano@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Gaël PORTAY Those DDR related defines do not exist. Replace their references with their numerical constant. Signed-off-by: Gaël PORTAY Reviewed-by: Rob Herring Signed-off-by: Daniel Lezcano --- .../bindings/devfreq/rk3399_dmc.txt | 73 +++++++++---------- 1 file changed, 34 insertions(+), 39 deletions(-) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt index a41bcfef95c8..ddde2c4f97df 100644 --- a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt +++ b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt @@ -79,24 +79,23 @@ Following properties relate to DDR timing: - rockchip,ddr3_drv : When the DRAM type is DDR3, this parameter defines the DRAM side driver strength in ohms. Default - value is DDR3_DS_40ohm. + value is 40. - rockchip,ddr3_odt : When the DRAM type is DDR3, this parameter defines the DRAM side ODT strength in ohms. Default value - is DDR3_ODT_120ohm. + is 120. - rockchip,phy_ddr3_ca_drv : When the DRAM type is DDR3, this parameter defines the phy side CA line (incluing command line, address line and clock line) driver strength. - Default value is PHY_DRV_ODT_40. + Default value is 40. - rockchip,phy_ddr3_dq_drv : When the DRAM type is DDR3, this parameter defines the PHY side DQ line (including DQS/DQ/DM line) - driver strength. Default value is PHY_DRV_ODT_40. + driver strength. Default value is 40. - rockchip,phy_ddr3_odt : When the DRAM type is DDR3, this parameter defines - the PHY side ODT strength. Default value is - PHY_DRV_ODT_240. + the PHY side ODT strength. Default value is 240. - rockchip,lpddr3_odt_dis_freq : When the DRAM type is LPDDR3, this parameter defines then ODT disable frequency in MHz (Mega Hz). @@ -106,25 +105,23 @@ Following properties relate to DDR timing: - rockchip,lpddr3_drv : When the DRAM type is LPDDR3, this parameter defines the DRAM side driver strength in ohms. Default - value is LP3_DS_34ohm. + value is 34. - rockchip,lpddr3_odt : When the DRAM type is LPDDR3, this parameter defines the DRAM side ODT strength in ohms. Default value - is LP3_ODT_240ohm. + is 240. - rockchip,phy_lpddr3_ca_drv : When the DRAM type is LPDDR3, this parameter defines the PHY side CA line (including command line, address line and clock line) driver strength. - Default value is PHY_DRV_ODT_40. + Default value is 40. - rockchip,phy_lpddr3_dq_drv : When the DRAM type is LPDDR3, this parameter defines the PHY side DQ line (including DQS/DQ/DM line) - driver strength. Default value is - PHY_DRV_ODT_40. + driver strength. Default value is 40. - rockchip,phy_lpddr3_odt : When dram type is LPDDR3, this parameter define - the phy side odt strength, default value is - PHY_DRV_ODT_240. + the phy side odt strength, default value is 240. - rockchip,lpddr4_odt_dis_freq : When the DRAM type is LPDDR4, this parameter defines the ODT disable frequency in @@ -134,32 +131,30 @@ Following properties relate to DDR timing: - rockchip,lpddr4_drv : When the DRAM type is LPDDR4, this parameter defines the DRAM side driver strength in ohms. Default - value is LP4_PDDS_60ohm. + value is 60. - rockchip,lpddr4_dq_odt : When the DRAM type is LPDDR4, this parameter defines the DRAM side ODT on DQS/DQ line strength in ohms. - Default value is LP4_DQ_ODT_40ohm. + Default value is 40. - rockchip,lpddr4_ca_odt : When the DRAM type is LPDDR4, this parameter defines the DRAM side ODT on CA line strength in ohms. - Default value is LP4_CA_ODT_40ohm. + Default value is 40. - rockchip,phy_lpddr4_ca_drv : When the DRAM type is LPDDR4, this parameter defines the PHY side CA line (including command address - line) driver strength. Default value is - PHY_DRV_ODT_40. + line) driver strength. Default value is 40. - rockchip,phy_lpddr4_ck_cs_drv : When the DRAM type is LPDDR4, this parameter defines the PHY side clock line and CS line driver - strength. Default value is PHY_DRV_ODT_80. + strength. Default value is 80. - rockchip,phy_lpddr4_dq_drv : When the DRAM type is LPDDR4, this parameter defines the PHY side DQ line (including DQS/DQ/DM line) - driver strength. Default value is PHY_DRV_ODT_80. + driver strength. Default value is 80. - rockchip,phy_lpddr4_odt : When the DRAM type is LPDDR4, this parameter defines - the PHY side ODT strength. Default value is - PHY_DRV_ODT_60. + the PHY side ODT strength. Default value is 60. Example: dmc_opp_table: dmc_opp_table { @@ -195,23 +190,23 @@ Example: rockchip,phy_dll_dis_freq = <125>; rockchip,auto_pd_dis_freq = <666>; rockchip,ddr3_odt_dis_freq = <333>; - rockchip,ddr3_drv = ; - rockchip,ddr3_odt = ; - rockchip,phy_ddr3_ca_drv = ; - rockchip,phy_ddr3_dq_drv = ; - rockchip,phy_ddr3_odt = ; + rockchip,ddr3_drv = <40>; + rockchip,ddr3_odt = <120>; + rockchip,phy_ddr3_ca_drv = <40>; + rockchip,phy_ddr3_dq_drv = <40>; + rockchip,phy_ddr3_odt = <240>; rockchip,lpddr3_odt_dis_freq = <333>; - rockchip,lpddr3_drv = ; - rockchip,lpddr3_odt = ; - rockchip,phy_lpddr3_ca_drv = ; - rockchip,phy_lpddr3_dq_drv = ; - rockchip,phy_lpddr3_odt = ; + rockchip,lpddr3_drv = <34>; + rockchip,lpddr3_odt = <240>; + rockchip,phy_lpddr3_ca_drv = <40>; + rockchip,phy_lpddr3_dq_drv = <40>; + rockchip,phy_lpddr3_odt = <240>; rockchip,lpddr4_odt_dis_freq = <333>; - rockchip,lpddr4_drv = ; - rockchip,lpddr4_dq_odt = ; - rockchip,lpddr4_ca_odt = ; - rockchip,phy_lpddr4_ca_drv = ; - rockchip,phy_lpddr4_ck_cs_drv = ; - rockchip,phy_lpddr4_dq_drv = ; - rockchip,phy_lpddr4_odt = ; + rockchip,lpddr4_drv = <60>; + rockchip,lpddr4_dq_odt = <40>; + rockchip,lpddr4_ca_odt = <40>; + rockchip,phy_lpddr4_ca_drv = <40>; + rockchip,phy_lpddr4_ck_cs_drv = <80>; + rockchip,phy_lpddr4_dq_drv = <80>; + rockchip,phy_lpddr4_odt = <60>; };