Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp416259rdb; Thu, 18 Jan 2024 07:21:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPXyECrAcmEWgPM1wcBDHFOf44reSnfASawlA3+MzR5yo4DDvpWJl7xiYO20dDJkxUqGYo X-Received: by 2002:a05:6512:3190:b0:50e:f2c7:db08 with SMTP id i16-20020a056512319000b0050ef2c7db08mr377500lfe.81.1705591304038; Thu, 18 Jan 2024 07:21:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705591304; cv=pass; d=google.com; s=arc-20160816; b=RKW+4aAJpNuSwV1K5xhbxYWcpDtlpD1nGpzP5anRxsUKP7zzVnt6r8kwMFbno0mKiI F7qbxiygA9RBfzRXo30sTa4C8s3ZS2PC0AiQmsGywkSPUeq48ChIxzqSklfUYE5tKxuY /AXdlg4ucQ5E1InCJ2pfaBhY9bbube2U90GGSs00zOKrg6mevDF1aPf9PwqpGUPAL8k9 wpT6ODJ7XaX8q79xPtQhqoEbK8IFhy3XETD+YprG/fVtM+vND47k6Oqd+wrLPGIUEb2P TI6JrO/fED8YZR1Gu+VADNY96clK0qhR+xbuveAxqmODu8amUTUYIW5Vt+bmKqxA2TVL EfAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:subject:cc:to:from :date:message-id:dkim-signature; bh=OxhHEuq4UoGKdyKSn2yl78F78p0BZYUw4RlptfBHAvk=; fh=z6zPC3rIOXjGhDdV3ikdEiX9Zagj8mGMFkx2R3oBAR8=; b=eGxRdNxSUL71F4SzLyoQK9x+YXPJ2aqGQLEpKaTuBClzDTapJOdTHHte0mtNzr8h// fgZ9PdjdPzvxyQg+aB9ZwYCDuMLlBm4zYQmF7JVuAhSiCbbc8vohfDk8XvwD+bfn02tS pMPDkxrHGqpu3zlq09sycOQZIekreyVdOyx/AL1DrouwjvT2a9TOOXli1PaUvC+sYES9 6LEkGIeV0qZWUF7mgxEOlMZPcWRB8FLFan0wJCunpNGDEpo2uGF0WZNl7rB4VI2v7GhF eza2S6IUjS+0rxpWeFIUeK+nCieZWbdTTD4SZ01I0MRpJhiR3y6gqjMkvEMeTPWp2NOd +ziw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kUsk2a8R; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-30250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ec3-20020a170906b6c300b00a2d27523de5si5047601ejb.208.2024.01.18.07.21.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 07:21:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kUsk2a8R; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-30250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2FA081F23EEE for ; Thu, 18 Jan 2024 15:21:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3BC4624B40; Thu, 18 Jan 2024 15:21:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kUsk2a8R" Received: from mail-oo1-f51.google.com (mail-oo1-f51.google.com [209.85.161.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2CE81E520; Thu, 18 Jan 2024 15:21:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705591270; cv=none; b=TanGCXTYM+SUJL6v544ROMm1t2qGLIxXU2G9A/tb/N0dJAF63nXlYa30EzSzDvLgYsKRlejtAQxvTB6Oy1YpBhii7S55rQjNoRG0qEwS9fRqaJNlvlRMgH52OZYC0UFkzuglynUmJxJNyfduZKr/EGCs2FiaDgaFJIhGQ1V388g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705591270; c=relaxed/simple; bh=Q0uFvttzQM/xHVr4MGjxmmaHruyejoVLaVqpqT0uaag=; h=Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Google-Smtp-Source:X-Received:Received: Message-ID:X-Google-Original-Message-ID:Date:From:To:Cc:Subject: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=Tv4qGy1atsbsLH1ncxfiQ8LHKUT31oqv2iNaIzMkVb9sMd8w1mHOE1TI6Wz2/tvII++hIdE7XPPZHTWIR7HTkKJdg6cCi+yA9NyLhDLn1hvKPIwSPAR9kBzYLcVR+NwexSFgQuRPNjjifpJahAdYfweU9poxMVuQsJ/F2C+xAHQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kUsk2a8R; arc=none smtp.client-ip=209.85.161.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-598699c0f1eso5576460eaf.2; Thu, 18 Jan 2024 07:21:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705591268; x=1706196068; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=OxhHEuq4UoGKdyKSn2yl78F78p0BZYUw4RlptfBHAvk=; b=kUsk2a8RDT1YAP8m5T1T8iNxsWv+OLM2mGXah0rT6FP7wkLzx/a/M4i0SNZzctAUYe 49hbXWgzvnIOdrx+ufsF1jSO0GkAoZQJfFHep6b6UKsZ5ZAEAOHJ2KpXoTjwSA08lYdr RmMyQ1JFaWRuin3b70vLzMCfmj7LdxP7OXXE0Jf4p4Bn7Id/k/UsrzLV6mF6qChkEnmT 0rWwwysUMx645WDd6uXIZk1ITMAgEoj1s/0o9x0j6p012v2wiSiJDv6KYE1XdNWjMOPD crKtxQYTFVgHESQ2vdvI4jLYYbnygzmpBHQRsfvEmVtaZIrytulxwY7uXfQ/8T0m36nK zLSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705591268; x=1706196068; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OxhHEuq4UoGKdyKSn2yl78F78p0BZYUw4RlptfBHAvk=; b=IY6S3lwVptffGQQaG6C8NkBAiwiGzdW6Bf0cm9vAJy6HEwoul6XA3Iy7soZYIO1P4f qzbcKidcJ+JVVfqh4RQ5OzW3EGNQexItgb3gzGdvRAP8EWtCKGX/9SiSdoY+r0QuztNk PeJzNTPljM1qfdfx4Ry/1fjb8cRNNw8zHov3L8OEYJssYPni22IItXHsmU9hkscUCcBg mjfhLmR8gR+kZa9S5ynRtzHEB7CgH22XuEKnewgLQ3htDQjetKps+ZVXMitucfF+VM3s CtpM5/aKSEJPcSh0xGeNnyd2JUgS0qrkvPDX/pTMUS+f7ox5GFYWnI0VJnL5zxfpFeZv mb9A== X-Gm-Message-State: AOJu0Ywjti83+Zz3+sjtevJu3miEv8MDOSxauGDkG3bUhIDPkBzxwAFD nn9C2NsN7qE0B6XCswaHfY8LB9lDMxx0uHrzUfUwzUdU1lydvKiU X-Received: by 2002:a4a:b149:0:b0:596:eb1:1014 with SMTP id e9-20020a4ab149000000b005960eb11014mr900095ooo.5.1705591267916; Thu, 18 Jan 2024 07:21:07 -0800 (PST) Received: from neuromancer. ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id z11-20020a4a304b000000b005990c400db8sm1187106ooz.46.2024.01.18.07.21.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 07:21:07 -0800 (PST) Message-ID: <65a941e3.4a0a0220.673cc.7147@mx.google.com> X-Google-Original-Message-ID: Date: Thu, 18 Jan 2024 09:21:06 -0600 From: Chris Morgan To: Conor Dooley Cc: Tim Lunn , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chris Zhong , Conor Dooley , Heiko Stuebner , Krzysztof Kozlowski , Lee Jones , Rob Herring , Zhang Qing , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] dt-bindings: rockchip: Document rk809 support for rk817 audio codec References: <20240116132102.3272682-1-tim@feathertop.org> <20240116132102.3272682-2-tim@feathertop.org> <20240116-mangle-parish-93b5cd672d17@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240116-mangle-parish-93b5cd672d17@spud> On Tue, Jan 16, 2024 at 05:06:34PM +0000, Conor Dooley wrote: > On Wed, Jan 17, 2024 at 12:21:00AM +1100, Tim Lunn wrote: > > Rockchip RK809 shares the same audio codec as the rk817 mfd, it is also > > using the same rk817_codec driver. However it is missing from the > > bindings. > > > > Update dt-binding documentation for rk809 to include the audio codec > > properties. This fixes the following warning from dtb check: > > > > pmic@20: '#sound-dai-cells', 'assigned-clock-parents', 'assigned-clocks', > > 'clock-names', 'clocks', 'codec' do not match any of the regexes: > > 'pinctrl-[0-9]+' > > > > Signed-off-by: Tim Lunn > > --- > > > > (no changes since v1) > > > > .../bindings/mfd/rockchip,rk809.yaml | 30 ++++++++++++++++++- > > 1 file changed, 29 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml > > index 839c0521f1e5..bac2e751e2f2 100644 > > --- a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml > > +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml > > @@ -12,7 +12,7 @@ maintainers: > > > > description: | > > Rockchip RK809 series PMIC. This device consists of an i2c controlled MFD > > - that includes regulators, an RTC, and power button. > > + that includes regulators, an RTC, a power button, and an audio codec. > > > > properties: > > compatible: > > @@ -93,6 +93,34 @@ properties: > > unevaluatedProperties: false > > unevaluatedProperties: false > > > > + clocks: > > + description: > > + The input clock for the audio codec. > > + > > + clock-names: > > + description: > > + The clock name for the codec clock. > > + items: > > + - const: mclk > > You have one clock only, why do you need to have clock-names? > > Otherwise, > Acked-by: Conor Dooley > > Cheers, > Conor. The codec driver currently looks for a clock named "mclk". Thank you, Chris. > > > + > > + '#sound-dai-cells': > > + description: > > + Needed for the interpretation of sound dais. > > + const: 0 > > + > > + codec: > > + description: | > > + The child node for the codec to hold additional properties. If no > > + additional properties are required for the codec, this node can be > > + omitted. > > + type: object > > + additionalProperties: false > > + properties: > > + rockchip,mic-in-differential: > > + type: boolean > > + description: > > + Describes if the microphone uses differential mode. > > + > > allOf: > > - if: > > properties: > > -- > > 2.40.1 > > > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip