Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2280732rdb; Wed, 21 Feb 2024 02:48:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUzTYR2LQ2yOgS5WzOnEtb87xUy1HSt4zIKgAEY1pNvgnjx9EDohRpQyQhl3ldyKcMHf1dC9TYl8+ejiPjmNxq40FNGJH8nu41/xEC3NA== X-Google-Smtp-Source: AGHT+IFHrGwsVaYKv4aIweqz6qeIUlYLiihgFMnsWOoeWTTfFrbOUl/Z89+0egk3MlKaKfyqiBdV X-Received: by 2002:a05:622a:50a:b0:42c:766f:d8e8 with SMTP id l10-20020a05622a050a00b0042c766fd8e8mr21873104qtx.18.1708512532703; Wed, 21 Feb 2024 02:48:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708512532; cv=pass; d=google.com; s=arc-20160816; b=Ej40r2ih26E1FmUsLTCwlG/AaMZ1G/bIpnrSveutvjf0iQo8bVdqFSsTRbmruoq5QZ 0YbbpLhXrJef6I4cS/V67oEzvf2JOUHCCHdV6Qtes97WMjGUGvBrWCEExGxigvdT+1e+ pqgySH3eIdfUuWF8i4z4q29yx0uXkiRgbqE8czEOfHhLo8nsqu6FjLPmFs1VFW2HApjl /bLik8g+Q1zueF/Ao4VsEM2MfqQfsYlMp923agD/89GYbPuH8HkcdCf5qTmpiejdxDXO jX8LFzQ007jcpo4/1dllhRgmzpYJuSBBKds9fCYijHsPz5xBX8eJwI0A8FJo2wxBt+61 tk9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:date:references:in-reply-to:subject:cc:to :from:dkim-signature; bh=6I1bSj5CtaeJE+iQKSKTNlWhRmYo1FfweMrKHlrKQB8=; fh=nuBa2YoYM5aN1+pyXFi9yEzzH8iIkk2O3DXPDpWMNn4=; b=0WKL2ImjVf467ql5lH95l5pvPnyBXj783rG0jzM1Jz1z88jcXjqvmI4ceozLIQXQEP mj0K8lRyxwA1zzBdYoPSt/4MmKXcIt7y0XUy9xhggsy0dfe0a2+sqX749/qv6gn1Unja +/PqgVOkgrSu4/l3FRlNRHp+Ej1x5y3ueHyukcQ6I63ymXZ7MTQ02bZwiFN/vr0tluTB uSRYejwlhaSf1ybJHB2+U9im7a73qA5mjp2Y2QqvTCHVRyJEySJCV2sfJh3nJ1dFveV7 xsWIIiuPJmdkSm9mZ14GLbl3fm030Fgq0eQketjpQ/g0kyqOR/nxu4saUlcjvJxNSA+z L/Pw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ti6uUWf4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-74561-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74561-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 n11-20020ac85a0b000000b0042e390c49a5si727165qta.597.2024.02.21.02.48.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 02:48:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74561-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=ti6uUWf4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-74561-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74561-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 753B11C21946 for ; Wed, 21 Feb 2024 10:48:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F9963C067; Wed, 21 Feb 2024 10:48:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ti6uUWf4" 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 67A665394; Wed, 21 Feb 2024 10:48:45 +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=1708512525; cv=none; b=sZYg1vMNcnziemxA97LU5FFC8NS9iriszzL2Nhn9HIHmWwQDaLn9fEZWPYpKE4km4vURpOKmGTLxh28uQfEZFX/3d8O+LvJcew9beDlw/pK3qbAojDCmVxbGscHzbVeFvYPwSwzhV5p0pDoz9qFI2T5UL7GjmlNgxMH8KLIPN68= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708512525; c=relaxed/simple; bh=du6ulVJ73M5wtTyYQAMASVTtXVIeYy+D8eMVD7sAGcM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=eRo8KPE8HZpAHbp+yz91z3y1suK45t/APcRVr62vrG7AtbvvZmgIviYwsmMJkSHMqen8rZSDdfPmKJuk0IkkyqqLecLnxwL3h1FW37MVc+sfC/szRgUb3AXkOOtRZyO7dwtdpxKDURP0+QUFD/7BEMh2pLxBIA94Mm/A7VThl/w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ti6uUWf4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D911CC43390; Wed, 21 Feb 2024 10:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708512525; bh=du6ulVJ73M5wtTyYQAMASVTtXVIeYy+D8eMVD7sAGcM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ti6uUWf4IMz0kw7JYGID5wK+hy5KW5gd72V9h+qGGVURRiy25YuWyrqx7ytJVmBQm W0SefMJ5GIJZVl9iBOwtS2c+VvgfP6bgM8VNer3k88ze/LPMVPJ0NCSSZKczu1KTat bjag50BtU0sZlPkPe9Up4g4bkxKFHm4MBYQFq9v6ISJIBil9r9+moARU88SsTawU94 I0vgD//rWiWYCPYePus98rkRTlOWbTNO1YBeNBAAmxc3b8WtWaO1dhr7uU3r3MeVGM Te92lqOTFG2tM34rDUW9tJ2ZIoyAi8eIJRNJIBfGcmh+/WJ8KKFudToHPJdo/cZioI jjgzAhewmIzNQ== From: Pratyush Yadav To: "Michael Walle" Cc: "Josua Mayer" , "Tudor Ambarus" , "Pratyush Yadav" , "Miquel Raynal" , "Richard Weinberger" , "Vignesh Raghavendra" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , , "Takahiro Kuwano" , "Takahiro Kuwano" , "Yazan Shhady" , "Rob Herring" , , Subject: Re: [PATCH v7] dt-bindings: mtd: spi-nor: add optional interrupts property In-Reply-To: (Michael Walle's message of "Wed, 21 Feb 2024 10:23:25 +0100") References: <20240219-mtd-flash-interrupt-binding-v7-1-206e30a656fa@solid-run.com> Date: Wed, 21 Feb 2024 11:48:41 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Wed, Feb 21 2024, Michael Walle wrote: > [+ Takahiro] > > Hi, > > On Wed Feb 21, 2024 at 10:13 AM CET, Josua Mayer wrote: >> Hi, >> >> Am 21.02.24 um 09:27 schrieb Michael Walle: >> > Hi, >> > >> > On Mon Feb 19, 2024 at 3:41 PM CET, Josua Mayer wrote: >> >> Some spi flash memories have an interrupt signal which can be used for >> >> signalling on-chip events such as busy status or ecc errors to the host. >> > Do you have an example? Maybe one with a public datasheet? >> >> My example is Infineon S28HS512T, however datasheet download requires >> user account. >> >> S26HS512T has interrupt line, too, and datasheet is downloadable without >> registration: >> https://www.infineon.com/cms/en/product/memories/nor-flash/semper-nor-flash-family/semper-nor-flash/#!documents > > Thanks, as far as I can see, both are hyperbus flashes. I'm asking > because I'm not aware of any SPI NOR flash with an interrupt line. I found this datasheet [0] for S28H flash family from Infineon on Google. These are SPI NOR flashes. In pinout you can see there is an INT# signal. The signal description says: "System Interrupt (INT#). When LOW, the device is indicating that an internal event has occurred." Further in section 4.1.1.5 "INT# Output" it says: HL-T/HS-T supports INT# output pin to indicate to the host system that an event has occurred within the flash device. The user can configure the INT# output pin to transition to the active (LOW) state when: - 2-bit ECC error is detected - 1-bit ECC error is detected - Transitioning from the Busy to the Ready state [0] https://www.infineon.com/dgdl/Infineon-S28HS256T_S28HS512T_S28HS01GT_S28HL256T_S28HL512T_S28HL01GT_256-Mb_(32-MB)_512-Mb_(64-MB)_1-Gb_(128-MB)_HS-T_(1.8-V)_HL-T_(3.0-V)_Semper_Flash_with_Octal_Interface-DataSheet-v03_00-EN.pdf?fileId=8ac78c8c7d0d8da4017d0ee6bca96f97&da=t -- Regards, Pratyush Yadav