From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751436AbeA2RSz (ORCPT ); Mon, 29 Jan 2018 12:18:55 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:43692 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751072AbeA2RSx (ORCPT ); Mon, 29 Jan 2018 12:18:53 -0500 X-Google-Smtp-Source: AH8x2261VWvepKUZDk3URqvguv1HFAEFDW2oaDCMdDPVAltsS5I3tHEh6Z8Uqm+gkYGUVCu4VyUGWw== Date: Mon, 29 Jan 2018 11:18:51 -0600 From: Rob Herring To: Masahiro Yamada Cc: linux-mmc , Wolfram Sang , Ulf Magnusson , Geert Uytterhoeven , Simon Horman , Yoshihiro Shimoda , Linux-Renesas , devicetree@vger.kernel.org, Linux Kernel Mailing List , Mark Rutland , Ulf Hansson Subject: Re: [PATCH v3 11/16] mmc: tmio: deprecate "toshiba,mmc-wrprotect-disable" DT property Message-ID: <20180129171851.rlraudj2bq7irmdw@rob-hp-laptop> References: <1516206496-16612-1-git-send-email-yamada.masahiro@socionext.com> <1516206496-16612-12-git-send-email-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 18, 2018 at 10:58:36AM +0900, Masahiro Yamada wrote: > 2018-01-18 1:28 GMT+09:00 Masahiro Yamada : > > This property is equivalent to "disable-wp" defined in > > Documentation/devicetree/bindings/mmc/tmio_mmc.txt > > This is mistake. > > "disable-wp" is defined in > > Documentation/devicetree/bindings/mmc/mmc.txt > > > > > > The TMIO MMC core calls mmc_of_parse(), and it sets > > MMC_CAP2_NO_WRITE_PROTECT if "disable-wp" property is present. > > > > We do not need a vendor-specific property to do the same thing. > > > > Let's remove the description from the dt-binding to prevent new boards > > from using it. > > > > I am keeping the driver code for existing DT files, but added > > comments that this is deprecated. > > > > Signed-off-by: Masahiro Yamada > > --- > > > > Changes in v3: > > - newly added > > > > Changes in v2: None > > > > Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 1 - Other than the above, Acked-by: Rob Herring > > drivers/mmc/host/tmio_mmc_core.c | 5 +++++ > > 2 files changed, 5 insertions(+), 1 deletion(-)