From patchwork Thu Jan 25 14:49:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13530986 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72402C48260 for ; Thu, 25 Jan 2024 14:50:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fuEIA2sOpf9p1hpNyusNwfR7eH9gaPVBMEe4tv0GhZ4=; b=3bqIQlpuGgK2nD ETxUlTH7jI/+JBYh78EWFd2J9r8aCfc09Xm3kD9ldsi8yn+pXYSss7ZsJne741MmgwH0p0qG+JZrM BuLaWM6oGrGSV2rGRTB8qfggsDjx17/my9kNdSyfD1KYPVOl7227Q842K6Lkxt3ZtKS18OjyezfG/ 5BXEbGDbHcHoDqqGk7ru+gH2FvrJzOTRCnPIJ7nQL+fsxG0pY3h+MZtNVvmGgRd+KNJPSYqiBkwSN veBYO4tTSGfGt7V1eycb6woYXetm94Ev6Vm+0XnSSzbgpLLqI/y+/svR741dz4gOI5CP6dDU8eNBs ZhT86abXPw28xsmAXuJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT13z-00000000SEY-1srx; Thu, 25 Jan 2024 14:50:43 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT13Y-00000000RuM-2kQt for linux-arm-kernel@lists.infradead.org; Thu, 25 Jan 2024 14:50:18 +0000 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-40e86a9fc4bso87287695e9.2 for ; Thu, 25 Jan 2024 06:50:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706194215; x=1706799015; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7RbS7SdUaAw1K/g37Ed+dGAKWi2x8GPreQeT5KyvnlQ=; b=CCJ0cwx39hIDWwr0851PDc+DPXJJLBRvVBdo11CurxzqFC/BSKQveHEhsKb4hpmCEy mLxIrZpu3UWb9yW5r6yjeHV1MS/OGYfaV2bNx284ZhWMarwTupggXZZmbr/KXVK+22sH h5ZIZcrvgRFARkNhdVaHATrRTAD60kSrADQAISE3ht1AdtQYicFioxMKlfZI1ny8FRk5 y8Ya2YZDiTok5Rv2AhLPQB6oSy1QFRaZLr1Um3oGRzeC4xngKm7n+KpnW1YbRQFKZwWA qJCfsJuPfIc44pPQ+0KIKDUerqmsfSbV45OtksDDEUblh8nOaLuYktQ+vZz10Yjoj99g QEkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706194215; x=1706799015; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7RbS7SdUaAw1K/g37Ed+dGAKWi2x8GPreQeT5KyvnlQ=; b=qhLeQbIFx3YKgDfVSFWtrK5xGIna8iy+4cOI7k0cHh2Vk7S1ynCRFas+YHSz1PNj9/ KhEYRF5eWzhdu+uvJgmcJpPR4HlGgEO1itJekepgNfz9X6tT523h8Joh03MiKcOklSke xdLobGso5Wa238DaCHsSDsxfwStuDLk5471XFVeArKRKSxSyrc7uHgfFiNVP5Tdj8+Vl T46vbvP7RpwnyaUdTpFyzjty/wwcctxhWgWgMC/ifXkjFxD9SFc5Z6X06dvFWzeOuK1j JU2szMyBPjBIknxpF4WijA9qobQyakpWpdLLk6K+kQ4JBFqaOUWB1sRxAn/YuAFiQhUK dd9g== X-Gm-Message-State: AOJu0YzQmF8+xBNkVvvBqbSWU3xI5rWO0Sh1lIvHuTZCVzw30P5QJaNn KbEWNes7RX1A5U3Xet6/10oMMnT+ie706SgxIFSNNPxe4z7pH8Z95MA8n7Pqw+M= X-Google-Smtp-Source: AGHT+IF3rsjwZxEnfNF6i1Zh7SUR5ZRZ73j3LOKjqeaRMZmPLsyBw6tsN1pEQ9sr6wHSVaZZSQO7zQ== X-Received: by 2002:a05:600c:1c99:b0:40e:cc93:2f6b with SMTP id k25-20020a05600c1c9900b0040ecc932f6bmr604869wms.151.1706194214900; Thu, 25 Jan 2024 06:50:14 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id v17-20020a05600c471100b0040d91fa270fsm2875875wmo.36.2024.01.25.06.50.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 06:50:14 -0800 (PST) From: Tudor Ambarus To: broonie@kernel.org, andi.shyti@kernel.org, arnd@arndb.de Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, alim.akhtar@samsung.com, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, semen.protsenko@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH v2 05/28] spi: dt-bindings: samsung: add samsung,spi-fifosize property Date: Thu, 25 Jan 2024 14:49:43 +0000 Message-ID: <20240125145007.748295-6-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240125145007.748295-1-tudor.ambarus@linaro.org> References: <20240125145007.748295-1-tudor.ambarus@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240125_065016_865302_A0C357C8 X-CRM114-Status: GOOD ( 10.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Up to now the SPI alias was used as an index into an array defined in the SPI driver to determine the SPI FIFO size. Drop the dependency on the SPI alias and allow the SPI nodes to specify their SPI FIFO size. Signed-off-by: Tudor Ambarus --- Documentation/devicetree/bindings/spi/samsung,spi.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/samsung,spi.yaml b/Documentation/devicetree/bindings/spi/samsung,spi.yaml index 2f0a0835ecfb..4ad5b8fe57aa 100644 --- a/Documentation/devicetree/bindings/spi/samsung,spi.yaml +++ b/Documentation/devicetree/bindings/spi/samsung,spi.yaml @@ -72,6 +72,11 @@ properties: reg: maxItems: 1 + samsung,spi-fifosize: + description: The fifo size supported by the SPI instance. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [64, 256] + required: - compatible - clocks