Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1012171rdh; Sun, 24 Sep 2023 23:48:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH+MsjJ75W7DHQqfEzRWyXO2C6vVsXzHNpK9dKDZmGe2SOLVc5BT7EoIB2boLh5rHoq9b41 X-Received: by 2002:a05:6a20:1386:b0:157:b9e1:c82f with SMTP id hn6-20020a056a20138600b00157b9e1c82fmr3727811pzc.35.1695624484884; Sun, 24 Sep 2023 23:48:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695624484; cv=none; d=google.com; s=arc-20160816; b=a0DwIbkQvtHoN0HAbm7QGSGyfAof5N0ezARMDgB71nmyGQ9EZ3LoY0OlP1Y5m5fzdB G1In7CToI0P98mVrQ+c0AQ2hLCDCEBUUq+3B9rdQiogdMd5R93jeFlCwAeg5T4UUJOpJ TG5bP+H5E7DbwZ8CUAzTqE8qKjJCWl9k2wgpHh2+n2nhizULRBVxRGrlUkkugos+jjeO dyzSDGSyh1q11be3kRd+p8r1Qxy2Z28MidNGCqcYcTRjRWdDFq3emP+8eB7+/heEUPDM spjnS64MsSDJtzBge3Dbmouzpa3uI28L4fPHrqR+FPS7X2cf9aOdc5VIHq8DyQ0UHXhc dRVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=m/CGTipvVjSZ3BP+G1gXdYpyR8CRzYcGoUaEJ1H1ROo=; fh=KWt40Yeuz8r6vOxTDwYUWnKPkIZZbWgPXyOLVfAfTuQ=; b=ug2E+3YWLMg98Sop3FZALeT6dlBWs3ssPOYyUcE4Zd1y0ltC2NKnbsXebb/2TDeASZ K+Dd3+gU+5keKNoxveyDyW7FaVUu2/Cjerj/y/lBbjX86LAHDajCm/PPIUmfmCzpyo4y PC5LkS3Tpyg3BZF5xAdfClrdmFCRnQ4M44oJYbayEikvhM6vGzR9l8dxyxEdt7ELXkjG S8I1M+3mZQIAVRUN1+8mFNYA18wLTEkt9mcw30u3lKtKTbxAqbxToOj5x2MfC30rFmZU rhtodXlfmKqDMH+vLxd29OoLQ6qZo2HzE1eKfI50nvGLm2VZX2cfJ+LGFr+MhxokyPV8 ei+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=cH1nibGs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id l4-20020a170902f68400b001bbb175a81asi9890209plg.263.2023.09.24.23.48.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 23:48:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=cH1nibGs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 6C5E7801F9BE; Sun, 24 Sep 2023 18:44:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231591AbjIYBok (ORCPT + 99 others); Sun, 24 Sep 2023 21:44:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbjIYBok (ORCPT ); Sun, 24 Sep 2023 21:44:40 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC8C8BD for ; Sun, 24 Sep 2023 18:44:33 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4053c6f0db8so44436675e9.3 for ; Sun, 24 Sep 2023 18:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1695606272; x=1696211072; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=m/CGTipvVjSZ3BP+G1gXdYpyR8CRzYcGoUaEJ1H1ROo=; b=cH1nibGsEno7h53G+HUXEX5DY7YxWwe8icKDDNkvLsmIHNHnSCgf83RsN2ovsBNdp1 jCQ5TKOWTgC5TbwESp06TSMaS0dcY3gS/RJNc+RITyNDfJLb+syN5xXT0X3nROTZfV2A waN8NNhtxQ6rWvkk+qPna2/+l2RMpqrcu+kgKF26UdOUnBCjezvopykY3wvS3Jn2m5eH 90JZnKpKYFwCp57pnbnHVxDx16cFxK1v5wT0hkaBAUbVzjiBKxsrjihNscfS7sYj6yMZ Tc4MGs+WkVDNwMx+Iqp/7cbz1NQKgbEYl7Vf0dv9i1QtwEDpZNMh/OCdtnh5nx2d6XGA mcMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695606272; x=1696211072; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m/CGTipvVjSZ3BP+G1gXdYpyR8CRzYcGoUaEJ1H1ROo=; b=ejwl98ZVqI9qVYO1NrPoE/webx9IrBXAz+gFky7T6ifhtbCfgffDeXAcAeAG/MUODi YgCnrDc52RYo8j/mjy0x7h6ls9+BpqhuNfdB9arUhNx5ckbQAmPDCp6p03GzN4Dj1G/x yP78yZF7V75WZ4pJiBdsqzNFkCqfPbuaEkQPTI4suG8Psk+NgdctcUJBgqfzMVC5u0K6 MXabHuVWkYurfe1FD7mKyCgouGaxSziN0JRtenmPvClvqd6+PPHFMW35OxFbhPiRIKpN wqwUq/xIhMKtdV6IYUQlG+g+PUKkS0y3RuTNEDoKqK+0zpQ2rpIC3osxHHXM0DlBxDnD pbTg== X-Gm-Message-State: AOJu0YzwXgVfsIKvBQNz0cBzLrVBbZg/qLiSq97257J2oBElpCq+0CS8 ZrtlDzhLuy2oZSl/WU+WQA5OXHsuR/gEDVwA1uLjJw== X-Received: by 2002:adf:ec4b:0:b0:313:f4e2:901d with SMTP id w11-20020adfec4b000000b00313f4e2901dmr5880997wrn.22.1695606271729; Sun, 24 Sep 2023 18:44:31 -0700 (PDT) MIME-Version: 1.0 References: <20230919024943.3088916-1-tylor_yang@himax.corp-partner.google.com> <20230919024943.3088916-2-tylor_yang@himax.corp-partner.google.com> <20230919-70b2f1e368a8face73468dfa@fedora> <20230919-cc4646dbfb953bd34e05658c@fedora> <20230922-unclothed-bottom-5531329f9724@spud> <20230922-removable-footwork-f1d4d96d38dd@spud> In-Reply-To: <20230922-removable-footwork-f1d4d96d38dd@spud> From: yang tylor Date: Mon, 25 Sep 2023 09:44:21 +0800 Message-ID: Subject: Re: [PATCH V2 1/2] dt-bindings: input: Introduce Himax HID-over-SPI device To: Conor Dooley Cc: dmitry.torokhov@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jikos@kernel.org, benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, poyuan_chang@himax.corp-partner.google.com, hbarnor@chromium.org, "jingyliang@chromium.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 24 Sep 2023 18:44:41 -0700 (PDT) On Fri, Sep 22, 2023 at 11:31=E2=80=AFPM Conor Dooley wr= ote: > > On Fri, Sep 22, 2023 at 05:43:54PM +0800, yang tylor wrote: > > On Fri, Sep 22, 2023 at 5:22=E2=80=AFPM Conor Dooley = wrote: > > > > > > On Fri, Sep 22, 2023 at 03:56:25PM +0800, yang tylor wrote: > > > > On Tue, Sep 19, 2023 at 7:09=E2=80=AFPM Conor Dooley wrote: > > > > > On Tue, Sep 19, 2023 at 05:31:29PM +0800, yang tylor wrote: > > > > > > > > > The behavior of "himax,boot_time_fw_upgrade" seems not stable a= nd > > > > > > should be removed. "himax,fw_in_flash", I use the kernel config= for > > > > > > user to select. > > > > > > > > > > That seems like a bad idea, we want to be able to build one kerne= l that > > > > > works for all hardware at the same time. > > > > > > > > > I see, so I should take that back? > > > > I'll explain more about it. > > > > > > Are there particular ICs where the firmware would always be in flash = and > > > others where it would never be? Or is this a choice made by the board= or > > > system designer? > > > > > Most cases it's about the system designer's decision. But some ICs may = be forced > > to use flash because of its architecture(multiple IC inside, need to > > load firmware to > > multiple IC's sram by master IC). But if there is no limitation on > > this part, most system > > designers will prefer flashless. > > Forgive me if I am not understanding correctly, there are some ICs that > will need to load the firmware from flash and there are some where it > will be a decision made by the designer of the board. Is the flash part > of the IC or is it an external flash chip? > Both are possible, it depends on the IC type. For TDDI, the IC is long and thin, placed on panel PCB, flash will be located at the external flash chip. For the OLED TP, IC is usually placed at FPC and its flash is embedded, thus the IC size is large compared to TDDI. But from the driver's perspective either external flash or embedded flash, the IC itself will load firmware from flash automatically when reset pin is released. Only if firmware is loading from the host storage system, the driver needs to operate the IC in detail. > Cheers, > Conor. Thanks, Tylor