Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1223600rbb; Mon, 26 Feb 2024 02:47:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXxoDDeDhWU0+eMiDpbfynWUJmImeiD0UgA7oM3A000qcj/2KSeW69eahjLDHelxA6pNZBUoHnBqVY0ha6tj6aG8+5DFKHhSA8xB+TXrw== X-Google-Smtp-Source: AGHT+IH6qmRRnudXqNxT7yrmRgyqaW6TF5nIwOwxPMnqsjyHx5BVg1oo8F1LvWgUv4mvH0abmIy/ X-Received: by 2002:a25:6a89:0:b0:dca:e4fd:b6d6 with SMTP id f131-20020a256a89000000b00dcae4fdb6d6mr3832357ybc.61.1708944441165; Mon, 26 Feb 2024 02:47:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708944441; cv=pass; d=google.com; s=arc-20160816; b=pr2TXOLWtfKQ9QIHxXAQ6d3aJkj4ds7peFK21Ed5U0Q47Et50pkOI1DWzS/isS1vrs vF8kzAEnrkEqWM6Zb9ZaktTZ5FaIyLCJVACOiB17ZbaG3wlrQk/xG+0GCIs4qZvBhLmG WUKNUTGLz/s7bsrsLonjvo47UaHG+/bwMO3xwgJZvKf4d5PLu5kabWEz1qS3mUTyb0be LFbmzu8yHtSDZHj9G+z2uzjRNQo6mjzFFivupx0L1uZuvl1I2tndHU9kIZE5VFsh2rwV EdwaB5om+dRJ5Vn0ag3Dd1z9uF/MblYhrMAGy8dGrt1PmPAiAkzZ7SjVXT33NsWzg54y lP2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=UdRawac68NsRIpkX0DLFTtmYohZyLK8/joeMPj7bLS8=; fh=69ZoJHJxXLSCbmD3RlDB9XQmA6YJou4nrxkKzXDNMnw=; b=sgIdb2Lc3sWjBcrpzT3Srdc8dowX0Wxefi9C7hUGoDoo2fOfqupktkrOyMkeRsoSLj CBegyS82I18e9fmDRqTbK7i+Jn6lJ4Xj0Jl7uk8TszTjSY0SKaj6d+VabjJH5ROl/fxk eL0b7f05iC9hugPqs+sADwCiXDfLjj8R+GSHepP0cadg6HamY7oc6uJfDxVJagDuSDng O5+Qb8K9V/6UNsWSTlszZskqOYDQbszgZw58sO0uTdxM7AbvSho8/z1ZcD+rGh96Q2sR fuAwm6oF/HGgWzMHQD430n+Bh4gAN36vLwOljD4uSksu5mLXLWNEHKC7Tdt5P3rd2qKC 9xZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=FqXHb+lo; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-81187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v6-20020a05622a130600b0042e7f4d90absi2754261qtk.429.2024.02.26.02.47.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 02:47:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=FqXHb+lo; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-81187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 E45531C22AC7 for ; Mon, 26 Feb 2024 10:47:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 474314EB3C; Mon, 26 Feb 2024 10:44:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="FqXHb+lo" Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) (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 7B7A04D9E2 for ; Mon, 26 Feb 2024 10:43:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708944241; cv=none; b=pK0awY4L5OVrfqnLE/+6hk1ZZGQsyl4ZjRGw9d9X3dgQflZRKB1u9NT7Yp3qN2Cm/tc0cliCByWzs0qW9rXPoahSD0sdK0O73pmmW3I1WKICj6TYJaxCLPhDzN2dXvABHAN6C+ZIdwST3K06a6CePmV4WBWEc4Ghn5i99tQUcQw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708944241; c=relaxed/simple; bh=oTVCHT4qU7g4uJQlYnjS1KLLqa/CJkpTdvi9fjFBaug=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=k5wgvsBYzIXJezd6/6ql0czxaYX/YZyg7LUVA0+/iacdYWU9nW9C3ziZTy3lhNq2iTURpUInvyNH26sjM0Bo9KfWKe0FR31W+/SQmkIFmAWWz7HeV8+eckusaW67+TLaZm7G18DCtwp5Wmqg5uwYpgXry/Xjt2NfJHxDcjsKQ1g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=FqXHb+lo; arc=none smtp.client-ip=217.70.183.198 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id A1D01C0011; Mon, 26 Feb 2024 10:43:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708944231; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UdRawac68NsRIpkX0DLFTtmYohZyLK8/joeMPj7bLS8=; b=FqXHb+loYX2V8sz6qbAUAD5bKz9BUydI2jRFks41ReC53QA63ku8YMAtM1FZmQJ4Rzowe0 RcvKGvQJQkaeFB92h+OYy8jbJXm/IAcEXBQdYC/S29WY/zVXq0DnbyOr6yuyhDBFSydb+E nEZGgDF3D79h9YMvHHbltEVD4/3Yo1cnxhysT5E27TX6DrGj71w76tKg+aKWayq/Fhcf45 3Uz9MQzQm0djaUS7+zLlFPIRNEJY9GHSrIuGnOWW0uWz6Ttk5zVFyjpq7aYjxOT8JW+6GC XzIbemVaHXpUMxyukWfKmQ6w+EBcBdHy+6XXuqJD8nF17TPDnxkssMB5qDFmjQ== From: Miquel Raynal To: William Zhang , Linux MTD List , Linux ARM List , Broadcom Kernel List Cc: Miquel Raynal , f.fainelli@gmail.com, kursad.oney@broadcom.com, joel.peshkin@broadcom.com, anand.gore@broadcom.com, dregan@mail.com, kamal.dasu@broadcom.com, tomer.yacoby@broadcom.com, dan.beygelman@broadcom.com, Florian Fainelli , David Regan , linux-kernel@vger.kernel.org, Vignesh Raghavendra , Brian Norris , Richard Weinberger Subject: Re: [PATCH v6 13/13] mtd: rawnand: brcmnand: Support write protection setting from dts Date: Mon, 26 Feb 2024 11:43:48 +0100 Message-Id: <20240226104348.489295-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240223034758.13753-14-william.zhang@broadcom.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'07bd260f0ee819be566a479d703a00452eb2cc7b' Content-Transfer-Encoding: 8bit X-GND-Sasl: miquel.raynal@bootlin.com On Fri, 2024-02-23 at 03:47:58 UTC, William Zhang wrote: > The write protection feature is controlled by the module parameter wp_on > with default set to enabled. But not all the board use this feature > especially in BCMBCA broadband board. And module parameter is not > sufficient as different board can have different option. Add a device > tree property and allow this feature to be configured through the board > dts on per board basis. > > Signed-off-by: William Zhang > Reviewed-by: Florian Fainelli > Reviewed-by: Kamal Dasu > Reviewed-by: David Regan Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel