Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1139559pxu; Thu, 17 Dec 2020 03:14:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJwHbxr0ue/4kiDm2NuVYAS+DL/I5iy+yfEl5Ye/yviHNwuOEi6ZmVw41oZ4MgDEUfAbak0B X-Received: by 2002:a17:906:40c1:: with SMTP id a1mr34548068ejk.520.1608203695161; Thu, 17 Dec 2020 03:14:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608203695; cv=none; d=google.com; s=arc-20160816; b=1EWWV/z2tGlzh4dI/oWMCB3FozwhKbhg12/L++2EQxicbFlwcJhpg0BZ5N0PMEZbPl HvAeF3lgXTJG2W4NxtWfWR9EpHV6XO4qSXbjPet3INpK3Jl9CmxSEjejpqyDs4N7rRF+ ZR6CLH22+vwg0ZN9Atb3EJtrz+ZhmeBfT6tYrOCRXxuO9yag1DesIUhigv/OZ0JNP9aE jB3noLPuV2REd0Uv0IfgehduGmtyNOf1iYn3Sv+7x1Y8aDpfR/fKm7Mj3cI8MpYU/j0G AI5y+/shIoXudN5Yk1T8BJu4QlN7iOkUQ9/G6XWNRxg6FM5dzgI3K8wFEbu6tMVNe8AB UWwg== 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; bh=dZwOGaLScpIa+oDTSTtBNc2tCns1gxIeazUncCzbwsM=; b=Z6Wk4AZsWgO58+l2HOpVsJ3dlAsifJqeqYVmPqX7726ykUnIOXj94U+nQp/xa6IMON 1rWw5i3eH7AE+4ZyjsX5E4jSmb1BCCqnXnhEfrx3dGe9xrL6d+mooc5lt+JUqpGlMvSV uv+XBOmi5SU2P62CF4NUWUJuKxTx/+HJoI4Z2ehYArcrpwn0t4iOT6Z3hvdNpLyaNTgy k86McBG5/50ittRRLQ/A9rKfxfyLRiqptpwKQihcQTX+wREkpguDw+pkkxuRI/nY+H7L te6Hd/VvTz+irTE3HNwUZ8fUc80pjBuzh2a+BdF3wH085Eh5Uky5dbr9Uv3NOA48dTnp GGJg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w14si2429797ejn.207.2020.12.17.03.14.32; Thu, 17 Dec 2020 03:14:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728088AbgLQLMw (ORCPT + 99 others); Thu, 17 Dec 2020 06:12:52 -0500 Received: from mail-oi1-f174.google.com ([209.85.167.174]:45741 "EHLO mail-oi1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728017AbgLQLMv (ORCPT ); Thu, 17 Dec 2020 06:12:51 -0500 Received: by mail-oi1-f174.google.com with SMTP id f132so31741533oib.12; Thu, 17 Dec 2020 03:12:35 -0800 (PST) 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=dZwOGaLScpIa+oDTSTtBNc2tCns1gxIeazUncCzbwsM=; b=XPLvXjA7+ODAB8807PBxdmRpIYTU86R5MIq1ruKAhCLfV3nceRswChvxEtfW1ReiE7 NBxoGhkjTJgc1bX5ImT1d46ALKkj17L2tewWocRZEB5iGXCJKhbIDc61hfLu+6fyS+7/ kUOXh131CP8osontqbLtrQT6+CDl0lMNWefYGtwnFUqowvyRSMQnnl5PDZNJYj/REAjr APwq3wM8L0kivEb0xUKRlCWzANzNkq1UAoQhnaHAMMRjdKszl5+Oa6PXozf1mpT2cNwX +1KlLrLNFMlcVsdYJg/GUSiRo+WQ7RugEmjfELwAqnxklHHlVTGilMFy2twWy/biLoAp TIZA== X-Gm-Message-State: AOAM5339/EJF7Fy+GX0eiiHHzy8ioyG2dejdy04CQfdbyXf7IPIqz6gj chvx/u2F31d4BUGTkqEq59MBekyoeIwXfecM7S0= X-Received: by 2002:aca:ec09:: with SMTP id k9mr4357125oih.153.1608203530592; Thu, 17 Dec 2020 03:12:10 -0800 (PST) MIME-Version: 1.0 References: <20201213183759.223246-1-aford173@gmail.com> <20201213183759.223246-7-aford173@gmail.com> In-Reply-To: <20201213183759.223246-7-aford173@gmail.com> From: Geert Uytterhoeven Date: Thu, 17 Dec 2020 12:11:59 +0100 Message-ID: Subject: Re: [PATCH 06/18] arm64: dts: renesas: beacon: Configure Audio CODEC clocks To: Adam Ford 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 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. 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"? > 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