Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp352332imm; Tue, 24 Jul 2018 21:04:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdnWx0lC+gnuU/Ih5QfZMo0LsdQJzd/TbPRwLgEys9A6gHtskZ/3PykOoZgrN8jJXw62PvF X-Received: by 2002:a62:569c:: with SMTP id h28-v6mr20523623pfj.201.1532491440991; Tue, 24 Jul 2018 21:04:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532491440; cv=none; d=google.com; s=arc-20160816; b=gmAXix6artQzURKb2Ftzp3S/+xNi9PLfnLwyLlR+PwQyDXlRFzpqHFqUZzNQ5fUWKl UCY1E/afRDc/YpmSKdaMEP+byTaW8c+vTv+d05TjOSNhbNBu8T8xKxt2MGHY4CMrays5 I7VXD8fKYUXe+8UcGevx33iQ6Dz4ZElFeqH551fbqJHcgv5UKLJNw1ofjREZ3kpWLmTu DqMPev8VpwjB0azRemiGumSHcIRbb7Hq/OO+KZROX7JbE48znBIFvchjxlNFJi/xMKVZ Ia8uvWj0xJF7rjk/zPW8HGtm91c6qY2CirvgPc7tvbl4fY02Jq/bA3IKuq1k715ZMbkY R2/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from :arc-authentication-results; bh=HjsT/1WexLr4JvzU0LxQk3d2kAzSRnv94ECHbyaOXis=; b=nbqgbxrZ/ajepsYxdsGNfBGgTSD4RaLym7jgMGqz0XCPrFs35MTshLqJflPgwNo8Rc PVmQNkFb/0necLvKYfPkLwwkiVwAsooS1JeTiF3axOnXcmQhhVYNaGowNS47r3TiyoG/ JU1lqfsikKJ18aixN24Lnw5eZvaY+MfZN/A3lbxhRgO/xkbFCoDdyMdVYgzSI2KL9VNb RwCbgzZnIj4mDw95ou9tIVeH+EOYxcZTzfWtMP7qgXCakfXSNsIN59Ru+Dfqvto0PVM2 t6GF3L0SB+wx6QyenJ3imzPFMLyl8JXY85yEN2nvc22jfbvUFY+ZwiLq8p7MQ3SoWbSt 045g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c3-v6si5567841plr.405.2018.07.24.21.03.45; Tue, 24 Jul 2018 21:04:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727646AbeGYFMA (ORCPT + 99 others); Wed, 25 Jul 2018 01:12:00 -0400 Received: from regular1.263xmail.com ([211.150.99.137]:34058 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726950AbeGYFMA (ORCPT ); Wed, 25 Jul 2018 01:12:00 -0400 Received: from djw?t-chip.com.cn (unknown [192.168.167.225]) by regular1.263xmail.com (Postfix) with ESMTP id 6D1581EB; Wed, 25 Jul 2018 12:02:13 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id 6DB673C8; Wed, 25 Jul 2018 12:02:06 +0800 (CST) X-IP-DOMAINF: 1 X-RL-SENDER: djw@t-chip.com.cn X-FST-TO: eballetbo@gmail.com X-SENDER-IP: 59.33.103.255 X-LOGIN-NAME: djw@t-chip.com.cn X-UNIQUE-TAG: <75037282b54d7b2b28123fe5b4418632> X-ATTACHMENT-NUM: 0 X-SENDER: djw@t-chip.com.cn X-DNS-TYPE: 7 Received: from localhost (255.103.33.59.broad.zs.gd.dynamic.163data.com.cn [59.33.103.255]) by smtp.263.net (Postfix) whith ESMTP id 9001MJF9H3; Wed, 25 Jul 2018 12:02:09 +0800 (CST) From: djw@t-chip.com.cn To: Enric Balletbo Serra Cc: Heiko =?utf-8?Q?St=C3=BCbner?= , djw@t-chip.com.cn, Mark Rutland , "devicetree\@vger.kernel.org" , zxf@t-chip.com.cn, Masahiro Yamada , ezequiel@collabora.com, xypron.glpk@gmx.de, Shawn Lin , Brian Norris , Will Deacon , linux-kernel , Rob Herring , "open list\:ARM\/Rockchip SoC..." , jacob-chen@iotwrt.com, klaus.goger@theobroma-systems.com, jagan@amarulasolutions.com, Catalin Marinas , Enric Balletbo i Serra , jay.xu@rock-chips.com, Linux ARM Subject: Re: [PATCH v0] arm64: dts: rockchip: add support for ROC-RK3399-PC board References: <1532161826-2537-1-git-send-email-djw@t-chip.com.cn> <139327780.KNaNigg5Hs@phil> Date: Wed, 25 Jul 2018 12:01:43 +0800 In-Reply-To: (Enric Balletbo Serra's message of "Tue, 24 Jul 2018 11:53:40 +0200") Message-ID: <87effsgdzs.fsf@archiso.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enric Balletbo Serra writes: > Hi Levin, > > Missatge de Heiko Stuebner del dia dt., 24 de jul. > 2018 a les 11:29: >> >> Hi Levin, >> >> Am Samstag, 21. Juli 2018, 10:30:26 CEST schrieb djw@t-chip.com.cn: >> > From: Levin Du >> > >> > ROC-RK3399-PC is the first power efficient 4GB DDR4 single board >> >> maybe "is a power efficient" instead of "the first" ;-) >> >> [...] >> >> > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts >> > new file mode 100644 >> > index 0000000..207f2e3 >> > --- /dev/null >> > +++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts >> > @@ -0,0 +1,717 @@ >> > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) >> > +/* >> > + * Copyright (c) 2017 T-Chip Intelligent Technology Co., Ltd >> > + */ >> > + >> > +/dts-v1/; >> > +#include >> > +#include "rk3399.dtsi" >> > +#include "rk3399-opp.dtsi" >> > + >> > +/ { >> > + model = "Firefly ROC-RK3399-PC Board"; >> > + compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399"; >> > + >> > + chosen { >> > + bootargs = "earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1"; >> >> I don't think we want to hard-code linux bootargs in the generic devicetree >> >> > + stdout-path = "serial2:1500000n8"; >> > + }; >> > + >> > + backlight: backlight { >> > + compatible = "pwm-backlight"; >> > + enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; >> > + pwms = <&pwm0 0 25000 0>; >> > + brightness-levels = < >> > + 0 1 2 3 4 5 6 7 >> >> As Rob noted in the px30 evb patch, there is now a property helping >> to drop these long lists of brightness levels, see >> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=1e5e7cc794b5a332c23216dade0a2e937d694b7f > > Adding to the Heiko information. Did you try to just remove brightness-levels? > Without this property, the driver computes a default table with the > brightness levels filled with the numbers provided by the CIE 1931 > algorithm. That algorithm is used to dim a led for human perception. > > Note that the patches needed did not land yet, are in linux-next, and > you will also be interested in apply this patch [1]. > > [1] https://lkml.org/lkml/2018/7/24/116 > > > Best regards, > Enric > Thanks you for the note, Enric. I'll test that later. Regards, Levin