From patchwork Tue Jun 19 22:41:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10475629 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7E9F560230 for ; Tue, 19 Jun 2018 22:41:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D28328732 for ; Tue, 19 Jun 2018 22:41:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6004A287A7; Tue, 19 Jun 2018 22:41:43 +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=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0CD8F28732 for ; Tue, 19 Jun 2018 22:41:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754071AbeFSWlm (ORCPT ); Tue, 19 Jun 2018 18:41:42 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:50976 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753486AbeFSWll (ORCPT ); Tue, 19 Jun 2018 18:41:41 -0400 Received: by mail-it0-f68.google.com with SMTP id u4-v6so2796186itg.0 for ; Tue, 19 Jun 2018 15:41:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=cBvsi2DqHG8epdXhAmTgkFFe9a/vY+k8psfh1fOSOi4=; b=UWegPCejOJeva6AO83zxoXikQ607FQqPbd8lcCw/jtvj6I0C/NI3G4XoXrASnqv8nN 6ckzWuiAgrI147+fQorMEclO+XjkyRj4rhYgfY8+IRjNH84BUfXMIkWhzGc80O9nFsAf Njlo0FRmBnj105d48nlGXwzHy7hLdWy+2/Ntg3LjPNVKJeYPSivAJhg7wPiYJ6k3XzGp LtBL16IQIKqhjI4IfkhHpeUpmqsqNGq/cArzEvLFMXWcGxceBeRI5NjsvDuNLH73kdZ1 r75FySIuQ016L+cmGkjCYN8jT2FY77ED69cDDUr8I1qD6jTn0xD8qL3Zbl2bm+lQu1gX 7WIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=cBvsi2DqHG8epdXhAmTgkFFe9a/vY+k8psfh1fOSOi4=; b=N2FcpHAXtE9aDnpHed8CF0LWZKUxsKJj3xLFbOctDeYVvZvCUyn1PqZePqcavbKcrg rXCH+w+LjQNXHPPX3OoN0WbN7/uOpdPcTLoELGBCljhc6fKp+Bah55TzncAr/fBGdcMr XWuUR/lmpxCRJZJvHuJLwEhgvgjN7DaACxvUZkHPRbgbV74Ph23nvsxZTqFHqGfahMOs ksuRbUDJfZ28wlegj/DtrN7zFJy7s1tH/q08TQpGOe//W6wj6WtLXfMUv1hj2hui5yk8 fuwAxl/Sgmlt8hPaz1it0G7+49ZMCcMlt7GEWOoK9H4DUQYJP7ZVENif60+1EKroJFBZ wRug== X-Gm-Message-State: APt69E2qCwC7mCYd1MOkTOqZqQLfOiU6XTeEf9JfqOChHTJidcryFybb H0ZwQ8o7VdASujRjj9aJLXv/+g== X-Google-Smtp-Source: ADUXVKKUbypgTG/ZEHjWosEiqiV5vs+fx91kgm3p+P3CxuBauC4l/gC4STKupCAzlWV4mQYTsJJJ9A== X-Received: by 2002:a02:6001:: with SMTP id i1-v6mr15534730jac.5.1529448100270; Tue, 19 Jun 2018 15:41:40 -0700 (PDT) Received: from localhost.localdomain (c-73-65-120-235.hsd1.mn.comcast.net. [73.65.120.235]) by smtp.gmail.com with ESMTPSA id e6-v6sm341961iog.7.2018.06.19.15.41.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 15:41:39 -0700 (PDT) From: Adam Ford To: linux-omap@vger.kernel.org Cc: adam.ford@logicpd.com, Adam Ford Subject: [PATCH] ARM: dts: am3517-evm: Create dummy regulator to squelch noise Date: Tue, 19 Jun 2018 17:41:31 -0500 Message-Id: <20180619224131.25497-1-aford173@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There are several peripherals who generate some extra noise when they don't have a regulator assigned to them. This patch creates a dummy regulator to reduce the noise. Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts index d7eb6ad76c29..0d56c3f56a6d 100644 --- a/arch/arm/boot/dts/am3517-evm.dts +++ b/arch/arm/boot/dts/am3517-evm.dts @@ -31,6 +31,13 @@ regulator-max-microvolt = <3300000>; }; + dummy_reg: dummy_reg { + compatible = "regulator-fixed"; + regulator-name = "dummy_reg"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + gpio-keys { compatible = "gpio-keys-polled"; poll-interval = <100>; @@ -127,7 +134,7 @@ status = "okay"; pinctrl-names = "default"; enable-gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>; /* gpio176, lcd INI */ - + vcc-supply = <&dummy_reg>; port { lcd_in: endpoint { remote-endpoint = <&dpi_out>; @@ -154,6 +161,7 @@ bl: backlight { compatible = "pwm-backlight"; pinctrl-names = "default"; + power-supply = <&dummy_reg>; pinctrl-0 = <&backlight_pins>; pwms = <&pwm11 0 5000000 0>; brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; @@ -203,6 +211,7 @@ reg = <0x21>; gpio-controller; #gpio-cells = <2>; + vcc-supply = <&dummy_reg>; }; };