Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1187216lqa; Mon, 29 Apr 2024 00:10:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXbelDmhwN49qzYsFYseNzxdyVwIgqn0aRDeckzZrqfYUrCVIiPBqbEQzycB0wW9bLaNFssIw/2YrDlINkN6FS3imXnjVzfAPdb1vCq8g== X-Google-Smtp-Source: AGHT+IEhxnKmHJBomYmpAxxBgmFaMKm7YlnKe9Q/H28k6Zaot80kxYUL27L5O5u7SyLS19CBI1lu X-Received: by 2002:a17:90a:578b:b0:2b0:7e2:636c with SMTP id g11-20020a17090a578b00b002b007e2636cmr9719077pji.9.1714374647956; Mon, 29 Apr 2024 00:10:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714374647; cv=pass; d=google.com; s=arc-20160816; b=PlUuGXQWRoyHp2y9HEqKJlciyB6FpQiShqHeq4apuplI7EzPRBYlOoTVmZArrc7IJh uzDAdKS6CHOKhuaouoqA26IOPKq9fw9u1hgx7R3fcUIp7CkAayHjcxMYQV0z/KhNaZly Em5SuDdmi6l6g93KgjkC2Ej0XVtLTz70oJGRmFJtqtjXrnhN/+cr3ixYUdSSp01iPTzl CM03/vH3wimUrMM25VfHKWNM0229/WR7dMIh5SX5E8cmO9WKbqMrtl1WBtiprx/KX/o6 XKmtVxgAxFaOrryYcCJtkru9LJIavGs317PdOwDcKRldqeKCn7S7Z0vVckfT9xA4LjKO PLaQ== 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:message-id:subject:cc :to:from:date:dkim-signature; bh=6ezNGmgXtmN/d5QQIznl5zIrhQk/v8pmvi9ftsZ0N98=; fh=xgTBSnFvS3sz+psrlMqlbixRE5b4h/ohQ2kAhvhNAB0=; b=GvTE2bdfDBiut5XaqYfsj4Rc4C8XnAcWLyX1XEmhzgneGdyBzrIA10UgjnFLpEWyZW mqlX9vVVKWAN7i+JcYnxX8zxs5oLuVPhb70kUjVd7kAqPeBMq0mniODpWv3zMfuRPIl/ 1KCiuEPPNKuk7BDc8TAXw6RWTrXAPLuTok5U5NtYkGvqG9w6y2WNKI3YnWRaNbpsYTYm y2DWQiBqFziWzqP5VEamB9+TELVMsHM1e8NddOzxCKFuOEgErPzta/YjulK1babFb1Sf 24vkxCXY8YAycsnQwSekd0AVZnfHrXQ7I658J0cmRlp/Ky7Mz+2vcHmlbs/fDPBlKFal 5QEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LY9EyzqS; 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-161836-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161836-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h5-20020a17090a2ec500b002abe4e05ac1si19050153pjs.36.2024.04.29.00.10.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 00:10:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161836-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LY9EyzqS; 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-161836-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161836-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8BB7028174A for ; Mon, 29 Apr 2024 07:10:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ECC8113AEE; Mon, 29 Apr 2024 07:10:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LY9EyzqS" Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (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 E2759134A0; Mon, 29 Apr 2024 07:10:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714374640; cv=none; b=JaqkHwxNoWTGRHIKcyq39z5ihXz8xFBJabUV7tPuAJbW5RWUD+XgorovkGZjFd7R5kvrko/ar6VXL89LnY1RAM5vpBGtSFQgkIUaUVIIfdmUuReG9xKRXfDfY+vovd87mNNX0tzOe15DJ/D3rPRSgYKLFKwucv1eIEUwf90bHv8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714374640; c=relaxed/simple; bh=u4RpuH47LCq8+OKqkijooorm9I+Cq42DccMjOsHgWJo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mGC3ffyF4B2LXVcPh+jK2ZGlQxyXTnpF445i2LM0ZCYl94o2hcVli/VjPCl+86icwWYbAqH6eQfyvD7aD1qd9rJZ71+XFdDQx7iv1ukexFH3cef1lj3QLsE1GwBfdIERfKNEFGPQ+I82ETGw6EiNBlcsJ/YwI+tuwb6pwi3f7BI= 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=LY9EyzqS; arc=none smtp.client-ip=209.85.214.173 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-pl1-f173.google.com with SMTP id d9443c01a7336-1e2b137d666so31468905ad.2; Mon, 29 Apr 2024 00:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714374638; x=1714979438; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=6ezNGmgXtmN/d5QQIznl5zIrhQk/v8pmvi9ftsZ0N98=; b=LY9EyzqSZrOSb8FtxwnWlmDwIStHPJwII4rCneOMRmHYberz3eAHot0iYqGC8mEqh0 dJHk3WVzzT9u9RWD9g0wjg+XiLNU2sBH5XatOtQq/jYbQ4szQ1W7NAxdGTcbhgacaB6+ jbEkGoXwuQwvauiArgwxXHrsM84OxA8ug2vr8I1KU0CEHZWR5zlnRfli6MbXMShKNfeU zjFtw8JrXDvHAoJ5ftAvp13FVxc5MpcckCULpcFldg1h1BMsuK29rQyyfDUxnuPVWwCm Jx+vDDTBHL5dPDQK0+u8c7ygm+BFegToCr+ypjZjQtdheRIL3u7Vdj+ELjT+j7m/uupx hmnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714374638; x=1714979438; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6ezNGmgXtmN/d5QQIznl5zIrhQk/v8pmvi9ftsZ0N98=; b=rfs4xLoO0A9VjgGNlwAbV2Wq9k6s3812KwA+G0yFeYEzpupPrJOAJN5rdptbEbDoZB ZM6xz1l0toSChPA7xKjDdJ8cb/QBRp10RIn0ukgZAYi/MPfJHmqQEiILjrm+asjgbrDh t58Yy75sf9p8/RuF6TsnLzgvSuOC+3wvi9OyU/5ppG7Fq+r0rPOLJQHEGIg6TtPVLSyH VhjkfnKzPUWE9Eq0lFOroX+ufD1EUc5UEo++9CkRmEYAKAoackuIll68pVHXg6fKRXMu IBNGrYgAR/i0K5th5t+Cs9zyI9qwrayfrNsjB8qGhpV1wcmQEwCm9z6jed3PoJ0cayw4 759A== X-Forwarded-Encrypted: i=1; AJvYcCXVNRFAPYepb8MTBFBgBNgDac8Jt3wDpTjQedG0BxNVYOFyyUCyOzkFmhoIqoNeK17ZhWkWcDUokYaBQxUKBlV1a/4A4z22QKmVlpGvDWRJ8alxHqqSmQ63m/tmEI4Nd33/D+hQVUge69KPTVUb6ogBgXOGuL95SRgZOuy6/lUfU9+tBQ== X-Gm-Message-State: AOJu0YySJYTutRokwUZYoiKwyYWDIP/Ni6v0yooNvy3nPHjXMKh/CGRT g2+XHjMO1Lw+z10JljWkfrgeDvy99xtacRb6mtaTtUGNHIpP0nHy3MS6rF40 X-Received: by 2002:a17:902:e5cd:b0:1e8:6614:51cc with SMTP id u13-20020a170902e5cd00b001e8661451ccmr11367971plf.5.1714374637938; Mon, 29 Apr 2024 00:10:37 -0700 (PDT) Received: from five231003 ([2409:40f0:3004:21d1:ce46:748f:4353:8a5d]) by smtp.gmail.com with ESMTPSA id ku13-20020a170903288d00b001e403970ec0sm19500551plb.277.2024.04.29.00.10.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 00:10:37 -0700 (PDT) Date: Mon, 29 Apr 2024 12:40:31 +0530 From: Kousik Sanagavarapu To: Krzysztof Kozlowski Cc: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan , Javier Carrasco Subject: Re: [RFC PATCH] spi: dt-bindings: ti,qspi: convert to dtschema Message-ID: References: <20240428070258.4121-1-five231003@gmail.com> <59fe75b6-a4a4-4c90-a3c4-c8a4b539e879@kernel.org> 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=utf-8 Content-Disposition: inline In-Reply-To: <59fe75b6-a4a4-4c90-a3c4-c8a4b539e879@kernel.org> On Mon, Apr 29, 2024 at 07:07:38AM +0200, Krzysztof Kozlowski wrote: > On 28/04/2024 08:58, Kousik Sanagavarapu wrote: > > Convert txt binding of TI's qspi controller (found on their omap SoCs) to > > dtschema to allow for validation. [...] > > + spi-max-frequency: > > + description: Maximum SPI clocking speed of the controller in Hz. > > + $ref: /schemas/types.yaml#/definitions/uint32 > > > Are you sure that's actually needed? That's not a property of controller. [...] > > + num-cs = <4>; > > + spi-max-frequency = <48000000>; > > Drop. Are you sure driver parses it? The driver does parse it though. Looking at drivers/spi/spi-ti-qspi.c::ti_qspi_probe(), if (!of_property_read_u32(np, "spi-max-frequency", &max_freq)) host->max_speed_hz = max_freq; So I included it in the dtschema as well. Please let me know if including it in the dtschema in this case is wrong. Thanks