From patchwork Mon Jul 15 20:21:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 11044965 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C8A5713B1 for ; Mon, 15 Jul 2019 20:21:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B5ABD28488 for ; Mon, 15 Jul 2019 20:21:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A60C228553; Mon, 15 Jul 2019 20:21:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 291D428488 for ; Mon, 15 Jul 2019 20:21:33 +0000 (UTC) X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by groups.io with SMTP; Mon, 15 Jul 2019 13:21:32 -0700 X-Received: by mail.kernel.org (Postfix) id D57F720C01; Mon, 15 Jul 2019 20:21:31 +0000 (UTC) X-Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6DD9820665 for ; Mon, 15 Jul 2019 20:21:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6DD9820665 X-Received: by mail-lf1-f65.google.com with SMTP id x3so12005511lfc.0 for ; Mon, 15 Jul 2019 13:21:31 -0700 (PDT) X-Gm-Message-State: APjAAAUNcuoG+rCPC+xAXRORKB0k+D6exALEoeCngj83UhKa37E5XNvZ E/oHLvixuwNW6puJPsJez3ySng== X-Google-Smtp-Source: APXvYqwto8+oJFMSqk5I71ZjxP1wmCB1V1rXX/WOgWuB0k6JHXCBv6CuVMboKfddL9hOVFpH/J1AUQ== X-Received: by 2002:a19:f711:: with SMTP id z17mr12375881lfe.4.1563222089627; Mon, 15 Jul 2019 13:21:29 -0700 (PDT) X-Received: from localhost.bredbandsbolaget (c-22cd225c.014-348-6c756e10.bbcust.telenor.se. [92.34.205.34]) by smtp.gmail.com with ESMTPSA id s7sm3302729lje.95.2019.07.15.13.21.28 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 13:21:28 -0700 (PDT) From: Linus Walleij To: Linuxkernel+Patchwork-Soc via Email Integration Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij , stable@vger.kernel.org Subject: [PATCH] ARM: dts: gemini: Set DIR-685 SPI CS as active low Date: Mon, 15 Jul 2019 22:21:01 +0200 Message-Id: <20190715202101.16060-1-linus.walleij@linaro.org> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1563222092; bh=VzJcsXLrF1Ae1K6cFoYVVw2zMh3S+MtxRLk/emmLbg8=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=g5QkMlwd7JG0TdpxEEc/CnftDDBHUVTpvdzuMo3+Ls+epxV6BGu8js6aQLEmOofClSM uqjlMUVBTl2wgg62TId9DIOr3APopiRUoY7u08/Kz8DFcIUiVZtFMBIrOFrOim9Q3f+Uc 488WLFgFl/TswOXtGr9ruwRdSP3uN7ocE+o= X-Virus-Scanned: ClamAV using ClamSMTP The SPI to the display on the DIR-685 is active low, we were just saved by the SPI library enforcing active low on everything before, so set it as active low to avoid ambiguity. Cc: stable@vger.kernel.org Signed-off-by: Linus Walleij --- ARM SoC folks: please apply this directly to fixes. --- arch/arm/boot/dts/gemini-dlink-dir-685.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/gemini-dlink-dir-685.dts b/arch/arm/boot/dts/gemini-dlink-dir-685.dts index 3613f05f8a80..bfaa2de63a10 100644 --- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts +++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts @@ -64,7 +64,7 @@ gpio-sck = <&gpio1 5 GPIO_ACTIVE_HIGH>; gpio-miso = <&gpio1 8 GPIO_ACTIVE_HIGH>; gpio-mosi = <&gpio1 7 GPIO_ACTIVE_HIGH>; - cs-gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>; + cs-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; num-chipselects = <1>; panel: display@0 {