Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp678287lqo; Wed, 8 May 2024 11:15:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW1DlaZ8IG1bWPvEN+6Q7zuEG8/9u6KuU2gb9FN0yPBG92kOnFv95oIw+97v1rVJYduIEZeu6eWD7I4xMTpRyLhp2WegqPeqBmXExXzqw== X-Google-Smtp-Source: AGHT+IGVqbcoTThKwBUUxuGIiwHTVsA8ZyTXuG8AeKGCKYaNyUMZ1sAh9VzILAD2FIH4Z+Qf0PLi X-Received: by 2002:a17:90a:bd8c:b0:2a5:5a2c:6066 with SMTP id 98e67ed59e1d1-2b6169de97bmr3168368a91.37.1715192118124; Wed, 08 May 2024 11:15:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715192118; cv=pass; d=google.com; s=arc-20160816; b=WAFyEo2Huh3BwFcbtzTA96Awmy0RF5Exqf7duHnzXywQkzLlyKkdZ3S43VUx6VcpGo k3m6Y9Py0vqw11+6DfAjkX7wJO9BtXbDdz2h7QJ4OKZkCVxe4Y6ngIKmjQqNVHQYYMNr aTTydxTnGrcDq1fGmkRLhDauU72Qud4ZUgIy6wYDvedarH2vsyX9FeEgEvkoCfhTh7uz hqeJ/4vRonUqT4H85x8o8Y9u//J+s7sjBXvzfNS9Ff5hK6fl7qT/Mrm26frrup4eRvx0 GX4UnxKW7B6Z1fpSbqaFOCle6DcijwZiTvTZOP09p08paFxJsiGGZKjGoblL7djUcGbz RvFQ== 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=esUfPeeIqvpF80Q2euclzbCStahio475ztYs30vAQKo=; fh=aY3yjiZaGdL6YpQLKJ8r05DXUmmxn/E8AVan/ufjfLI=; b=OO6roPOiiKgefA1vgze3Saq2bNTW7wv3e/GSGZMkLEUzVxAOnkJ44rWWv29Wz+pSR6 HhMY7JW+egRfT9JngJUOc/PLGFRjoASXD0GPX5FNACO3wjCMqzzv4Ghe4TSWGkztyWhG V6svIRkJro6jmtG2w0LS+5fWXUVIlA7xiYBMrgfo5f2oPcQvQn0isC8n2Zp65CVyVSmg ROA917VQu9aXTloAYl2EZVSRwGoQlnQOUBUt+pKF7oSNkKIkSW3ZevZ5ppgLE4AEVXDy ZWZsGfFSj6lo4y40LisNl+39Qisxao/XrZwP4LpZciIedNJfgYj0CJhJiBO/byciWLke aMgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MYbzNTes; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173686-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173686-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d1-20020a17090a628100b002b02a6f6f86si1764503pjj.129.2024.05.08.11.15.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 11:15:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173686-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MYbzNTes; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173686-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173686-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 18BA0B23AEC for ; Wed, 8 May 2024 18:03:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A7AA212C53D; Wed, 8 May 2024 18:03:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MYbzNTes" 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 B5C44DDCB; Wed, 8 May 2024 18:03:17 +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=1715191397; cv=none; b=Co2RbMP0EIdVrniHXWffti0sH51/DlZoTBSoKLygi5kGe2gNMdP7HuXdGnNegBjUEAsoJlt9L14dlGtxHO5ZJuV3kIh/fKENOqEyM7kPyBHBji3TNpn1y/LZS8bzShNs9FsP8yF2qfTyHJ9nC+2BRZmi62n2WxC+d0H9Z1d/fvs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715191397; c=relaxed/simple; bh=vtX9OYTf6vDlfS0ktBMqMcHyn0uiHbfJiCyhtnV0OXM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=gkRnBv9VX+jY/KlTZQEoMyc2LVBhpnAjT2nOMKqD2ooQI3PYJAmYZS74HXdAS7Jqym7+muRpS4rUSmFGlnRYRkFjn6xfRRsRB53ysz6HwQlSqn0Q9gN6IMf4E310lcxYQ/Fbr7C/aDGzz8mbPPeI8z3NhzW08vv11xkULVY7Hsw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MYbzNTes; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25185C4AF0A; Wed, 8 May 2024 18:03:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715191397; bh=vtX9OYTf6vDlfS0ktBMqMcHyn0uiHbfJiCyhtnV0OXM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=MYbzNTesUFW2fDlrB2ZDrQE7o/dn/z+EtJZyE3u1wWHbJ62kluNZauUa+wxvkWjsP /PV1r17b3JRJwDOk3lVi0MGoTmRt0vt6Z0CoPCCbpaCiok0LjrkZyJ4L2dIzQnWWfl RciULehgYlzP1GXZMgvog3KMkhd/blMEU7pNW5vCIbbqoHs56aSO0oLcJ2Ds8lr5oP jPXxDo9rqNkEhb+LD7jIpPSBcuv1pP0XTyyt4Oi6sJgfg96BBnLRetVeb7A778OJz8 HUUmPdEgSCitvxPesDl3eqQ1apKJC3bZFWHLnoaEztDYMCR0FHkhQYLJ+OfzRRgUrm zI9+BelRbKS6A== Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-51fea3031c3so6130588e87.0; Wed, 08 May 2024 11:03:17 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUahiycJ4n6nxK4QsmcPBMD4IlEEGNK+o5DPLf5aX0EEYy9SC6CJEgGcesfwuIqUWMSVt17soORLcUUSDXYz6VLLTfV+nXlG5Ew1EWqSw4eH57l0881VLtQaEhjwKBir/xD+AheMs5rSTEQN8dkXJjesM6/pPxjPeOyvPEL78+O0X50wo51CO0cr8lAw8WLwatvHl+nNeVD/WxHSw== X-Gm-Message-State: AOJu0Yxg8dpUOljj+KcVp6BbT5EfW1RHrvwjxv/yiSE9WZRj9CavaS9x aFBqpzgVtUu7o4E50K8AipOaRQPMMei9Sga5U5WPb1YDGe5xZiz9U6eBPPei1fkjW1ZFe0cAaoJ Ab9HtYMvhxhvMqaEOZ9nB89+xVg== X-Received: by 2002:ac2:47fb:0:b0:51d:5f0a:8839 with SMTP id 2adb3069b0e04-5217c373ed4mr2700393e87.5.1715191395399; Wed, 08 May 2024 11:03:15 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240430083730.134918-1-herve.codina@bootlin.com> <20240430083730.134918-15-herve.codina@bootlin.com> In-Reply-To: <20240430083730.134918-15-herve.codina@bootlin.com> From: Rob Herring Date: Wed, 8 May 2024 13:03:02 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 14/17] of: dynamic: Introduce of_changeset_add_prop_bool() To: Herve Codina Cc: Thomas Gleixner , Krzysztof Kozlowski , Conor Dooley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Lee Jones , Arnd Bergmann , Horatiu Vultur , UNGLinuxDriver@microchip.com, Andrew Lunn , Heiner Kallweit , Russell King , Saravana Kannan , Bjorn Helgaas , Philipp Zabel , Lars Povlsen , Steen Hegelund , Daniel Machon , Alexandre Belloni , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Allan Nielsen , Luca Ceresoli , Thomas Petazzoni Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 30, 2024 at 3:39=E2=80=AFAM Herve Codina wrote: > > APIs to add some properties in a changeset exist but nothing to add a DT > boolean property (i.e. a property without any values). > > Fill this lack with of_changeset_add_prop_bool(). Please add a test case. > > Signed-off-by: Herve Codina > --- > drivers/of/dynamic.c | 25 +++++++++++++++++++++++++ > include/linux/of.h | 3 +++ > 2 files changed, 28 insertions(+)