From patchwork Mon Jul 10 19:18:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 9833695 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2673C60350 for ; Mon, 10 Jul 2017 19:18:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0C0F1285B7 for ; Mon, 10 Jul 2017 19:18:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F3B8628628; Mon, 10 Jul 2017 19:18:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D530285B7 for ; Mon, 10 Jul 2017 19:18:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751994AbdGJTSd (ORCPT ); Mon, 10 Jul 2017 15:18:33 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:36617 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751817AbdGJTSc (ORCPT ); Mon, 10 Jul 2017 15:18:32 -0400 Received: by mail-qk0-f196.google.com with SMTP id v143so14092520qkb.3 for ; Mon, 10 Jul 2017 12:18:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Be0pZR0OtqDXYR7CyVoX+9erKgYO4wCyQzfN6Kk2luI=; b=LxlXDoV+0BYhTKAygaKgSfqcpvW2XJzMslkMi1JCp0T1imsnyHm6N5st9KSGwOjFxZ qT8ku/NX/mXazUCZ2fExZ4RIcK/wjXQuNvVzGsEEa+kl5eSs1zsSBvoyAxC4qg7NNlPr l2i3F9YMqTawBNVa7WsMVx+1yyOGMnb/BJ1WnSe0hg+XlpaHIkAtER2JoiPjBiGw8X4c OPC+sgktqByP/4PS8XPZuKseGN6E7iWqFgtPocHQjGfBs8lixCz93FdjIbDowBD/ODtZ 8bFEoD7tBN9s0Ih+l3pWm1iosFO8fNIjNa8OTgqH8ihbZWvHhWSfL49gZASkNVuY3zT/ fT1g== 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; bh=Be0pZR0OtqDXYR7CyVoX+9erKgYO4wCyQzfN6Kk2luI=; b=ND2mcR2a+5OH0u5nrVgCoOnWfQRbEPcHbnk1ak7NmnwuP/T+ptgf8tIq3dMvXyxUyE pTK7/5nFr9G5PF+EEMeut7qiyQwV1Ql4JbEuUujb2QqtsifmnmPb/86DvoE6Oua0rtSj lTy6bYH+q03dMcS2vRjginjzp3C5RQSSJQvDMsueXUia5SToSf2cjY7bU9A+uJNx2cR9 GKp1tNS9AOxadbwpXU9GaQlawfLKfdg515mzYlfEsm4L6vBE/yqB5YX+c1kOR2hblJOo f07qWThaEek6GP+Dl6wVY9hgf9LoEY3g+2vCPDESF2RuGZykUZ/bHm0dhRzYSmQXhukx DgTA== X-Gm-Message-State: AIVw111PxAgxNjGW7p3bC5NtSIpxsDAkFyQOw4XhgckUJ3j1+M57B/6M qluKUJp8VFBdfzqXU6g= X-Received: by 10.55.163.3 with SMTP id m3mr5683005qke.118.1499714311159; Mon, 10 Jul 2017 12:18:31 -0700 (PDT) Received: from localhost ([144.121.20.162]) by smtp.gmail.com with ESMTPSA id u76sm8918738qka.26.2017.07.10.12.18.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Jul 2017 12:18:30 -0700 (PDT) From: Rob Clark To: linux-arm-msm@vger.kernel.org Cc: Andy Gross , Rob Clark Subject: [PATCH] ARM64: DT: add 'ranges' to chosen node Date: Mon, 10 Jul 2017 15:18:27 -0400 Message-Id: <20170710191827.14271-1-robdclark@gmail.com> X-Mailer: git-send-email 2.13.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some LK's can populate chosen with a simple-framebuffer node to hand over bootloader display to kernel (or u-boot/etc). But kernel fails to grok it properly without knowing address/size size. Signed-off-by: Rob Clark --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 56549063396f..5c36a0934989 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -30,7 +30,9 @@ sdhc2 = &sdhc_2; /* SDC2 SD card slot */ }; - chosen { }; + chosen { + ranges; + }; memory { device_type = "memory";