From mboxrd@z Thu Jan 1 00:00:00 1970 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 9AA9BC433EF for ; Sat, 16 Apr 2022 08:25:29 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 47B3883AE6; Sat, 16 Apr 2022 10:25:27 +0200 (CEST) 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="mYMj92Gq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4F54683B53; Sat, 16 Apr 2022 10:25:25 +0200 (CEST) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (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 B187083AE6 for ; Sat, 16 Apr 2022 10:25:22 +0200 (CEST) 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-x530.google.com with SMTP id b15so12265499edn.4 for ; Sat, 16 Apr 2022 01:25:22 -0700 (PDT) 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=/pSnQZixDdC9YzFJRkKwusBcEQ1lBgFdxZvJqWwMTA0=; b=mYMj92Gq0Pp/XcF7wDz0JbotvQK6fSHSbr/gFQIWJn509TrjFdeUWFCMykrh7DLF5h LE3/R1oOb3Y8dSSwfeJ84Tf0vCiRx4fPZIzb+Kls5A7/eNUAJy/Mq74oJgQBlrsFJ75W xIgIoy6zOo1erqcN6pHmrHoTBd8YeHYvpo/OHmNvKKJ/pVyx7rGAsfS4OwiEhEZi2/bL B3hVogBt4DrgFLBzJE74MQBIkjCoH25gEeMklaQ4g7hbIvb6txmUrLiJq2+YjSLTFVvv JPu76lLZPlIqUnhvzjSXZbDjWYVFfoQ7wvrCjsxTz4hi5ViT44dYnCag+oJ8OpAq6e0Q tIMQ== 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=/pSnQZixDdC9YzFJRkKwusBcEQ1lBgFdxZvJqWwMTA0=; b=FSuXMFN4BvMkj/PQ91p+N4aGxBQSXXHlzDaC66ewhhuSEoN4/xBUm9YSJnJceyQaBy xUzvKo37XuGiUdqRAeB/pFFzlFH/29Yn3mRDgHkngEjOdg9PmngVy4noF+jzeMarT4xS mO8SLXxF5l38KEDkt9BRJdTzFPIn629L/vvjgivF8ywReKcq5wsGzCeWZoG8e9g+Iro1 jjo9BNfZ7wZ+FNVGszu3Shj1X1VoZbW8lPyVfwJBHudnMQC9q9qbdJHLKNCjIoMml0yq zUYUvd6NgzBoqo7ol7+zImpLq5AafzCbi0k589bEQQq4vHtUiMb1qo7dF92O0RaHe7Xe jUqA== X-Gm-Message-State: AOAM530r1gBfdNG4I+PtJlTLuiv6AfW2GPLdx1HYmshOFP3JGyK9oON7 K4/0P+BSMSyGcyFCH8tLA9Q= X-Google-Smtp-Source: ABdhPJxZCFS/4qG/sp0JGtJqNds1LWEjChzhlLd8wpLDLo4SJntxyO9yeJhjXQ49NgopDP0/NzDxYA== X-Received: by 2002:a05:6402:1909:b0:418:d876:3119 with SMTP id e9-20020a056402190900b00418d8763119mr2951295edz.266.1650097522361; Sat, 16 Apr 2022 01:25:22 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id v10-20020a170906380a00b006a68610908asm2439299ejc.24.2022.04.16.01.25.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Apr 2022 01:25:22 -0700 (PDT) From: Johan Jonker To: kever.yang@rock-chips.com Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, hl@rock-chips.com, jernej.skrabec@gmail.com, w.egorov@phytec.de, michael@amarulasolutions.com, agust@denx.de, u-boot@lists.denx.de Subject: [PATCH v1] rockchip: video: mipi: add more compatible strings for rk3288/rk3399 Date: Sat, 16 Apr 2022 10:25:16 +0200 Message-Id: <20220416082516.16005-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 rk3288/RK3399 DT synced from Linux contains some different compatible strings in the mipi node then origanal used in U-boot. Allow both options to be backwards compatible and to be able to handle recent rk3288.dtsi and rk3399.dtsi files. Signed-off-by: Johan Jonker --- Fix for rk3288.dtsi and rk3399.dtsi sync from Linux. Not tested with hardware. --- drivers/video/rockchip/rk3288_mipi.c | 1 + drivers/video/rockchip/rk3399_mipi.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/video/rockchip/rk3288_mipi.c b/drivers/video/rockchip/rk3288_mipi.c index 7e48dd83..c0dffa3c 100644 --- a/drivers/video/rockchip/rk3288_mipi.c +++ b/drivers/video/rockchip/rk3288_mipi.c @@ -174,6 +174,7 @@ static const struct dm_display_ops rk_mipi_dsi_ops = { }; static const struct udevice_id rk_mipi_dsi_ids[] = { + { .compatible = "rockchip,rk3288-mipi-dsi" }, { .compatible = "rockchip,rk3288_mipi_dsi" }, { } }; diff --git a/drivers/video/rockchip/rk3399_mipi.c b/drivers/video/rockchip/rk3399_mipi.c index 91733504..7fc79ba9 100644 --- a/drivers/video/rockchip/rk3399_mipi.c +++ b/drivers/video/rockchip/rk3399_mipi.c @@ -165,6 +165,7 @@ static const struct dm_display_ops rk_mipi_dsi_ops = { }; static const struct udevice_id rk_mipi_dsi_ids[] = { + { .compatible = "rockchip,rk3399-mipi-dsi" }, { .compatible = "rockchip,rk3399_mipi_dsi" }, { } }; -- 2.20.1