From patchwork Wed Aug 17 19:33:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 12946341 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C7C91C25B08 for ; Wed, 17 Aug 2022 19:35:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ZbcyRaJiBQtRPbF5O2ZhYbYx0ynp8wOeVpaQdkDktZ8=; b=yMFO7otfPQXKcc uKODjxAgMkHOj3RRUacbX7A9ZaB4enw1p6nCIizKAGEVojIw+Z8gW6oqNK+yjk6LFxAj43ZZYttLs +I4RCDLzBjbtcknQIDBbpJp4HZh9kXhd2fSvw6aYh5OmO+Wz6JGHxJFpgy5sXpOODEPTc17TgsUKR qSVbMlX14ojweRr2TK1TCvnHOfYgWIYF34UTZotjRP6gqv3R7U1BU5IIqGOVSwyJviGW3tExXW0Qn JrsQcQMKKxnoxQ8TP0ZoF+K5cSot/2TIUBEEdD9iyn2wmj7CWSivxR9BDlX+tVllC9+NJcvf0yzL6 HPIF9yDoqyxdfxfBOwJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOOnp-005m57-Uh; Wed, 17 Aug 2022 19:34:10 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOOnl-005m04-GI for linux-arm-kernel@lists.infradead.org; Wed, 17 Aug 2022 19:34:07 +0000 Received: by mail-pf1-x42a.google.com with SMTP id o7so210408pfb.9 for ; Wed, 17 Aug 2022 12:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=UVubpDzNU5FD14ZbDX7qhSf8BElNNZ8LWgEYMHmernI=; b=fnSzpe95Lx6Q+Hs5I5E/U2TnmezCPAQzOT1A4YSdSpqfOMy51Z6SVoy9BwHa4a6f+G DlFo8F7c3ZvSIzmMRZ9tdXojjROubIGCnx2Rg4oSL3n6gsVWnzz+GY9YoeIMZ3sgCC00 PMWLxWRgXIHvHlaZb2Nm+HNZQ7P7Wy4gsQRv0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=UVubpDzNU5FD14ZbDX7qhSf8BElNNZ8LWgEYMHmernI=; b=topTBD7pr9EnrUC/1C12c1E8GGUxbMR6kkCq4T60EKe/1NbXNyfCj2TJmcPbd0ihIK sXckN1+xw283ACLQDFj1R3ynYUyyVSa39ByqKCkN5MFuKi+Z4q9yUBHzBFCxkWMV8ZFN dV30isQOR7Y4RpEVX7s8HjWNGm43W4qPzGfppZakUt0bIFXmpWZD8tTUPtP4Qg12DvQP hm+UModPKc+bKOUoc+jUrUTg8ECeAetTsgrdmsdlm2tIQ9r4jJn0z8wVfxoP8PUEvOdI oKCM/FO7n8FuU5QKV3RjgqfaufUf0LTpmqdZGzLxNfQMhnslVxWCJgUGyVsvJu+tPWXK ayLw== X-Gm-Message-State: ACgBeo3EqIIt+rPWsoQTIue791E08TyED2JVPAt7tjq/M3f9yZRUtyte rzgKKwnzHNNPycg1683ta4W7eQ== X-Google-Smtp-Source: AA6agR64wxqpWQ6e4NkUpXw5W0AVNCd9+SEb0z0uT7ZeP+UZOoEWEaCMKJbohcsr8jh/xkAU0wvsKg== X-Received: by 2002:a63:ec10:0:b0:429:ee05:b3 with SMTP id j16-20020a63ec10000000b00429ee0500b3mr933809pgh.553.1660764842880; Wed, 17 Aug 2022 12:34:02 -0700 (PDT) Received: from localhost ([2620:15c:202:201:256f:e7cd:3f8c:19fd]) by smtp.gmail.com with UTF8SMTPSA id y9-20020a17090a1f4900b001f239783e3dsm1925647pjy.34.2022.08.17.12.34.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Aug 2022 12:34:02 -0700 (PDT) From: Brian Norris To: Heiko Stuebner , Krzysztof Kozlowski , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Chen-Yu Tsai , devicetree@vger.kernel.org, Brian Norris Subject: [PATCH 1/2] dt-bindings: arm: rockchip: Add gru-scarlet sku{2,4} variants Date: Wed, 17 Aug 2022 12:33:55 -0700 Message-Id: <20220817123350.1.Ibb15bab32dbfa0d89f86321c4eae7adbc8d7ad4a@changeid> X-Mailer: git-send-email 2.37.1.595.g718a3a8f04-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220817_123405_563005_93F87C79 X-CRM114-Status: GOOD ( 12.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Gru-Scarlet family includes a variety of SKU identifiers, using parts of a 3-bit space {0..7}. SKU2 and SKU4 devices (under a few different manufacturer names) also use the Innolux display. For reference, the original vendor tree source: CHROMIUM: arm64: dts: rockchip: add sku{0,2,4} compatibility https://chromium.googlesource.com/chromiumos/third_party/kernel/+/f6ed665c9e2eb37fb2680debbb36ec9fb0e8fb97 CHROMIUM: arm64: dts: rockchip: scarlet: add SKU0 device tree https://chromium.googlesource.com/chromiumos/third_party/kernel/+/9987c8776f4b087d135d761e59f7fa6cc83fc7fc Signed-off-by: Brian Norris --- .../devicetree/bindings/arm/rockchip.yaml | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index 7811ba64149c..dcae534e3971 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -363,30 +363,55 @@ properties: - const: google,gru - const: rockchip,rk3399 - - description: Google Scarlet - Innolux display (Acer Chromebook Tab 10) + - description: | + Google Scarlet - Innolux display (Acer Chromebook Tab 10 and more) items: + - const: google,scarlet-rev15-sku2 + - const: google,scarlet-rev15-sku4 - const: google,scarlet-rev15-sku6 - const: google,scarlet-rev15 + - const: google,scarlet-rev14-sku2 + - const: google,scarlet-rev14-sku4 - const: google,scarlet-rev14-sku6 - const: google,scarlet-rev14 + - const: google,scarlet-rev13-sku2 + - const: google,scarlet-rev13-sku4 - const: google,scarlet-rev13-sku6 - const: google,scarlet-rev13 + - const: google,scarlet-rev12-sku2 + - const: google,scarlet-rev12-sku4 - const: google,scarlet-rev12-sku6 - const: google,scarlet-rev12 + - const: google,scarlet-rev11-sku2 + - const: google,scarlet-rev11-sku4 - const: google,scarlet-rev11-sku6 - const: google,scarlet-rev11 + - const: google,scarlet-rev10-sku2 + - const: google,scarlet-rev10-sku4 - const: google,scarlet-rev10-sku6 - const: google,scarlet-rev10 + - const: google,scarlet-rev9-sku2 + - const: google,scarlet-rev9-sku4 - const: google,scarlet-rev9-sku6 - const: google,scarlet-rev9 + - const: google,scarlet-rev8-sku2 + - const: google,scarlet-rev8-sku4 - const: google,scarlet-rev8-sku6 - const: google,scarlet-rev8 + - const: google,scarlet-rev7-sku2 + - const: google,scarlet-rev7-sku4 - const: google,scarlet-rev7-sku6 - const: google,scarlet-rev7 + - const: google,scarlet-rev6-sku2 + - const: google,scarlet-rev6-sku4 - const: google,scarlet-rev6-sku6 - const: google,scarlet-rev6 + - const: google,scarlet-rev5-sku2 + - const: google,scarlet-rev5-sku4 - const: google,scarlet-rev5-sku6 - const: google,scarlet-rev5 + - const: google,scarlet-rev4-sku2 + - const: google,scarlet-rev4-sku4 - const: google,scarlet-rev4-sku6 - const: google,scarlet-rev4 - const: google,scarlet From patchwork Wed Aug 17 19:33:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 12946342 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0B56BC32772 for ; Wed, 17 Aug 2022 19:35:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IpYSo/sCBLdNBN6MsxslV1RDcMwWdIdnjF3p8jbzywM=; b=r6gWZXnUsV2U4m +sCwsZ3+dQmLLhVVwY5QkfS6u15Vo+ohn2s8IQdp7BeCugCay8qzwQPao/SQyDvXmq2xfJnIX3l99 S0iHBdUtuBwYzCx2HBUpNIr6qFnqxSwfjbun1crTpxHsGDkDmCiFXU6yF8lf3fI03tmLJ+JZ2z/ui T16Ep3PtVW0GPBhL7KiG7ppKn+5jH0Bi0jMbirwgHO4h/jz68YKoSI3PtVn3XMgax7gTq1hXt3Cko lZSsgLNKh6Qaz6FpSXM7eEBraiNVcr6s2nCDJ9v2NEwRnV5RB9EpVJlWNDRRizYHJ08l0JWwFNE60 6qAyoMkCFqj9A0r4E2uw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOOo2-005mFC-9E; Wed, 17 Aug 2022 19:34:22 +0000 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOOnm-005m10-V1 for linux-arm-kernel@lists.infradead.org; Wed, 17 Aug 2022 19:34:08 +0000 Received: by mail-pj1-x1036.google.com with SMTP id ch17-20020a17090af41100b001fa74771f61so4135846pjb.0 for ; Wed, 17 Aug 2022 12:34:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=6RHcvjaCTPAfT8h1N5wBVD9wSvcedQM4lOCspuuG4xc=; b=cO0Z5mXELmshBLobj7IgiqoNHNutDLaizvP+O7nv/jWrsKaZs30CXf7gkOEHBAwprH URH91MxuOCcYIx0mFRSgaXcgVkSw0p8qLnYxzdBo+65JczWSwEjU4Z+nY4/yUyHK6VzD aJP7tct/qG94KhPe58JHO6yEIXnLsmxr8fCEo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=6RHcvjaCTPAfT8h1N5wBVD9wSvcedQM4lOCspuuG4xc=; b=ODH3l1+oWw2cYmZeZS6391d1Y+Iw2z6PA9j1lolAoWHKvruxDo1mOk0Pu4noQnCyMW +d8N2GmFjNo1wko/m2QRr2LmLctRZecL05WatbQYNX1G3NVZU8Q4EG/yFAJxp8oyQoEf mVyNjvMHIfIXiFi3fIK2YhrDFvAlsK4cu8MDFU8+eGhkHBfGmf7PWQC14JJLvEIf6tWF qx2CfdI627n8wiweyUXxf490Lvqr37nXyJgphn9Vn11y1+e/WTtWq8ZF7zcUMjek0tV5 cira09WtfWeje/46Hw96Ea6RvHFhDCdLeZ5dHVFvZunA2Uw+PAgMuJO93k0jAUst4keI yy9A== X-Gm-Message-State: ACgBeo3LJGVinM7lNETmQe55jdugPMTx+eYCjo8ne1HVTYE3yf91VfSE ACyTDx9ul6nAKY5AZNvBjiu/hg== X-Google-Smtp-Source: AA6agR5cstItY77u+hnv1pO2pitjhFoBMfkmzJzeoUm5cjHXrFhSbC/LvnyxdfKTbVNLc26ZXdTVMg== X-Received: by 2002:a17:90a:de13:b0:1f7:4bd3:36ec with SMTP id m19-20020a17090ade1300b001f74bd336ecmr5151598pjv.179.1660764844830; Wed, 17 Aug 2022 12:34:04 -0700 (PDT) Received: from localhost ([2620:15c:202:201:256f:e7cd:3f8c:19fd]) by smtp.gmail.com with UTF8SMTPSA id nh14-20020a17090b364e00b001fa867105a3sm1964918pjb.4.2022.08.17.12.34.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Aug 2022 12:34:04 -0700 (PDT) From: Brian Norris To: Heiko Stuebner , Krzysztof Kozlowski , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Chen-Yu Tsai , devicetree@vger.kernel.org, Brian Norris Subject: [PATCH 2/2] arm64: dts: rockchip: Support gru-scarlet sku{2,4} variants Date: Wed, 17 Aug 2022 12:33:56 -0700 Message-Id: <20220817123350.2.I5f4fd0808a927b08e267c189712fb4a85931fd3b@changeid> X-Mailer: git-send-email 2.37.1.595.g718a3a8f04-goog In-Reply-To: <20220817123350.1.Ibb15bab32dbfa0d89f86321c4eae7adbc8d7ad4a@changeid> References: <20220817123350.1.Ibb15bab32dbfa0d89f86321c4eae7adbc8d7ad4a@changeid> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220817_123407_047916_457F4F4B X-CRM114-Status: GOOD ( 12.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Gru-Scarlet family includes a variety of SKU identifiers, using parts of a 3-bit space {0..7}. SKU2 and SKU4 devices (under a few different manufacturer names) also use the Innolux display. Without this, a SKU2 device may non-deterministically (depending on the matching order of DTBs and bootloader behavior) select either one of the INX DTBs (rk3399-gru-scarlet-dumo.dtb or rk3399-gru-scarlet-inx.dtb) or the KingDisplay DTB (rk3399-gru-scarlet-kd.dtb), to ill effect. For reference, the original vendor tree source: CHROMIUM: arm64: dts: rockchip: add sku{0,2,4} compatibility https://chromium.googlesource.com/chromiumos/third_party/kernel/+/f6ed665c9e2eb37fb2680debbb36ec9fb0e8fb97 CHROMIUM: arm64: dts: rockchip: scarlet: add SKU0 device tree https://chromium.googlesource.com/chromiumos/third_party/kernel/+/9987c8776f4b087d135d761e59f7fa6cc83fc7fc Signed-off-by: Brian Norris --- .../boot/dts/rockchip/rk3399-gru-scarlet-inx.dts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-inx.dts b/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-inx.dts index 2d721a974790..5d1879033e7c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-inx.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-inx.dts @@ -11,17 +11,29 @@ / { model = "Google Scarlet"; - compatible = "google,scarlet-rev15-sku6", "google,scarlet-rev15", + compatible = "google,scarlet-rev15-sku2", "google,scarlet-rev15-sku4", + "google,scarlet-rev15-sku6", "google,scarlet-rev15", + "google,scarlet-rev14-sku2", "google,scarlet-rev14-sku4", "google,scarlet-rev14-sku6", "google,scarlet-rev14", + "google,scarlet-rev13-sku2", "google,scarlet-rev13-sku4", "google,scarlet-rev13-sku6", "google,scarlet-rev13", + "google,scarlet-rev12-sku2", "google,scarlet-rev12-sku4", "google,scarlet-rev12-sku6", "google,scarlet-rev12", + "google,scarlet-rev11-sku2", "google,scarlet-rev11-sku4", "google,scarlet-rev11-sku6", "google,scarlet-rev11", + "google,scarlet-rev10-sku2", "google,scarlet-rev10-sku4", "google,scarlet-rev10-sku6", "google,scarlet-rev10", + "google,scarlet-rev9-sku2", "google,scarlet-rev9-sku4", "google,scarlet-rev9-sku6", "google,scarlet-rev9", + "google,scarlet-rev8-sku2", "google,scarlet-rev8-sku4", "google,scarlet-rev8-sku6", "google,scarlet-rev8", + "google,scarlet-rev7-sku2", "google,scarlet-rev7-sku4", "google,scarlet-rev7-sku6", "google,scarlet-rev7", + "google,scarlet-rev6-sku2", "google,scarlet-rev6-sku4", "google,scarlet-rev6-sku6", "google,scarlet-rev6", + "google,scarlet-rev5-sku2", "google,scarlet-rev5-sku4", "google,scarlet-rev5-sku6", "google,scarlet-rev5", + "google,scarlet-rev4-sku2", "google,scarlet-rev4-sku4", "google,scarlet-rev4-sku6", "google,scarlet-rev4", "google,scarlet", "google,gru", "rockchip,rk3399"; };