From patchwork Wed Jan 13 11:04:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 12016487 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4ACFCC433E9 for ; Wed, 13 Jan 2021 11:06:44 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DABDD22A83 for ; Wed, 13 Jan 2021 11:06:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DABDD22A83 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KazYTEbR617yPARcKAA/h/nThXaJvhSBY+9njrjqOqA=; b=WlWKP2a6Oj5aZibXPj2iVCbVm 5dNSQCyRt14xP5bjd1lBJwtulzoWE4P/tFKgCnQgUCSP5kxSkKpTvSGCRIzGDtPSwmrmjIWF9qOrN DlXQWmOlfGn0P74HmdQwl5acblEDiTEUcNGJKUcuZy4sAkFRfUr9LqtW+sqsjxRaZde7Hd2z2CaST KK3+8JVjQR0f3nro5U+Mg9K3tf6e6mRVhfMtuvaxiFRFbrd/DX6MfSN9OisBQWI7RYfb46aUMoqyj TdnZGptevcMDCcjQi70zabk6qbm3FvaykFt4RTt2tu3VHSnjeI/xL6l1ygnhSTvHgKHgmCi26i5PU bIusPtRDg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kzdxJ-00051V-HH; Wed, 13 Jan 2021 11:04:49 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kzdxG-0004yw-8k for linux-arm-kernel@lists.infradead.org; Wed, 13 Jan 2021 11:04:47 +0000 Received: by mail-pf1-x430.google.com with SMTP id m6so1018748pfk.1 for ; Wed, 13 Jan 2021 03:04:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3cAH/07vPZODQW/iF5DB+fIj9Loro7b2PieBM5y4hjk=; b=n73bBTV+qgeVERiT+pRZtp8rI/K5i4cyHtw0afjKRcKK0ymFGO5kUequSSD5KLvFj2 7po2l5HB81nM/iOqshAEVC9fj8kfTo4ucbPqBA25fatG17f0rRLv0MZimfcWRXCbU2+i YY1cnAbZ2dJ7FZWeVsMPrTI2AXSYcgLvRGz8c= 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=3cAH/07vPZODQW/iF5DB+fIj9Loro7b2PieBM5y4hjk=; b=URChsaMW5Z8TQ2UZrlR/c5FKkPfs2OEbIdsefIbC60i26DRUNSthfuUVzgZXlG5Im9 56BMs7wX4YCLZW7QH+EAe5za5xXEZaH2L9Kmy/WhxKDlix5gyMdZOCUoSsOxLiPOmCBC xU0Y9QWu7UWVOAbICCDJddjsDNQclLtWpSxm79yGuFcCrbZyIwACgrmITuUh/qTlkdA2 LKEIcNYfr2d/YBu48ektrz8TYwxAy2fPb4UUnllVGNJL2QHgRxmm2/ECrY2JtGqpemcs KZofg6NdAUKL00/bKUMJZdMOgsyA7VlMuU4VBKlAgwvt7WNMiowWA6p5XeMqX4Jvcwf0 qu4w== X-Gm-Message-State: AOAM531o7bBI0Xkh0S/PZ4bcsFrmyAfQzB/r2SO/N7eacoBZDcxh0Lm8 cjA/CV9FsisPazOSVnZUSgZuQ5GrsuxmiA== X-Google-Smtp-Source: ABdhPJzAwL/zxe8BmvIl7VPRxz3Tcvo0YpZLNZfElkxWbEJFN57r2m4HrDQlqzfVQ0DTfqBH5i1GCg== X-Received: by 2002:a62:2bd4:0:b029:1ae:4d9f:60da with SMTP id r203-20020a622bd40000b02901ae4d9f60damr1731172pfr.20.1610535883826; Wed, 13 Jan 2021 03:04:43 -0800 (PST) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:1a60:24ff:fe89:3e93]) by smtp.gmail.com with ESMTPSA id o129sm2114749pfg.66.2021.01.13.03.04.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 03:04:43 -0800 (PST) From: Hsin-Yi Wang To: linux-arm-kernel@lists.infradead.org, Matthias Brugger Subject: [PATCH v4 2/3] arm64: dts: mt8183: Add krane-sku0 board. Date: Wed, 13 Jan 2021 19:04:01 +0800 Message-Id: <20210113110400.616319-2-hsinyi@chromium.org> X-Mailer: git-send-email 2.30.0.284.gd98b1dd5eaa7-goog In-Reply-To: <20210113110400.616319-1-hsinyi@chromium.org> References: <20210113110400.616319-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210113_060446_343452_75D475BD X-CRM114-Status: GOOD ( 16.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Nicolas Boichat , linux-kernel@vger.kernel.org, Rob Herring , linux-mediatek@lists.infradead.org, Enric Balletbo i Serra Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Similar to krane-sku176 but using a different panel source. Signed-off-by: Hsin-Yi Wang Reviewed-by: Enric Balletbo i Serra --- change: v4: split dt-binding to another patch --- arch/arm64/boot/dts/mediatek/Makefile | 1 + .../dts/mediatek/mt8183-kukui-krane-sku0.dts | 23 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku0.dts diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index 18f7b46c4095b..deba27ab76574 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -13,6 +13,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm-hana.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm-hana-rev7.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-evb.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku176.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku0.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku0.dts new file mode 100644 index 0000000000000..fb5ee91b6fe0e --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku0.dts @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2019 Google LLC + * + * Device-tree for Krane sku0. + * + * SKU is a 8-bit value (0x00 == 0): + * - Bits 7..4: Panel ID: 0x0 (AUO) + * - Bits 3..0: SKU ID: 0x0 (default) + */ + +/dts-v1/; +#include "mt8183-kukui-krane.dtsi" + +/ { + model = "MediaTek krane sku0 board"; + compatible = "google,krane-sku0", "google,krane", "mediatek,mt8183"; +}; + +&panel { + status = "okay"; + compatible = "auo,kd101n80-45na"; +};