Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2089412pxb; Fri, 25 Mar 2022 10:54:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9FlQK7OJmOu/DPPqXLWOj1luiLuSHxUu8tko4v5jW/I1C3vmN018nhqbxHHBu0aQ9T6Gq X-Received: by 2002:a17:90a:d3d1:b0:1bb:fdc5:182 with SMTP id d17-20020a17090ad3d100b001bbfdc50182mr26325585pjw.206.1648230848481; Fri, 25 Mar 2022 10:54:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1648230848; cv=pass; d=google.com; s=arc-20160816; b=0RvxqyeHFaLFJtyu+A9L2KpASbKH4ekJEM28GeQjpDxXyPAvOPOSXIP3k7uPQCJ9R+ +5KcA18TlSKZ5x03NfHBDJ/6r4qh2Wfgy56uWkmVLfuc2tfaqw4Ed51/5URjl2axrMbQ HqLbAFTSM1CZ9GCW7E8uZEyZcL3gcrOSITnvTMY12FRChc7uwA8JDaoUz5wWgYeDi4ik K3HgXWwQ0H2pISvIKRIA6R1sDilTvNGB4FlTHt1SIYlt/c5VePangLyflLz0BRIuzVmO Xhpy24ve45Ni0wv7ly0knAbGfZTZ4JDDXix/UHxc62q46L/DhYtQ6JgaYce5IjpPBq+j OcjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MB2kLQd9YZGqlvuEMU9PXqdkzW5R/vw0HsPJ6bdSse4=; b=tpmFAo9zGnPtQp4z9eI1UtpVjqdozik15wNAZiCUw7r6I0JZwsDr8JKxnl9dCeq1H4 6Xhy9j6rCQx6M3hg9r4yQ2CU/lXOb1igHSbkSOtSSaky0aO/E2Tu3TvBbt2aurEI8+bB 7WUZBM847h3m04p4HOJhJwattHZt6nZghUWa5HiFsLEL9mhpaXupaVO0D4bYAOeFWLy5 S1zT+l2hKFf3p+Y8BpZr0l3OFQxXH4CvWbT8fajtNp3hwQ6A3BpEg5Rbfv1GLJOTKJQ0 mkO67LkaAf30ucICa1WBFbRO4IFrkFcvVcoAWUJOjFJUDjGsO/1HhusRBnieycXCEjkJ /hFg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@in.bosch.com header.s=selector1 header.b=WYUmbtQd; arc=pass (i=1 spf=pass spfdomain=in.bosch.com dmarc=pass fromdomain=in.bosch.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=in.bosch.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bf15-20020a656d0f000000b00381fa9dc403si3194945pgb.679.2022.03.25.10.54.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 10:54:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@in.bosch.com header.s=selector1 header.b=WYUmbtQd; arc=pass (i=1 spf=pass spfdomain=in.bosch.com dmarc=pass fromdomain=in.bosch.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=in.bosch.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6B04C7C78D; Fri, 25 Mar 2022 10:34:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354461AbiCYKIu (ORCPT + 99 others); Fri, 25 Mar 2022 06:08:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358651AbiCYKIf (ORCPT ); Fri, 25 Mar 2022 06:08:35 -0400 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00085.outbound.protection.outlook.com [40.107.0.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7F16D0805; Fri, 25 Mar 2022 03:06:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bkUPXuWYKCTJ3oS7T97QhdW7Zu7H3JJIxYtugmS/vzys46OtCE2gwijttDN0v7jmRYzEtYCYFx/zAhu//KHBEGmt0DQ/pFKmMJFFtKMxom2eZoGn6Oj4cAmpe4TzrsdCefHocwf7/T4pDxZ3EdzBkFT8sO3BHmDHrMDLLJqW+3BC+ZtGbd2MqkQij5uxdddTV6N4y+0xruXstXZARdGwQknJ/lK3u9VkBCp6qPLvJBoVOwbteACy4/an35m+jh0OpCaZnz8pdLGOexB4LyTXtjjN8d+PjUuJlblyX+EZ+GfinNpTNlkPqSohWRnnFNQLASLyFhsyueXO0TKmzY/ECg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MB2kLQd9YZGqlvuEMU9PXqdkzW5R/vw0HsPJ6bdSse4=; b=Ux7vusNv8KjRMaFsZMnz6wf6bSKvsSJarEHb5UgwRvfvk2i8ijwA3EgXdSRCkFIS3wTgB+HWkzioyrkbl0nrX7G45KbjlT7z+GWBl65VncQ3GiPcwIoeDzAztpA4/EqsBwc/Mg/z75jd6Z0AOtpDmUPAb/badvA/B3fzdu1vrNfxBEn487oQynsERkgoiyn3TQ48BmmiNC7JK+azwLhbWfTtWKaKXHduJyw7j+yAMgVUg+xc8LsTmJIsaE+SnufaUES2PcYLzQs80q0tSabffq7hEvwz+wcGRQGpODexPMAAvpnYYK0EbS8gOntTM3Wq2NHKMa+zgel9taqqcIbrKw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.199) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=in.bosch.com; dmarc=pass (p=reject sp=none pct=100) action=none header.from=in.bosch.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=in.bosch.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MB2kLQd9YZGqlvuEMU9PXqdkzW5R/vw0HsPJ6bdSse4=; b=WYUmbtQdQnQeFaSC0Fw+Il3/AJ3hHHfTsmCqRl8i1N8IhCsveOyxkUljbEKz+CZ4F8KfPl+d/9LciBDQOLGmZt9acqsTgWItgaLfFL/YK475eeIQVTCPm4BttaGaGSxRIW1Dbqv7iPE1nmn9Qpg7CYJrd/eN8WX8kK7jkPOgQnc= Received: from DU2PR04CA0022.eurprd04.prod.outlook.com (2603:10a6:10:3b::27) by DB8PR10MB3513.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:140::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.18; Fri, 25 Mar 2022 10:06:55 +0000 Received: from DB5EUR03FT044.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:3b:cafe::fe) by DU2PR04CA0022.outlook.office365.com (2603:10a6:10:3b::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.17 via Frontend Transport; Fri, 25 Mar 2022 10:06:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.199) smtp.mailfrom=in.bosch.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=in.bosch.com; Received-SPF: Pass (protection.outlook.com: domain of in.bosch.com designates 139.15.153.199 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.199; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.199) by DB5EUR03FT044.mail.protection.outlook.com (10.152.21.167) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.18 via Frontend Transport; Fri, 25 Mar 2022 10:06:55 +0000 Received: from FE-EXCAS2001.de.bosch.com (10.139.217.200) by eop.bosch-org.com (139.15.153.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.24; Fri, 25 Mar 2022 11:06:53 +0100 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by FE-EXCAS2001.de.bosch.com (10.139.217.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.24; Fri, 25 Mar 2022 11:06:52 +0100 Received: from localhost.localdomain (10.167.1.162) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2375.24; Fri, 25 Mar 2022 11:06:50 +0100 From: To: , , , , , CC: , , , , Subject: [PATCH 10/15] ARM: dts: am335x: Guardian: Update backlight parameter Date: Fri, 25 Mar 2022 10:06:08 +0000 Message-ID: <20220325100613.1494-11-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220325100613.1494-1-Gireesh.Hiremath@in.bosch.com> References: <20220325100613.1494-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.167.1.162] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2cd06a8b-226e-41fb-d59d-08da0e47312e X-MS-TrafficTypeDiagnostic: DB8PR10MB3513:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0iCTLP3j4HzEHS9x274pcHfTpuKoZy1Eo+HnkvCamkBndnbUp4/HpkjxwtV2OcDGWTVmkymr37KajiNwn9Dg2mUu33WvTlTuJ+GbPaY+JRgKvYgF6xzCzEP8HDvDNlyzf4ziEC/4beTvfDu0VNoo+Jc5uf8t/PmqK4Ly4VxpxciNig3cATQFgGugw+I+RNSLWD/NY2kAsLv4UTWZgpstlwmcDy0puOkLaTUIz+K58ffRDpvwluUweOs1tZLP0/wv5+nm+7Q4rGcpGHwp/OU0YntBlmgvoAPzUFkVvxhQAGKvZPB11m1Mb9K94W94knsXqfgX9c+wkC0XsIEGSuykXltTe6jYkgBoTfXy/sqJmvXtp8ktjIBskNzSgX/sR3WfPqbebd+U0g5iG3PntM5uD+B2PLQHypBNUifUWzqIBuHWR/GpBFuc2wgaZQNSPZdgrZod2zoNkXYBY0FnRFpzv63SUmhWsR9joKA1Ksqeh8KjuOlkCBdnLQIiqjzFVyaaAe76C850F6DGNOTfbQJHMqAheX3R68yCnWDVZ4Ax/DaWPsrCsYjBNAD1wC94cf+ysaGlsDkdKBBEmhU9XPMmDS/88HqXmXtzjmj+OOUi4KIKx5ckoezX8eFRBhBifCRL42uLT+/Xxb03RzJoAQshJQqNqozZ1yUsUKmo0lw6E3OzeNOO6ZBw6zSfEDm7H0ijTHW1UGDXg4rz6W/PurvxUJsCPqUS6RDjh5Ra0wbtdpaQcmY4XYxc3yKGMsu63EwKIg2SF9le/ZjsL6pBU0AZmDXTDkS2dVoTkibS1Iim1wE= X-Forefront-Antispam-Report: CIP:139.15.153.199;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:eop.bosch-org.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230001)(4636009)(36840700001)(40470700004)(46966006)(107886003)(5660300002)(83380400001)(1076003)(2876002)(16526019)(2906002)(2616005)(966005)(81166007)(82960400001)(8936002)(40460700003)(356005)(26005)(336012)(186003)(15650500001)(82310400004)(508600001)(8676002)(47076005)(110136005)(70586007)(4326008)(6666004)(54906003)(70206006)(316002)(36860700001)(86362001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Mar 2022 10:06:55.5868 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2cd06a8b-226e-41fb-d59d-08da0e47312e X-MS-Exchange-CrossTenant-Id: 0ae51e19-07c8-4e4b-bb6d-648ee58410f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0ae51e19-07c8-4e4b-bb6d-648ee58410f4;Ip=[139.15.153.199];Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT044.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR10MB3513 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Gireesh Hiremath * Update default brightness and dimming frequency * Enable current sink, while initialization Signed-off-by: Gireesh Hiremath --- arch/arm/boot/dts/am335x-guardian.dts | 31 +++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/am335x-guardian.dts b/arch/arm/boot/dts/am335x-guardian.dts index 75ac8686091a..fab844815065 100644 --- a/arch/arm/boot/dts/am335x-guardian.dts +++ b/arch/arm/boot/dts/am335x-guardian.dts @@ -291,14 +291,34 @@ #include "tps65217.dtsi" &tps { + /* + * Configure pmic to enter OFF-state instead of SLEEP-state ("RTC-only + * mode") at poweroff. Most BeagleBone versions do not support RTC-only + * mode and risk hardware damage if this mode is entered. + * + * For details, see linux-omap mailing list May 2015 thread + * [PATCH] ARM: dts: am335x-bone* enable pmic-shutdown-controller + * In particular, messages: + * http://www.spinics.net/lists/linux-omap/msg118585.html + * http://www.spinics.net/lists/linux-omap/msg118615.html + * + * You can override this later with + * &tps { /delete-property/ ti,pmic-shutdown-controller; } + * if you want to use RTC-only mode and made sure you are not affected + * by the hardware problems. (Tip: double-check by performing a current + * measurement after shutdown: it should be less than 1 mA.) + */ ti,pmic-shutdown-controller; interrupt-parent = <&intc>; interrupts = <7>; /* NMI */ backlight { isel = <1>; /* 1 - ISET1, 2 ISET2 */ - fdim = <100>; /* TPS65217_BL_FDIM_100HZ */ - default-brightness = <100>; + fdim = <500>; /* TPS65217_BL_FDIM_500HZ */ + default-brightness = <50>; + /* 1(on) - enable current sink, while initialization */ + /* 0(off) - disable current sink, while initialization */ + isink-en = <1>; }; regulators { @@ -408,6 +428,13 @@ >; }; + led_bl_pins: gpio_led_bl_pins { + pinctrl-single,pins = < + /* P9_14, gpmc_a[2].GPIO1[18] (backlight control) */ + AM33XX_IOPAD(0x848, PIN_OUTPUT | MUX_MODE7) + >; + }; + lcd_disen_pins: pinmux_lcd_disen_pins { pinctrl-single,pins = < /* P9_27, mcasp0_fsr.gpio3[19] (lcd_disen) */ -- 2.20.1