Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp501516lqg; Fri, 1 Mar 2024 11:28:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVcGzPdAUfvLY4AWC78kS3dEv4yIP79dgVV6OuQXtUeDuat5JhyvZCDMckNnwbd2KsTAl66/qu4HCq1u8GDrg4hAdejzYtAEzWed5tvqg== X-Google-Smtp-Source: AGHT+IG+x3k8rKzsLk01pjIdzp+bJFvtJmkMXCTIEJnCrkfs0ztokqEgKdsECiC3DmHHBpFlYytI X-Received: by 2002:a17:906:cb8b:b0:a44:c63b:caac with SMTP id mf11-20020a170906cb8b00b00a44c63bcaacmr282145ejb.5.1709321338996; Fri, 01 Mar 2024 11:28:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709321338; cv=pass; d=google.com; s=arc-20160816; b=JQPZ8PnoNSGwUYtp4SPz6IIVTWCovHS2HRe5OQJXMD1GX3peqrn3WScYwPmk+4r/68 evEFs1jzer+30epBO1yndx5Glm/dKxEZ76J/kxenBmON19yGy7E64/qnUa0W7W+m6Peh UtOyFubL2K5wakfQEXKJD4Pyf8QPVVQa3vZ1ISNsQn/Qq+ww6+2WEB2MiIe4YPhvhuAl 5Fh+yI1QDaf9Fndewliye7pOGEQhYpD+AzQTHVPr3IkmGVR0/mOpjA19RCnz/r8TE1LY JazngjhOUl9UnnEfxajxJKWbP8QU1S3rXJOR4u/TOdMFcLE8M9qXLL+osPHRzLkZcC+f Gtsg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=j3eQJfKffcVJndSl+5ss1Mu5dgdvX9a32YznZ6LbejE=; fh=SaqaT4j3ycZQ64xHqXyM03uqSeXrkUoSkbOQ7frkox0=; b=dv1PwacJ0Pf9RONz0PoD4H9WpkKU9eYz+Ytw3M+s6VXh12/q8xXzPNgd0Iycp+cwET VJcGtPkxl9AFzD9fCoQem9kW4N44MuvSpbCIM/kCAQObWsuzBO25tLet2RvwCLkYcsJ7 g2NpKIs/4NQZFLtIRyhk444aRzDOcGsQC//FePQKWbVuH/gi6ynbOY+FxvLqhc2/54f1 Fs4gEtkmErvv8SeJiGp+wA3/yr7zLpiAhe592fJmB/1jmgeSDMuLSbgXs1C1HRNy3ZBL OFsZWkdAguvFQ/HxWidI+9nWDs0NdoPN3tnNNUmSUIbSB5w0IyMqiUb1bpQElbDpV7wM /Mig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pQxSkOAJ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-89019-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89019-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a18-20020a1709066d5200b00a44aaf243fesi417371ejt.708.2024.03.01.11.28.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 11:28:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89019-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=@linaro.org header.s=google header.b=pQxSkOAJ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-89019-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89019-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id AAF8E1F27048 for ; Fri, 1 Mar 2024 19:28:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E66EF3AC25; Fri, 1 Mar 2024 19:28:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pQxSkOAJ" Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171]) (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 78FDF3A1B0 for ; Fri, 1 Mar 2024 19:28:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709321329; cv=none; b=gj6EA9fjebRpqmbYfnODeYedT1e5usTl3nxkSWQeMljTP/zeMMq39hEZhkOZoHZAEr7WMJ5+4ZqxgskIu2YaqDgDQ8eQ4hEuiH9KWj5rL63ZH6T3boLX6QaEkqZDaQjqaP423pV09zAitmCXkR68P25DEPvAaJT14qhVOtqmx0Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709321329; c=relaxed/simple; bh=t546p6Brvs3tkX10UPo7s28no8BBdd+IpN6RcODT7kM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Bnqm/H5HEoE6s74SuenMDrkw4/WBJX9wP9C43aHngx1gMRowcKirroYkGDokUph0F3tajxdlrBGtm4d62YRt9/bi7yXAK6v3Ct5z5zp1mG6IYlyQwAFq/N8kuN6rWLV1u5THrFpXtdezFZdNTt17FZNE7zl8oOkQ6Vb0PP7ITHg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=pQxSkOAJ; arc=none smtp.client-ip=209.85.219.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f171.google.com with SMTP id 3f1490d57ef6-dc745927098so2208105276.3 for ; Fri, 01 Mar 2024 11:28:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709321326; x=1709926126; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=j3eQJfKffcVJndSl+5ss1Mu5dgdvX9a32YznZ6LbejE=; b=pQxSkOAJc+OYxnkdKNqJHOBERphIxBoVFUhM8TrCuu4yyi3jKu239WWJZGSkZ8T7gM mUh6NtKGZzCBM2bncN3mxXBFp6H0gnBF9HBikTpTzH7bJ2D/1/O2uoHBDAbfp0aamuJD PhjWwu+YfdnKh01DElhy/DMkAs40iNfEs8vjrzQqNunnCsf2AfqmLvyfgXG2i/5Asau5 DsnPMnF+tnyjJOabK0zW/tpoAsEUX/YR/vDpxPnQKpySQkkJGfcKbRe1MNYbC/eMTUM4 Bw6AeAOFz0q1q9IOC/CrbNn3G/Gy//D7zz/JeyjcyuJ8hEXyXFaF0WEN2Q3vh421GUHU kDQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709321326; x=1709926126; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j3eQJfKffcVJndSl+5ss1Mu5dgdvX9a32YznZ6LbejE=; b=nzBptKq1orwuzBTgSZYPsR2sDJtsFSiodmO7oJB4T4NM0UHhAiw7xwp8waaGiCQkY0 I9qSawm1mpqOyJ8hJ3WaccX8hCd0+2JXfW5Pk08QxTfIsITvav0i8uT+DnKzE3IbU9Qx 0Z9DqkdKUXVo8YN0mE+PDafDETKLgB6hw8tZn424rkIDKscm/dLyDfcHdOjhQAScSADd BicbV+Pk+m3R7mJcv3WnuK0KpQwNANrdjgfEAhSPf3brz31+hMf099BYmYF2u9oWzxTt DdTA4wUIuqcjpNraNEh4cxsZZaH3n/30jxq5LFFqCq01y61t1s+ZNpKkxNg2Pw8bdho5 ghig== X-Forwarded-Encrypted: i=1; AJvYcCVr15a9h2CHzTzbuf7lbI9o2BAcZj38sJOTmSHopZakL6SzkzezeHG+TMq1S52IiDCab1gnQNcdFTo9WKhJmw1bMtE039YMy7xQNqnq X-Gm-Message-State: AOJu0YzFEzGr+YnELkMMRD6vA5kfbKK+gJbz2Fcd05dRP0JfPlvJ2hbP R0jJzfZuK8n1u4fzIKfuS26pwKfkj9PmXYfbTbVg6uSjdOcrQIXwvDlrpeu7thqyYKCmMzFqo6X 0t7Njw86+6xT0ZYLmBCg0CJVHRGeVl0rI1Vc7Iw== X-Received: by 2002:a25:b109:0:b0:dcc:1814:ace9 with SMTP id g9-20020a25b109000000b00dcc1814ace9mr2464922ybj.28.1709321326441; Fri, 01 Mar 2024 11:28:46 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240301115546.2266676-1-tudor.ambarus@linaro.org> In-Reply-To: <20240301115546.2266676-1-tudor.ambarus@linaro.org> From: Sam Protsenko Date: Fri, 1 Mar 2024 13:28:35 -0600 Message-ID: Subject: Re: [PATCH] spi: dt-bindings: samsung: make dma properties not required To: Tudor Ambarus Cc: andi.shyti@kernel.org, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, willmcvicker@google.com, kernel-team@android.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Mar 1, 2024 at 5:55=E2=80=AFAM Tudor Ambarus wrote: > > Since the addition of the driver in 2009, the driver selects between DMA > and polling mode depending on the transfer length - DMA mode for > transfers bigger than the FIFO depth, polling mode otherwise. All > versions of the IP support polling mode, make the dma properties not > required. > AFAIU, the device tree has nothing to do with drivers, it's about hardware description. Does making DMA properties not required here mean that there are some HW out there which doesn't integrate DMA in SPI blocks? Even if this change is ok (I'm not sure), the argumentation doesn't look sound to me. > Signed-off-by: Tudor Ambarus > --- > Documentation/devicetree/bindings/spi/samsung,spi.yaml | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/spi/samsung,spi.yaml b/Doc= umentation/devicetree/bindings/spi/samsung,spi.yaml > index 2f0a0835ecfb..f681372da81f 100644 > --- a/Documentation/devicetree/bindings/spi/samsung,spi.yaml > +++ b/Documentation/devicetree/bindings/spi/samsung,spi.yaml > @@ -76,8 +76,6 @@ required: > - compatible > - clocks > - clock-names > - - dmas > - - dma-names > - interrupts > - reg > > -- > 2.44.0.278.ge034bb2e1d-goog >