Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1445878ybe; Wed, 11 Sep 2019 15:21:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMQ+fbu6NeMAmFndfI/Co1bfBYkOuU50VCQJpbeSHZeZ7OmLmrIwyml6Fp+af12NKRQrj1 X-Received: by 2002:a05:6402:3c5:: with SMTP id t5mr38765737edw.22.1568240461951; Wed, 11 Sep 2019 15:21:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568240461; cv=none; d=google.com; s=arc-20160816; b=fLG0CvwX4PQ9Xy7zKSa7OCAp6g9Pu6mCRDdsN4ruvwfik8fhIbi2gl1TmOs00doryw mzJhGzjyM/T7RF/xDAdoBh3A8NETUJhnFdQYrj0miIyCQTxQU4ohj+1TB0a0WtbvIxDD 8sVTJu6+D8TwcKmCWDHZ4Ug+x/WiEs2M0kH7anG4lTdTwT14sOm1jbRk8AlCOITyT3yw r3rvjoID6s1QyZn3XVg7Ot0AB6HL355chaQAN6zO4fGYwJ4AGw6QUynQSKZuyiVESpbj 0wdcyfiawFejsNlBcZsS+EIrkWAi0jPwXZXhfgVH0ADpA1jxqhEYOBzPPNbP2PCGDDtR S27w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=penkjc+LnYL0IVOn0C5YqiNfiHGL74bK4bzlXB2bL6U=; b=phOZCkjryOFjk3gaZuaizeruiLEr0Lge7+bldy+qMIKi8wGTDDwm0+R0PXiBdnz3Gs SNLsZyrTGwephQFZPv2PzAHpzB1C8DRU4XC8trWXVo3HhF7tGJ4z2HlSrYjbeOuDXiBK aq94GyEX6qPH4ZWYu9hn6CnbWfCklKFEFszXikf504Jpq9uLW2nw2WKNnpZg+KEEnDTW pg7O7XCkBKu4L7iDCcPwTmzydzwp6ypDAl/w+XdoA3tw2fPQv10xKgELLJhy31/NReyW Gp8bspMJjA0FAxPEl/fpc6fx3q9xJQ/olzaU182YLd8LPzVOv8CbbT056L5aM+8ahHBR A5nw== 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 h43si14248889ede.142.2019.09.11.15.20.38; Wed, 11 Sep 2019 15:21:01 -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 S1730346AbfIKTfP (ORCPT + 99 others); Wed, 11 Sep 2019 15:35:15 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:41729 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728285AbfIKTfP (ORCPT ); Wed, 11 Sep 2019 15:35:15 -0400 Received: by mail-oi1-f195.google.com with SMTP id w17so1921397oiw.8; Wed, 11 Sep 2019 12:35:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=penkjc+LnYL0IVOn0C5YqiNfiHGL74bK4bzlXB2bL6U=; b=c8KSZyGQrcOkTOZL6cULasJgBcvhIsXujTL+ZH4qY842Q0IsqWMr9vEYeS4Htkqqi5 eKEHmdiWvMRHl3mK3FVJQf0G+730OPWNkguUjFEbWDyaxzZQw0vsPmpGwQZkWmao6WVY vX7uTPl1gxVs2ybqUISHFVNsK9yzAT/QQbd+I6X9oXRO2AwDkCEhGn9kaeTgKE3/WiXI c/qgnFFxouOsFU1qDE210iQNbgPBQLKsiDtuqCjc2o62bfNfmvwdUWeceTWc1bbbQaAo zvHox0JGo7ftJi4pWhjkDHLHe4Z7iNm7yNaVHzL+DryMe/o0Rplb5lPSwbMVgaxAANsI z9/g== X-Gm-Message-State: APjAAAVwkbBqfWQpQqlkjXIVEzmmDWX7J2Tt1mgp5U+OrSCXAeBoDxAZ U7lftNaf8R2lZLNAba0S4p5PUDgz7sG3kMvhsnc= X-Received: by 2002:aca:f305:: with SMTP id r5mr5436595oih.131.1568230514186; Wed, 11 Sep 2019 12:35:14 -0700 (PDT) MIME-Version: 1.0 References: <20190906135436.10622-1-jacopo+renesas@jmondi.org> <20190906135436.10622-10-jacopo+renesas@jmondi.org> <49012496-1a6e-d62c-2882-45ed8aeb88f7@ideasonboard.com> In-Reply-To: <49012496-1a6e-d62c-2882-45ed8aeb88f7@ideasonboard.com> From: Geert Uytterhoeven Date: Wed, 11 Sep 2019 21:35:02 +0200 Message-ID: Subject: Re: [PATCH v4 9/9] arm64: dts: renesas: Add CMM units to Gen3 SoCs To: Kieran Bingham , Jacopo Mondi Cc: Laurent Pinchart , Simon Horman , Ulrich Hecht , VenkataRajesh.Kalakodima@in.bosch.com, David Airlie , Daniel Vetter , Koji Matsuoka , muroya@ksk.co.jp, Harsha.ManjulaMallikarjun@in.bosch.com, Linux-Renesas , DRI Development , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kieran, Jacopo, On Wed, Sep 11, 2019 at 8:16 PM Kieran Bingham wrote: > On 06/09/2019 14:54, Jacopo Mondi wrote: > > Add CMM units to Renesas R-Car Gen3 SoC that support it, and reference them > > from the Display Unit they are connected to. > > > > Sort the 'vsps' and 'renesas,cmm' entries in the DU unit consistently > > in all the involved DTS. > > I think if you chose the ordering in the r8a7795, then you only have to > adjust/correct the ordering in the r8a7796 and r8a77965 ... > > Especially as you haven't changed the ordering of r8a77970, and r8a77980 > which have the status after the vsps entry. > > > > > > Signed-off-by: Jacopo Mondi > > --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi > > +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi > > @@ -3142,9 +3178,11 @@ > > <&cpg CPG_MOD 722>, > > <&cpg CPG_MOD 721>; > > clock-names = "du.0", "du.1", "du.2", "du.3"; > > - vsps = <&vspd0 0>, <&vspd1 0>, <&vspd2 0>, <&vspd0 1>; > > status = "disabled"; > > I'm not sure the vsps should be below the status = disabled line. > > I'd have this as: > > clock-names... > vsps... > renesas,cmms... > > status... > > ports... Indeed. And better write "ports { ... }", so it's clear this is a subnode. > > > > > + vsps = <&vspd0 0>, <&vspd1 0>, <&vspd2 0>, <&vspd0 1>; And the above will become "renesas,vsps", needing another reordering? > > + renesas,cmms = <&cmm0 &cmm1 &cmm2 &cmm3>; > > I think these should be separated by comma's to show they are separate > references, or references to separate phandles or such. Yep, looks better, and makes the grouping clear. > The only precedence I could find was in pmu_a53: > > interrupt-affinity = <&a53_0>, <&a53_1>, <&a53_2>, <&a53_3>; That's because most other phandle stuff has #-cells as non-zero. We do have clocks = ... <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds