Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp779706lqh; Sun, 5 May 2024 01:27:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSvnKp37loWSuckbSfhcE7KewIl9Bha0vtyq2TA+vi9oExbE09rgY+oSQrQHMZnZbr2iNRMxhIsNNUhv/he19oImhZHjrkvVHRa3RFlw== X-Google-Smtp-Source: AGHT+IElwiBYLsF/+TtGXB79EN1tpScdbNVMNYt/2MDfemWK5tFXuHvZ2+/yM9GY6HOyxYWCS29K X-Received: by 2002:a05:622a:40e:b0:43a:f5db:88b8 with SMTP id n14-20020a05622a040e00b0043af5db88b8mr12903443qtx.24.1714897623688; Sun, 05 May 2024 01:27:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714897623; cv=pass; d=google.com; s=arc-20160816; b=JGhoDD10/z9d6ThH3Ckhsx4gDeo2cETYHSb0EIZgABsYF/G6kFYQcIBSLbR1rXZjVy ztNRErCirB5DzfFy1P6ZiWW4zO+1iuDMY7GonyXS0PXdcBdzegbOnq+dp7DEqhrUyoUB eiTHc5Y0wnK+fS8IzOHE+4Wd0oe2eceQGfYNyBvv6BH5dmJNUAGkDyyq7F2oArq9Eo7H FQ4uu28rpmzc/9kwsFJIfypKK/zDluL9REDYhnmS8ki4pORPoQch8yiQNHI9dxS7UDuS IA8dD9cvzmURaPUxtc6+wH/UD/NtqeaxN8ZFkf/b2PoTFuIPbbsfRqLXpWunq4jHV0O/ hRDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=CsPqMHPPH4SfxvMik4+TCVUDLSHiABBIpfUEH8kOTj4=; fh=EkiPgveUseHlyanAytRLcuMofa4C9M+i2+flC3eRCg4=; b=RGeDgkGubZoyZjQ1yUABT0idlFWHmgmNdj52vTzxUGxUBqkzRkuLG2hnKTIFpxZ5r+ avEbgkpjJFF9Fad1+kOmNfNxeRP0N2XUSc7T6HhBdy45auDz+5xIWdv/tTuFxyYkM1el kNJWe4SQ6pptrZPwYpbBnRGCly28jBQxxm8mBxzqIKxH2i4kPS93UFg9Jgecjad4pgUS 0Ivpio3Q/IrxgdVO0EXpJkiBimMWSLONdS4NwwLiRN4Cl1Mhf7ialb2LaUoPXtkg2Dd+ 5BRO9Wsp9usBx/y/4edK1YsKq5/+Cqqy0OfM1NCZxAX+Zsk/3IpqHWCOIFE4cYJPvK6m Pm1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C5wOhbuh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168921-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168921-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e11-20020ac85dcb000000b0043ad022bc78si7084681qtx.334.2024.05.05.01.27.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 01:27:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168921-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C5wOhbuh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168921-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168921-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5A80D1C20B91 for ; Sun, 5 May 2024 08:27:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1DD366FC7; Sun, 5 May 2024 08:26:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="C5wOhbuh" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D1D74404; Sun, 5 May 2024 08:26:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714897615; cv=none; b=PVqNELK9b8h4k3WBTDthyE0wS+AbKbizZksEIsCO2loBKwuYkvNLzBz4+lVCOw1Bz7mbClRVbvqP7dP1x/l/MxJ9zc7nq0WyBlT5fqd9kBcgqen7Fcq+Myfu6GWxl4oR7eA61f2rks8C3Ug7f8VUhJ6Ph0wRPpKeufROnWodQOY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714897615; c=relaxed/simple; bh=D6efS6RVCA1vmCe8q11zto2BEbb597cUT08foKgPeHo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RhE/OvNaPA452JqiYI7v6VXujQ1mzJgZMvfW+oYCnPNd0vI68Tp1E+H1yl/gjVdCDy0oiPg+Der+ryjb+0601Xdcs962CD8XwhmaEn5W0UWoN6l3hhmPSA7GfU2ayHlQqLOJGwXetnihs6GjRPaQ4D1HuffbsYRjh9zFnVDXTMs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=C5wOhbuh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE2A7C113CC; Sun, 5 May 2024 08:26:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714897614; bh=D6efS6RVCA1vmCe8q11zto2BEbb597cUT08foKgPeHo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=C5wOhbuhRvFFrGRSjBKmUX56XxUX29qpxZ+KIsWVYcRhaEvXYf68lebJnht9rBZHw 55vUAYj04J7I0XKfdkVf5gkeRG9aJJvo9T8zpQrOL2Uvd3yaMu1Y0LyjZmLBB0cyIw IHjp1Wm4XkRSQv/rQKw4CEQ25bdI63yju2FR3MoLPgRMP90jaOH+TKj81ZY7wBxt7d f8m/2m+SYQOEXLmEQpwY9WYBXUuKofBw43FVsTEXhKiqRe1N77x1eueADkkgIbVMuT F32JWfmENTd8dgdO5a4TcxrYUW4o3vdKCF/zvpQKbzqnkPUhS/bUlwJsbEPPjgginr 9yfmju1YZiC4w== Message-ID: <676ce61c-e850-4046-ad0f-e3382be3fe0c@kernel.org> Date: Sun, 5 May 2024 10:26:49 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4] ASoC: dt-bindings: omap-mcpdm: Convert to DT schema To: Mithil Cc: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240417134237.23888-1-bavishimithil@gmail.com> <2e179356-425d-48cc-84db-0ea3e6203fba@kernel.org> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1InemMAmuykCHl+XgC0LDqrsWhAH5TYeTVXGSyDsuZjHvj+FRP+ gZaEIYSw2Yf0e91U9HXo3RYhEwSmxUQ4Fjhc9qAwGKV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RIBE+NUqckM+3zJHGmVPqJP/h2Iwv6nw8U+7Yyl6gU BLHFTg2hYnLFJI4Xjg+AX1hHFVKmvl3VBHIsBv0oDcsQWXqY+NaFahT0lRPjYtrTa1v3tem/ JoFzZ4B0p27K+qQCF2R96hVvuEyjzBmdq2esyE6zIqftdo4MOJho8uctOiWbwNNq2U9pPWmu 4vXVFBYIGmpyNPYzRm0QPwARAQABwsF8BBgBCgAmAhsMFiEEm9B+DgxR+NWWd7dUG5NDfTtB YpsFAmA872oFCRRflLYACgkQG5NDfTtBYpvScw/9GrqBrVLuJoJ52qBBKUBDo4E+5fU1bjt0 Gv0nh/hNJuecuRY6aemU6HOPNc2t8QHMSvwbSF+Vp9ZkOvrM36yUOufctoqON+wXrliEY0J4 ksR89ZILRRAold9Mh0YDqEJc1HmuxYLJ7lnbLYH1oui8bLbMBM8S2Uo9RKqV2GROLi44enVt vdrDvo+CxKj2K+d4cleCNiz5qbTxPUW/cgkwG0lJc4I4sso7l4XMDKn95c7JtNsuzqKvhEVS oic5by3fbUnuI0cemeizF4QdtX2uQxrP7RwHFBd+YUia7zCcz0//rv6FZmAxWZGy5arNl6Vm lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 05/05/2024 09:36, Mithil wrote: > On Wed, Apr 17, 2024 at 7:33 PM Krzysztof Kozlowski wrote: > >> How did this happen? I see this was in v1, but I am quite surprised to >> be listed here. I am for sure not a maintainer of this binding. Choose >> driver maintainers or platform maintainers, worse case. > > I might have overlooked this, will fix it. There is no driver > maintainer for it as far as I know. > Should I include the module author? Or platform maintainers or whoever is interested in this hardware. > >> Not much improved here. You miss $ref and optionally constraints. > Something like this > $ref: /schemas/types.yaml#/definitions/string > enum: [mcpdm] > Didnt really understand the "optionally constraints" part. Sorry, you stripped out *entire* context. No clue what you refer to. > >> Missing constraints, so replace it with maxItems: 1 > Similar to how clock-names are handled? > >> List the items. I asked to open existing bindings and take a look how it >> is there. Existing bindings would show you how we code this part. > clock-names: > items: > - const: pdmclk > minItems: 1 > maxItems: 1 > Something like this? No. Do you see code like this anywhere? Please only list the items, although without context impossible to judge. > >> Just one blank line. > Removed. > >> That's wrong address. Old code does not have 0. Please do no change >> parts of code without reason. If there is a reason, explain it in the >> changelog. >> > The checks were giving a warning if 0 was not included hence, I'll put > the real address if needed then. > >> Include header and use common defines for flags. Just like all other >> recent bindings. >> > There's no defines for them, this is how it is in the dts :( It does not matter whether some particular DTS uses values or defines, if these are the well known constants. Again, stripping entire context and replying after 2-3 weeks does not help me to understand this at all. Between these 2-3 weeks I got another 200 patches to review. Best regards, Krzysztof