From mboxrd@z Thu Jan 1 00:00:00 1970 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 0F348C54EBC for ; Tue, 10 Jan 2023 10:48:09 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:Cc:To:From :Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0PmHXvej14sXPeipqSYWqhS7UPNPnvNSu9qrP5kdv5M=; b=LgmUH/TgaByXQLbVF+X+r91cwu ThNdrgQaxEjwvkV5ekCBFw6BLXQMzQ2JfvKd+jC3Yu4Ao0QiHDci+7im2lqWbrhbYyeNA62y3DGDP 1nwWqECMbteceE4lkW56MnD9WQjtl2spni5QiFF2uNSu6kWH9h1M+Fvi6G3yWBK4EkrdPnLi8yZks uqlSnbu+D5V9Gpy5iZDXXc0YJRlEsB7IzbSbPfBrv9KnM5zPzyZ/cReJSDET3YzYi/JasvBi14zCt QjxaHEWb5qa+VMZ49eYm3Fg8agD+ydIAM3iy14BmJ+qc/VFOJNHFlacim8XGy9O7ANKqffKJTkS8V 3FOnlYAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFCA4-006Pvi-Ek; Tue, 10 Jan 2023 10:47:20 +0000 Received: from 0001.3ffe.de ([2a01:4f8:c0c:9d57::1] helo=mail.3ffe.de) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFC9z-006Pt2-Mi for linux-arm-kernel@lists.infradead.org; Tue, 10 Jan 2023 10:47:17 +0000 Received: from 3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id 2EBD215E8; Tue, 10 Jan 2023 11:47:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1673347629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bM7XM8zqKCcIbM67RHJTchBt5vKkjLDTJ/4WktQe174=; b=ASlA7eA0Sh+lDRgy4dmRGf2RX8lJTi6Tj2o2FCArC1r1R/fvGNEF686bHKqrluExAYM6o2 p2kN26yfb7rkpu+3CCIk0V7Yojd/I2oDggwOUznjH+nm2fEvHTiu/sUb9wHCeyhI4nPC5e 7jz9PENTwbFw3CU/fyz+q00NuVEHZUjadEMYU2R6EzJve48YT3JAyjhTCqOWcZfSmh0kJ/ Let4jY6M3d1JThBFVtJEDodOi+3qpX0394YYRSw+vbc6NjZLDWQ41ctdNGOSmilFVJRF4Z +diWHrbHESjvSxPVWOZmQvRACXwYuXniRsfwrJ2TA4UicY4nWClYekc3G/xfgQ== MIME-Version: 1.0 Date: Tue, 10 Jan 2023 11:47:08 +0100 From: Michael Walle To: Alexander Stein , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, Peng Fan , Aisheng Dong , Srinivas Kandagatla Subject: Re: issue: could not get #nvmem-cell-cells In-Reply-To: <13180287.uLZWGnKmhe@steina-w> References: <1a600055e8a21f6a4142b0cb7a0b96f0@walle.cc> <13180287.uLZWGnKmhe@steina-w> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <1b4ac08c5ff53180db4aeddd944f85cf@walle.cc> X-Sender: michael@walle.cc X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230110_024716_083330_BC1EB918 X-CRM114-Status: GOOD ( 15.95 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org [+ Rob and Krzysztof] Am 2023-01-10 11:32, schrieb Alexander Stein: > Hi Michael, > > Am Dienstag, 10. Januar 2023, 09:12:26 CET schrieb Michael Walle: >> Hi Peng, >> >> Am 2023-01-10 09:07, schrieb Peng Fan: >> > I see you have added nvmem-cell-cells support, but with linux-next, I >> > see error on i.MX8MP-EVK: >> > [ 0.027518] OF: /soc@0: could not get #nvmem-cell-cells for >> > /soc@0/bus@30000000/efuse@30350000/unique-id@8 >> > [ 0.027868] OF: /soc@0/bus@30000000/tmu@30260000: could not get >> > #nvmem-cell-cells for /soc@0/bus@30000000/efuse@30350000/calib@264 >> > [ 0.030338] OF: /soc@0/bus@30800000/ethernet@30be0000: could not >> > get #nvmem-cell-cells for >> > /soc@0/bus@30000000/efuse@30350000/mac-address@90 >> > [ 0.030511] OF: /soc@0/bus@30800000/ethernet@30bf0000: could not >> > get #nvmem-cell-cells for >> > /soc@0/bus@30000000/efuse@30350000/mac-address@96 >> > >> > Do you have ideas? >> >> Do you have [1] applied? It is already in -next but just to be sure. > > This patch does fix requesting a non-existing io_impedance_ctrl nvmem > cell. > But these errors are about missing '#nvmem-cell-cells' properties. > IIRC there should be another patch assuming '#nvmem-cell-cells = <0>' > by > default. Yeah, I'm just looking at that. As I said, this should have been addressed with my commit 7850f3f4da30 (of: base: add of_parse_phandle_with_optional_args()). But it seems to be broken/not working as intended :/ It seems that we have to pass the information wether the cells_name is optional to of_phandle_iterator_init(). -michael _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel