Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1440740pxu; Thu, 17 Dec 2020 09:59:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyv06uo8xpOAW851ITphfxUhSnjYql+MCa+GBjqjCl8WMDhcECEGhGQxjYFFpPqEbK0NExf X-Received: by 2002:aa7:c3c2:: with SMTP id l2mr529414edr.15.1608227997553; Thu, 17 Dec 2020 09:59:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608227997; cv=none; d=google.com; s=arc-20160816; b=k+sJ8PNLQ5nQuevElPwWF9bn6leqYCVkiSM8j3IgXTPjLdEf8IqhHNUkCEY42YaXjQ dHrKMlgL2+JnVJzMuuLOAANG0eCBIZT7gl6Drifj5cX1d30kzMS//GzXS3Cduzn8+QoD Bbl9KD3UUUM7VlTdl56TP5N+k2QEPSvP7jKyRETHY0mZq74l9ujkXDvymnbe9SZHRHYE Vs5X7CFmEur0fl6gzX55kxt7cXNuY2KGh/5D6FXmEXaBKt19EE3A4xesuePUW+Mv9MBI 1/ZMTu9t85btPaMW0gFNgI9GcErZggR7UiMvizNFhE3TmOGkS4JGwBPmNyh7SpYOaN1S hFsA== 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=Jy9Wo6K2J/ZSSCkdeQ2xq3mmopXJVycRBgl/dvb3y3M=; b=v5qPCvKeCMrPxZKQipAe61Zt+pMF598GtgPzeVlrUBOQXoNBhvGjiGout5c2NNMJRI h/W2/0sVPsQQ3PoInnFCCHW18By4/miohqrqlyp3PnYv4/AHAZocLuITQt7ZeZGNRu1n QJpOydhLLuk4gGucP1NmVxF4rRiCzjpwB9D70lapDCXu/462CqRf1cX7nJr8SgjucZd2 6aav8HmYxcPjIWnH/WeZtkGa7MfiDRlO8a22/CGn56gXu2NaMvecPPLqtu6FOYpjDQEo sKVJq+P4f0X4oe1gVqUt4YJ0Sdo52b+beYWY0qt05yW4BYwpRuyWtSQOiM1y7FotWL7D uyWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZWHmreiH; 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 h16si2956048ejt.260.2020.12.17.09.59.33; Thu, 17 Dec 2020 09:59:57 -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=ZWHmreiH; 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 S1728163AbgLQR7E (ORCPT + 99 others); Thu, 17 Dec 2020 12:59:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727253AbgLQR7E (ORCPT ); Thu, 17 Dec 2020 12:59:04 -0500 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B614CC0617A7; Thu, 17 Dec 2020 09:58:23 -0800 (PST) Received: by mail-io1-xd30.google.com with SMTP id 81so28306095ioc.13; Thu, 17 Dec 2020 09:58:23 -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=Jy9Wo6K2J/ZSSCkdeQ2xq3mmopXJVycRBgl/dvb3y3M=; b=ZWHmreiH5rqp0TCgo6Tc0AUX6gwk++F5zyVRI2cszk+zlJBORCLTYuPAP1EaF5Ws+J t1/87AfU+EwrH7w2NFaRQMGrNTmzc1GBXhOFzSCU1SzTUd/H7qJEEZPicbDYG+FE1BiB rfCUhlHFH9+cTlKreuUCB9pzkCIcOyUAHoINRYsEmWSuoNh2XLnz0yOKgXGinmEbjFHw 6nz38TBwwuhGK2H9ueOUyJsWIWRR1gDwsiP8SYZcLDR/rD+LQXGtYfezzSqfwqPovsL2 2LPXLq7Spblx2sCfdJaJqwCKSicmgi/wbkYDY50dO8WsF8pC+h6oTcE9UVeMJt2jz2Q8 BWdQ== 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=Jy9Wo6K2J/ZSSCkdeQ2xq3mmopXJVycRBgl/dvb3y3M=; b=on685f5O7eDYJjWX/wGY4zp3qXcUxBzvidCsZPGwIDJx7CsfqxrSs4qym57d+X3Lxr QwxC/DuANKWDG67LFJVZLgJTZPWWrPbc//c3t18g/t5O6L2apRkrcbbF659rvHkLMO6q ExPkml++uvs9jvtUz/mK2Jodymn/SK/kI28hMgnPiuP6xQpNeJlRP8Z6RhnGlkWImixO UbP9THgtBi+913StxVH+uUH53bd2M03WxsaHHeVvf084ktaap1UTWGwjB26To6Bk5clM XXunDIDB02YQ7+8YmWYKF4uVq1QUizTApQdBfPun46GZMOKo655KGubIa/im0Lv1PYHt /fhA== X-Gm-Message-State: AOAM531ZgC5/2LwxOehExM1lE7NqxKRDMyWM6ooIvUugN7KoCq2DdUbX 1KY2np+M0rky9fPvDY7RcuMaI5UBxBIFbyilIG4= X-Received: by 2002:a6b:f401:: with SMTP id i1mr261498iog.142.1608227903009; Thu, 17 Dec 2020 09:58:23 -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 11:58:11 -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 7:33 AM Adam Ford wrote: > > 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. > I pushed a change to add the optional clock information to the bindings txt file [1]. > > > > 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. I pushed patches to remove these nodes from the other boards [2]. I'll remove them if V2 of the patch series for the Renesas board. adam [1] - https://patchwork.kernel.org/project/alsa-devel/patch/20201217162740.1452000-1-aford173@gmail.com/ [2] - https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=403739 > > 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