Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 402ABC433FE for ; Wed, 23 Feb 2022 13:07:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EC91F83B58; Wed, 23 Feb 2022 14:07:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="iFXL8Xtx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3FB1383BC6; Wed, 23 Feb 2022 14:07:26 +0100 (CET) Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 249C8838C9 for ; Wed, 23 Feb 2022 14:07:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jbx6244@gmail.com Received: by mail-ed1-x52b.google.com with SMTP id s14so26704621edw.0 for ; Wed, 23 Feb 2022 05:07:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qIEl9CK7jm/Qa1pFf7DKxRl1Tiv/WPAxHtlZBwU7SA0=; b=iFXL8Xtxc1j4kN9QkW9tw93M5ABpQZtugWNb+SSCj9dxqZ84i3sTqf6uLyk5R9VgJm kF7LbtOJEAiHY8YcFw2E5K8q0wbBYR79RqqgB9QZ2zpUf9RStuugwZqJNITeCQwPUekn lFFB6mg1vjQfdD8k6OmFjxZaLbgtY8EQvLFUdGZYl+EKpbPvqjJibjDwsveJVA0VYi3K EgvTBbETz+4h/m/Jvcj5qEWD6hxhZD1++rLv7yTH6Pg7K1gk/rCYO7Xzi59gznoxuMcJ 9l1yqCrJ7P8ckbNW1OCAlCrUAU1lCtiN1RZMX/SndaCiguulV1Bzm7LZxKV0V6/bO3HR hrwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qIEl9CK7jm/Qa1pFf7DKxRl1Tiv/WPAxHtlZBwU7SA0=; b=4HWys0uo1tYsTILVdrBrYqm7iIybZfpUg/C08DkrwLEimDbSH4z44mQ1nAKnikncIM Sc5vRWKxStVNuK8J3ira8ChtVSziuib2s2ehopDVP5ytj8PglEHO6JmXUQ60jnk0SPhF 0bkTdUDV/tNC4ZvaM6SnFtyIYR+O1j7E17CHshAA5+4g/2EOvZ5tIoolHCNMX1ghgXKt +XJkqePSeVz1diiAAI6/n6J1bI4eaG6D2Ki5ZiTQEB32MzTUnGSbn+ETt84sxPMVO6rX XOiEbTXw85EzlD2KnCH8lvcyYXnfFKliRJS/tK4MGtidcgVMc9ybL+KnY78qKCdXDheU dUdg== X-Gm-Message-State: AOAM532SKju4RjZAqeVy2edf8LR/CKUA23A//Gcg41+hSjjFPz2/a+yJ 5AJtbtHKjsJOGdo81hxmBCijjMLFrpWo9g== X-Google-Smtp-Source: ABdhPJwEAzLDeMTrWxgSgs1/00/dUh1sDciFtKh0BKoN712Hkui2IOkB4zcyNlwR0dSvBZF9c+Cm4g== X-Received: by 2002:a05:6402:2065:b0:407:eb07:740 with SMTP id bd5-20020a056402206500b00407eb070740mr30800827edb.406.1645621642671; Wed, 23 Feb 2022 05:07:22 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id q21sm636566ejy.106.2022.02.23.05.07.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 05:07:22 -0800 (PST) From: Johan Jonker To: kever.yang@rock-chips.com Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, peng.fan@nxp.com, jh80.chung@samsung.com, paweljarosz3691@gmail.com, u-boot@lists.denx.de Subject: [PATCH v2 1/2] rockchip: mmc: rockchip_dw_mmc: add rk3066/rk3188 support Date: Wed, 23 Feb 2022 14:07:13 +0100 Message-Id: <20220223130714.2711-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean The Rockchip SoCs rk3066/rk3188 have mmc DT nodes with as compatible string "rockchip,rk2928-dw-mshc". Add support to the existing driver with help of a DM_DRIVER_ALIAS. Signed-off-by: Johan Jonker --- Changed V2: remove fifo_mode changes --- drivers/mmc/rockchip_dw_mmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/rockchip_dw_mmc.c b/drivers/mmc/rockchip_dw_mmc.c index 7f8dea1e..586b7de7 100644 --- a/drivers/mmc/rockchip_dw_mmc.c +++ b/drivers/mmc/rockchip_dw_mmc.c @@ -180,5 +180,6 @@ U_BOOT_DRIVER(rockchip_rk3288_dw_mshc) = { .plat_auto = sizeof(struct rockchip_mmc_plat), }; +DM_DRIVER_ALIAS(rockchip_rk3288_dw_mshc, rockchip_rk2928_dw_mshc) DM_DRIVER_ALIAS(rockchip_rk3288_dw_mshc, rockchip_rk3328_dw_mshc) DM_DRIVER_ALIAS(rockchip_rk3288_dw_mshc, rockchip_rk3368_dw_mshc) -- 2.20.1