Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1234421pxu; Thu, 17 Dec 2020 05:35:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcV+gjJOSAxNvpbJUxPYw61E0h06GGRIlhZPjBf2EsAxzavpNwgWCUMdb7TmVDtEaTFRrq X-Received: by 2002:a17:906:895:: with SMTP id n21mr35010454eje.52.1608212133508; Thu, 17 Dec 2020 05:35:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608212133; cv=none; d=google.com; s=arc-20160816; b=Ls+NqBUOa6I2ehbMhO1UMrhYwC8MXnr1Zf6ej6Ory7Lji2r8JsARaATgzEd0cZ4Fie GvSK7I40ACq7etLEl/upgNXTorQjTDG00h66ne07QY5zMpApGzlo5LIngSUxG8DvzbbW CXZ/Ti3r8toBQKB/C2BI3VyiGuNIaGbtJHutVeRAxwzu2L/CM8WU+9u13V2vneRBfxkB S/s3k6Q5tVuKWn3oCI4xZcAzFKHk7YAb1f40tFleR5g5k7ZjWBtTBTZYu3XcO6MF+w8A j1yoS8ddApYhHkHTworSBolse3MSwRXlesRpK9w1B8Z5cCcKcq1MbKQQmTMVRJ4a7HLi sXUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+jjwZlh8+P5xdjAQxmNKObP9LCO6P25PhEfU2zCmIIo=; b=TDGSJlou0gzf+gGMqZdSkKUqlrrEIP12hTyjRlah6GbjyzMgdxRhpNw9tv5wTKM6A9 L/uahJ35xJXybdN9/ZjRmdggPqaQDh7WNGZ3FFRJGRT9cCjdWwdPBKZCnSfhdoWV0jno //Lk4ScBZhPSKH3K039LSzQmJei8epthGly3IOWNq+1p02oy8gJqb3w1ldODzTHkpGoN 65lQmhUr2o2x5TdSiONA0Xn3Hp/TTODPdiEa47D1RQVrgwwo+G3f+QF1B7e9i3O6Ntx0 c7pLayX3ItkCzeJ4RwOmIdc2h2UppjL4wYT21kHx61F82x7E28i+MneTVENVvUO9QIRp v9AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="uGGcGK/w"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si4688396edv.237.2020.12.17.05.35.10; Thu, 17 Dec 2020 05:35:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="uGGcGK/w"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728023AbgLQNeB (ORCPT + 99 others); Thu, 17 Dec 2020 08:34:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727365AbgLQNeB (ORCPT ); Thu, 17 Dec 2020 08:34:01 -0500 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5E33C061794; Thu, 17 Dec 2020 05:33:20 -0800 (PST) Received: by mail-il1-x132.google.com with SMTP id r17so25781897ilo.11; Thu, 17 Dec 2020 05:33:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+jjwZlh8+P5xdjAQxmNKObP9LCO6P25PhEfU2zCmIIo=; b=uGGcGK/wDVzDKdufzCc89MMDlxsTtuwvQFYZfoNjVx5DcIQn0oQa3KCpR52rZvwyjN qUixh4YWZXYI5/R5tOATyzRH2lwDzqLD7Gl0GY10bvSUbehLdaZsO03Q1WqwXYtPAXzb DgANnf+J6OKYlH7cnsqk2ASYUqUmo5G/v+83VtuFlFhTaeJwytIzfMwghOK2A/hrAj/p awiGQIC8VjEcda3RSSHlI8SMUlAy0PhRzn/Op0qiAre1r44OaDwxPAhQl7aebifpJiNk 8ZanpmQ2dnPFuiuBG+ZCE1mbgdbxN9I+3n2eXMZuACyHKH8ONQIqNYqSp1gKjsnSD4IC m3FA== 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=+jjwZlh8+P5xdjAQxmNKObP9LCO6P25PhEfU2zCmIIo=; b=qRwBH1jV6JQnzP3QxF4Gw7M9FnUGjEge8KoFI4agPvFqGUR9kXIihrpmqokvEE8W/d w8uJbDkFn+vUunIa5pL3a6AH7fUDbWeAW0/lzwUhRtF7iH5Ei/qa1/gc0k6UWZv+yt1w knAyjmuzs544aoZNos7agUH1N0eFe4+OgmdXdwB75A6K4Xr99rED1Oo3nkh2lc7KXIJS MGsLNRugqeG7y0I8b5wVfK1LHYW7BduZVSj4YQEgRvrXF4MSaDc0mewmk3yKA/zEIF6w //QuX4UvUAEHLHGJpjxHGqGSQiGJyuCZjATeKe8z8qD6n9Yngc/047uIHtJpFe7HPwNC KfUQ== X-Gm-Message-State: AOAM532aN4wR2dg4Axc2e686UdFtwg5B47GDalxKmuVPe1wLugJDB7cs +oqdrdIGAazQtwnh1VzpjhkDKVy/EPw+4loBmY0OUP/xESm4gw== X-Received: by 2002:a05:6e02:926:: with SMTP id o6mr48950963ilt.65.1608211999880; Thu, 17 Dec 2020 05:33:19 -0800 (PST) MIME-Version: 1.0 References: <20201213183759.223246-1-aford173@gmail.com> <20201213183759.223246-7-aford173@gmail.com> In-Reply-To: From: Adam Ford Date: Thu, 17 Dec 2020 07:33:07 -0600 Message-ID: Subject: Re: [PATCH 06/18] arm64: dts: renesas: beacon: Configure Audio CODEC clocks To: Geert Uytterhoeven Cc: Linux-Renesas , Adam Ford-BE , Magnus Damm , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , ALSA Development Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 17, 2020 at 5:12 AM Geert Uytterhoeven wrote: > > Hi Adam, > > CC alsa-devel > > On Sun, Dec 13, 2020 at 7:38 PM Adam Ford wrote: > > With the newly added configurable clock options, the audio CODEC can > > configure the mclk automatically. Add the reference to the versaclock. > > Since the devices on I2C5 can communicate at 400KHz, let's also increase > > that too > > > > Signed-off-by: Adam Ford > > Thanks for your patch! > > > --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi > > +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi > > @@ -424,13 +424,15 @@ &i2c0 { > > > > &i2c5 { > > status = "okay"; > > - clock-frequency = <100000>; > > + clock-frequency = <400000>; > > pinctrl-0 = <&i2c5_pins>; > > pinctrl-names = "default"; > > > > codec: wm8962@1a { > > compatible = "wlf,wm8962"; > > reg = <0x1a>; > > + clocks = <&versaclock6_bb 3>; > > + clock-names = "mclk"; > > While the driver does get the (nameless) clock, the DT bindings lack any > mention of a clocks property. It would be good to update the bindings. Agreed. I'll push an update to add the clocks property. > > Note that arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi and > arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi (both by your > hand) use "xclk" instead of "mclk"? On the schematics for the two imx boards, it's labeled as xclk, so it was named as such. For this board, the schematic names it mclk. The driver doesn't care about the clock-names property, so I'll just remove them. adam > > > DCVDD-supply = <®_audio>; > > DBVDD-supply = <®_audio>; > > AVDD-supply = <®_audio>; > > 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