From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 C62F9285C84 for ; Fri, 27 Jun 2025 09:20:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751016034; cv=none; b=KibIaG3q0vEvbInEXDEszHI2TzViSMfvBlQuDlGSJfWhtI/+B+/CwEt6rdLEHEBygvoe/EQQSY4Pl2D40fXIEWwPLG8Z/Ua7v9kweX3DXzfI3t8KjIDTp001sGcktwq2jvX2wAb7iDMYXoXTmhvyy6TQjbGCKaNr7bTZ709sQ94= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751016034; c=relaxed/simple; bh=vrfc+OaRtOineRFy4CtDCLlKcnvGZaPz1fpHowUDsSc=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=aRJWB9wwT2QIefXZNckL4gOaswP47XE1a3pPBi61w42BeqQJsYBxoR4dS74pbdAQOHdqSs3DZlAYVhcPGqDI+OaX3szwlLQtuPbQOz+LZ0wK2l4CLD1nd0vUXFJIJiMnEN9kpZg6QC0n1/0CxaJo4Uon0ADWAz92744tIg+8ISo= 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=cEt6J6yz; arc=none smtp.client-ip=209.85.221.42 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cEt6J6yz" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-3a522224582so925994f8f.3 for ; Fri, 27 Jun 2025 02:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1751016031; x=1751620831; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=tgKoLmuCFkyudsO+uSw17e0plXs6RB1iSrnaKVMcAlE=; b=cEt6J6yzO62eYt7kNtmpEGbhW69x168ysd20wk5l1TcSeW6/IZxVlXJuym6wOflxto EQAoYfAVB/uGyNkkCwTWcAVS74bU4V08xYmWyd6KaghFRCJwJ4xIYWtDJJN0sM6Sax7y Yov9lAuPSCc6A62uiYqJnoLWUshtswUPIx7reH8cnmeL2sG/RHOi88/8JdrHdxZo/0SJ EyEalRSvCGsuF/uOi85RdfS3pJikSNh+oT8G4Vn975GR8aAbxFII7vQkeWyIWchBTWBr 9FKKhQXAPg0KkGdeN/bOtb3iUX7vLNWwTt/8NNGOUP2qj9tm95xzWvEaiXMiS+8SI4gp 3DtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751016031; x=1751620831; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=tgKoLmuCFkyudsO+uSw17e0plXs6RB1iSrnaKVMcAlE=; b=J8QuPY5QmH6R4fJnjvu1fxwUzMf9ea66tygwSeXfe0ey7B3RhFd0K6q3dBjK6VVFUR PY4YFI5C1GzFOhFYuLxl4f2hZEmL9id80+QOaMS6yagtSy0msq2ETPMqMSJzzqzxhjfK 4/lrLQEN4IChdFQtpddB2iFe5hgPAJQoJF/gwnvqMCKDJu6jLuKmByi2/Jed5ruh8Qpp ebSTmuI9eOdZK2wqG8xWP/Q4WEcm9WlKa0XFZtp3l2VwPcvGS5pGDeo4Z8pAwNQUXIAo XigbLsekretXYSd/bbb/jI00BBa3EOQjCdd3+U8C76ZBQq1eB+x0arVTsYd8zC0TtB9N gYcA== X-Forwarded-Encrypted: i=1; AJvYcCUwWu8VSbk5p5DT8hacr+18hxrI3ZilhtMHFPnOf3PtTvUSfS4pIZLjUkMOK2Rh/ridVtgeuBz3tAN0@vger.kernel.org X-Gm-Message-State: AOJu0YwqZEDtimheMVJqt1v4klgZz1UvIuixYjO/+Doqh4UbDGPCIvrD RdWbopoQhJBHrDp8hEWBqEEjKevpDzK+eeHTYZfn4j/URKgtWWKc0RgmxyuTlnN02Ew= X-Gm-Gg: ASbGncsONN1Wa+MaKYN16hS4Z8vRVErDYWWbUer16XVPGCs/JYtlXqRn+sz/M2VNeis gO74bk0gA16FzA64QtfiLnw0uNRnJKnNhXL7td50wrnQn8wjhl1LF2D8rP/Qg0ML/WRZe9YYdVj /yCkB03YCVbiFPPQb5GmEQ9UHDugnTrZeMPvdbQKdYIBl3Ea4mIbWjiLoHYEVKfIhAF/1y9Qo25 0SDjawEVq8yovhKrW8oHAAcdGGEmy4EeZIwQm672wBmyGvMYP+WTlPlsyw6Nn2TAtBM/UEZdY0f YX6WLPTs+cgQcQ4wPdqcDox/xhNqdjmi0XV/X8HSNMno/uqVFi8VZqlfwDuEKQYi608= X-Google-Smtp-Source: AGHT+IF5bV6mT3bv7iCEja7u7RBHkEVwKldtXgIAv6BJdG93VXVqYj/0JSIpoX8i21kmQ29S6VbX7g== X-Received: by 2002:a05:6000:2013:b0:3a4:f7dc:8a62 with SMTP id ffacd0b85a97d-3a8f2f34f7cmr2365868f8f.0.1751016031058; Fri, 27 Jun 2025 02:20:31 -0700 (PDT) Received: from [10.1.1.109] ([80.111.64.44]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4538a390bf8sm45349135e9.4.2025.06.27.02.20.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Jun 2025 02:20:30 -0700 (PDT) Message-ID: <508b60bf64d060fb48395366b8377927d248b60b.camel@linaro.org> Subject: Re: [PATCH v2 2/4] arm64: dts: exynos: gs101-pixel-common: add Maxim MAX77759 PMIC From: =?ISO-8859-1?Q?Andr=E9?= Draszik To: Krzysztof Kozlowski , Catalin Marinas , Will Deacon , Peter Griffin , Tudor Ambarus , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Will McVicker , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Date: Fri, 27 Jun 2025 10:20:29 +0100 In-Reply-To: <4cbc691e-c725-48eb-9932-4549381fa55b@kernel.org> References: <20250524-b4-max77759-mfd-dts-v2-0-b479542eb97d@linaro.org> <20250524-b4-max77759-mfd-dts-v2-2-b479542eb97d@linaro.org> <2c491166-d8ae-4fb6-a4f7-74e823e1205d@kernel.org> <4cbc691e-c725-48eb-9932-4549381fa55b@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.1-1 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Fri, 2025-06-27 at 11:12 +0200, Krzysztof Kozlowski wrote: > On 27/06/2025 10:54, Andr=C3=A9 Draszik wrote: > > Hi Krzysztof, > >=20 > > On Thu, 2025-06-26 at 21:49 +0200, Krzysztof Kozlowski wrote: > > > On 24/05/2025 07:21, Andr=C3=A9 Draszik wrote: > > > > + > > > > + gpio { > > > > + compatible =3D "maxim,max77759-gpio"; > > > > + > > > > + gpio-controller; > > > > + #gpio-cells =3D <2>; > > > > + /* > > > > + * "Human-readable name [SIGNAL_LABEL]" where the > > > > + * latter comes from the schematic > > > > + */ > > > > + gpio-line-names =3D "OTG boost [OTG_BOOST_EN]", > > > > + =C2=A0 "max20339 IRQ [MW_OVP_INT_L]"; > > > > + > > > > + interrupt-controller; > > > > + #interrupt-cells =3D <2>; > > > > + }; > > > > + > > > > + nvmem-0 { > > >=20 > > > Why is this called nvmem-0, not nvmem? Is there nvmem-1? I see bindin= g > > > does it, but why? > >=20 > > 'nvmem' is used/declared by nvmem-consumer.yaml as a phandle array > > already so using just 'nvmem' fails validation: > >=20 > > Documentation/devicetree/bindings/mfd/maxim,max77759.example.dtb: pmic@= 66: nvmem: {'compatible': ['maxim,max77759-nvmem'], 'nvmem- > > layout': {'compatible': ['fixed-layout'], '#address-cells': 1, '#size-c= ells': 1, 'reboot-mode@0': {'reg': [[0, 4]]}, > > 'boot-reason@4': > > {'reg': [[4, 4]]}, 'shutdown-user-flag@8': {'reg': [[8, 1]]}, 'rsoc@10'= : {'reg': [[10, 2]]}}} is not of type 'array' > > from schema $id: http://devicetree.org/schemas/nvmem/nvmem-consumer.ya= ml# > >=20 > > https://lore.kernel.org/all/20250226-max77759-mfd-v2-3-a65ebe2bc0a9@lin= aro.org/ > Heh, this should have been just folded into the parent as Rob suggested > during v2 AFAICS and remember, the other discussion was about gpio properties only, nothing about nvmem. And I addressed all gpio related comments I believe. > Well, let's just merge it. Thanks Krzysztof. Cheers, Andre'